Agent skill
finish-feature
Complete and merge feature branch
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/finish-feature-fradser-dotclaude
SKILL.md
Your Task
- Load the
gitflow:gitflow-workflowskill using theSkilltool to access GitFlow workflow capabilities. - Gather context: current branch, git status, recent commits.
- Normalize the provided feature name from
$ARGUMENTSto$FEATURE_NAME:- Strip a leading
feature/prefix if present - Convert to kebab-case (lowercase, hyphens)
- Strip a leading
- Validate branch follows
feature/*convention and working tree is clean. - Run tests if available. If tests fail, report the failures and exit without merging; the user must fix issues first.
- Update CHANGELOG (Unreleased):
- Ensure changes are documented in the
[Unreleased]section ofCHANGELOG.mdfollowing${CLAUDE_PLUGIN_ROOT}/examples/changelog.md:- Use standard Keep a Changelog sections (Added, Changed, Deprecated, Removed, Fixed, Security).
- Write entries in present/imperative tense using user-facing language.
- Include sufficient context to understand impact; merge repetitive items.
- Commit any CHANGELOG updates using conventional commit format and MUST include the
Co-Authored-Byfooter.
- Ensure changes are documented in the
- Identify target integration branch for the active workflow (often
develop). - Merge into the integration branch (often with
--no-ff), then deletefeature/$FEATURE_NAMElocally and remotely. Skip deletion if the branch is shared or the user requests to keep it.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?