askill
finish

finishSafety 80Repository

Complete current git-flow branch (feature, release, or hotfix)

0 stars
1.2k downloads
Updated 2/10/2026

Package Files

Loading files...
SKILL.md

Finish Branch

Complete the current git-flow branch.

Usage

/gitmastery:finish        # Auto-detect branch type
/gitmastery:finish --tag  # For release/hotfix with tag

Workflow

1. Detect Context

git branch --show-current
git status --short

2. Execute Based on Type

Feature/Bugfix:

git flow finish  # Merges to develop, deletes branch

Release/Hotfix:

SKIP=no-commit-to-branch,conventional-commit git flow finish --tag -m "v<version> - Release notes"

Note: The SKIP env var bypasses pre-commit hooks that would reject the merge commit. This is safe because:

  • The merge is mechanical (no new code changes)
  • All code was already validated when committed to the release branch
  • The no-commit-to-branch hook blocks commits to main/develop
  • The conventional-commit hook may reject merge commit messages

3. Push Changes

git push origin develop
git push origin main --tags  # For release/hotfix

Branch Actions

Branch TypeFinish Action
feature/*Merge to develop
bugfix/*Merge to develop
release/*Merge to main + develop, create tag
hotfix/*Merge to main + develop, create tag

Pre-finish Checklist

Present via AskUserQuestion:

  • All tests pass
  • Changelog updated
  • No uncommitted changes
  • Ready to merge

Conflict Resolution

If conflicts occur:

  1. Resolve manually
  2. git add <resolved-files>
  3. git flow finish (retry)

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

80/100Analyzed 2/20/2026

Well-structured git-flow branch completion skill with clear workflow steps, branch action table, and safety explanations. The SKIP env var justification is thoughtful. Minor扣分 for depth >4 path and somewhat mismatched tag, but overall high quality actionable content.

80
85
70
75
85

Metadata

Licenseunknown
Version-
Updated2/10/2026
Publisherjugrajsingh

Tags

github-actions