From gitflow
Finalizes and merges a feature branch into develop using git-flow. This skill should be used when the user asks to "finish a feature", "merge feature branch", "complete feature", "git flow feature finish", or wants to finalize a feature branch.
How this command is triggered — by the user, by Claude, or both
Slash command
/gitflow:SKILL feature-namehaikufinish-feature/This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
## Pre-operation Checks
Verify working tree is clean and current branch matches `feature/*` per `${CLAUDE_PLUGIN_ROOT}/references/invariants.md`.
## Phase 1: Identify Feature
**Goal**: Determine feature name from current branch or argument.
**Actions**:
1. If `$ARGUMENTS` provided, use it as feature name
2. Otherwise, extract from current branch: `git branch --show-current` (strip `feature/` prefix)
## Phase 2: Pre-finish Checks
**Goal**: Run tests before finishing.
**Actions**:
1. Identify test commands (check package.json, Makefile, etc.)
2. Run tests if available; exit if tests fa...Verify working tree is clean and current branch matches feature/* per ${CLAUDE_PLUGIN_ROOT}/references/invariants.md.
Goal: Determine feature name from current branch or argument.
Actions:
$ARGUMENTS provided, use it as feature namegit branch --show-current (strip feature/ prefix)Goal: Run tests before finishing.
Actions:
Goal: Document changes in CHANGELOG.md.
Actions:
[Unreleased] section per ${CLAUDE_PLUGIN_ROOT}/examples/changelog.mdCo-Authored-By footerGoal: Complete feature using git-flow-next CLI.
Actions:
git flow feature finish $FEATURE_NAMEgit branch --show-current (should be on develop)git push origin developnpx claudepluginhub rootial/dotclaude --plugin gitflow/SKILLEnables work verification for a task. Claude completes the work, verifies it, and appends a verified tag before session exit.
/SKILLResolves a GitHub issue by creating an isolated worktree, implementing a TDD fix, and opening a PR with auto-closing keywords.
/SKILLSurfaces the current session task from a state file and evaluates its clarity and completeness. Reports completion status or identifies remaining steps.