Back to Skills

finish-feature

verified

Complete and merge feature branch

View on GitHub

Marketplace

frad-dotclaude

FradSer/dotclaude

Plugin

gitflow

development

Repository

FradSer/dotclaude
203stars

gitflow/skills/finish-feature/SKILL.md

Last Verified

January 24, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/FradSer/dotclaude/blob/main/gitflow/skills/finish-feature/SKILL.md -a claude-code --skill finish-feature

Installation paths:

Claude
.claude/skills/finish-feature/
Powered by add-skill CLI

Instructions

## 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 and resolve any failures.
6. Identify target integration branch for the active workflow (often `develop`).
7. Merge into the integration branch (often with `--no-ff`), then delete `feature/$FEATURE_NAME` locally and remotely when appropriate.

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
703 chars