aboutsummaryrefslogtreecommitdiff
path: root/.claude/commands/finish-branch.md
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-06 06:38:24 -0500
committerCraig Jennings <c@cjennings.net>2026-05-06 06:38:24 -0500
commitd4ff742e42832e889a4a3b10f6e8820f0a738010 (patch)
tree42b4be08aaf479df7a29cf7e94db374356af56c3 /.claude/commands/finish-branch.md
parentaa6924591127970d3241ab6b1a50f4bab457da27 (diff)
downloadrulesets-d4ff742e42832e889a4a3b10f6e8820f0a738010.tar.gz
rulesets-d4ff742e42832e889a4a3b10f6e8820f0a738010.zip
fix(commands): drop leftover name: frontmatter from converted commands
The conversion commit ran sed -i to strip the name: line, but the staged version from git mv was captured before the sed ran. Result: the commit shipped the original frontmatter, and the sed cleanup was sitting in the working tree. This commit lands the cleanup that should have been in aa69245.
Diffstat (limited to '.claude/commands/finish-branch.md')
-rw-r--r--.claude/commands/finish-branch.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/.claude/commands/finish-branch.md b/.claude/commands/finish-branch.md
index 0903010..b65a7f0 100644
--- a/.claude/commands/finish-branch.md
+++ b/.claude/commands/finish-branch.md
@@ -1,5 +1,4 @@
---
-name: finish-branch
description: Complete a feature branch with a forced-choice menu of outcomes (merge locally / push + open PR / keep as-is / discard). Runs verification before offering options (tests, lint, typecheck per the project's conventions — delegates to `verification.md`). Requires typed confirmation for destructive deletion (no accidental work loss). Handles git worktree cleanup correctly: tears down for merge and discard, preserves for keep and push (where the worktree may still be needed for follow-up review or fixes). References existing rules for commit conventions (`commits.md`), review discipline (`review-code`), and verification (`verification.md`) — this skill is the workflow scaffold, not a re-teach of the underlying standards. Use when implementation is complete and you need to wrap up a branch. Do NOT use for mid-development merges (that's normal git flow), for the wrap-up *of a whole session* (different scope — session-end is narrative + handoff, not branch integration), for creating a new branch (no skill for that — just `git checkout -b`), or when review hasn't happened yet (run `/review-code` first, then this).
---