issue-finish

Commits and pushes remaining tracked issue work after validating Done status and artifact cleanup.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/KMakayee/playbook --skill issue-finish-kmakayee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: issue-finish
Source: https://github.com/KMakayee/playbook/tree/main/.claude/skills/issue-finish
Command: npx skills add https://github.com/KMakayee/playbook --skill issue-finish-kmakayee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents partially completed work from lingering after an issue is marked ready, by ensuring the final commit is made and all issue-specific artifacts are removed.

Core Features & Use Cases

  • Issue completion guardrails: Verifies the issue number and hard-stops unless the issue status is Done, avoiding accidental closure of incomplete work.
  • Two-phase git handling: Commits and pushes any remaining real work (with special handling so the pipeline eval index is treated correctly), then creates a separate local cleanup commit without pushing it.
  • Artifact cleanup: Removes issue research/plan artifacts and defensively deletes leftover temp files so the workspace stays tidy for future work.

Use cases: finishing an issue workflow after /issue-implement, wrapping up after /auto-issues, and cleaning up issue artifacts before creating or pushing a PR.

Quick Start

Run issue-finish to commit any remaining completed issue work and clean up the issue artifacts for a finished issue number.

Frequently Asked Questions about issue-finish

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean up issue artifacts and commit remaining work after finishing an issue?

To finish an issue, the workflow verifies the issue status is Done, commits and pushes remaining real work while correctly handling the pipeline eval index, removes issue artifacts, and creates a local cleanup commit without pushing it.

What happens if I try to finish an issue before its status is marked Done?

The issue completion guardrails hard-stop the process if the issue status is not Done, preventing the accidental closure of incomplete work and ensuring only fully validated issues are finalized.

How does git commit handling work when cleaning up a finished issue's worktree?

Git handling uses a two-phase approach: it commits and pushes remaining real work first, then creates a separate local cleanup commit for artifact removal that is intentionally not pushed to the remote repository.

Can I use issue-finish for standalone branches or only worktree-issue-N workflows?

You can use it for worktree workflows named worktree-issue-N, standalone branches after issue implementation, and automated pipelines that generate intermediate tasks, determining the correct issue number from the branch or argument.

Why should pipeline-eval-index not be committed as standalone work during issue completion?

Pipeline-eval-index requires special handling during explicit staging to avoid committing it as standalone work, ensuring only actual remaining issue work is committed and pushed before artifact cleanup begins.

What is the best way to remove leftover temporary files before creating a pull request?

The best way is to run an issue completion workflow that defensively deletes leftover temp files, removes issue research or plan artifacts, and creates a local cleanup commit to keep the workspace tidy.