How this command is triggered — by the user, by Claude, or both
Slash command
/dev:finishThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /dev:finish — Complete Development Branch Verify tests. Present options. Execute choice. Clean up. ## Step 1: Verify Tests Run the project's test suite. **Stop if tests fail.** Don't present completion options with broken tests. ## Step 2: Present Options ## Step 3: Execute Choice **Option 1 — Merge locally:** **Option 2 — Create PR:** **Option 3 — Keep as-is:** Report branch name and worktree path. Done. **Option 4 — Discard:** Require typed confirmation first. Show what will be deleted (branch, commits, worktree). ## Step 4: Cleanup Worktree If working in a worktree (fro...
Verify tests. Present options. Execute choice. Clean up.
Run the project's test suite. Stop if tests fail. Don't present completion options with broken tests.
Implementation complete. All tests passing. What would you like to do?
1. Merge back to <base-branch> locally
2. Push and create a Pull Request
3. Keep the branch as-is
4. Discard this work
Option 1 — Merge locally:
git checkout <base-branch>
git pull
git merge <feature-branch>
# Verify tests on merged result
git branch -d <feature-branch>
Option 2 — Create PR:
git push -u origin <feature-branch>
gh pr create --title "<title>" --body "<summary>"
Option 3 — Keep as-is: Report branch name and worktree path. Done.
Option 4 — Discard: Require typed confirmation first. Show what will be deleted (branch, commits, worktree).
git checkout <base-branch>
git branch -D <feature-branch>
If working in a worktree (from /dev:worktree):
git worktree remove <path>)npx claudepluginhub noeljackson/nstack --plugin dev/finishCreates a pull request with comprehensive description following repo best practices, loading config, verifying git state, summarizing changes, gathering user input, pushing branch, and opening PR.
/finishInvokes jig:finish skill to finalize tasks when implementation is complete, all tests pass, and a decision is needed.
/finishRuns the full completion pipeline: verifies build, commits to git, simplifies code, commits again, verifies build, and rebases onto upstream.