Agent skill

finish-feature

Complete and merge feature branch

Stars 163
Forks 31

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

  1. Load the gitflow:gitflow-workflow skill using the Skill tool to access GitFlow workflow capabilities.
  2. Gather context: current branch, git status, recent commits.
  3. Normalize the provided feature name from $ARGUMENTS to $FEATURE_NAME:
    • Strip a leading feature/ prefix if present
    • Convert to kebab-case (lowercase, hyphens)
  4. Validate branch follows feature/* convention and working tree is clean.
  5. Run tests if available. If tests fail, report the failures and exit without merging; the user must fix issues first.
  6. Update CHANGELOG (Unreleased):
    • Ensure changes are documented in the [Unreleased] section of CHANGELOG.md following ${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-By footer.
  7. Identify target integration branch for the active workflow (often develop).
  8. Merge into the integration branch (often with --no-ff), then delete feature/$FEATURE_NAME locally and remotely. Skip deletion if the branch is shared or the user requests to keep it.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results