claude/skills/git-flow/SKILL.md
This skill MUST be invoked when the user says "git flow", "git-flow", "branch aç", "feature başlat", "feature start", "bugfix", "hotfix", "release branch", "branch oluştur", "create branch" or any variation requesting git branch workflow management. SHOULD also invoke when user mentions "finish branch", "merge feature", "complete hotfix", or asks to follow git-flow branching strategy. Manages git branches following a structured workflow with automatic base branch detection and strict validation rules.
npx skillsauth add kilimcininkoroglu/cli-tweaks git-flowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage git branches following a structured workflow with strict validation.
/git-flow feature <name> # Create feature branch from development
/git-flow bugfix <name> # Create bugfix branch from development
/git-flow hotfix <name> # Create hotfix branch from master/main
/git-flow release <version> # Create release branch from development
/git-flow finish # Merge current branch to appropriate target
/git-flow status # Show current branch status and rules
| Branch Type | Base Branch | Merge Target | Additional | |-------------|-------------|--------------|------------| | feature/* | development | development | - | | bugfix/* | development | development | - | | hotfix/* | master/main | master/main | Also merge to development | | release/* | development | master/main | Also merge to development + tag |
CRITICAL: If attempting to create a branch from wrong base, STOP and show error. Do NOT proceed.
Before any operation, gather repository context:
git status # Current state
git branch -a # All branches (local + remote)
git branch --show-current # Current branch name
git remote -v # Remote configuration
Detect production and development branches automatically:
Production branch (in order of priority):
master if existsmain if existsDevelopment branch (in order of priority):
development if existsdevelop if existsdev if existsCreate a new feature branch from development branch.
# Validation
1. Check current branches exist
2. Verify development branch exists
3. Ensure not already on a feature branch with same name
# Execution
git checkout <development-branch>
git pull origin <development-branch>
git checkout -b feature/<name>
Example: /git-flow feature user-authentication
Creates: feature/user-authentication from development
Create a new bugfix branch from development branch.
# Validation
1. Check current branches exist
2. Verify development branch exists
# Execution
git checkout <development-branch>
git pull origin <development-branch>
git checkout -b bugfix/<name>
Example: /git-flow bugfix fix-login-error
Creates: bugfix/fix-login-error from development
Create a new hotfix branch from production branch (master/main).
# Validation
1. Check current branches exist
2. Verify production branch exists
# Execution
git checkout <production-branch>
git pull origin <production-branch>
git checkout -b hotfix/<name>
Example: /git-flow hotfix critical-security-patch
Creates: hotfix/critical-security-patch from master
Create a new release branch from development branch.
# Validation
1. Check current branches exist
2. Verify development branch exists
3. Validate version format (should start with v or be semver)
# Execution
git checkout <development-branch>
git pull origin <development-branch>
git checkout -b release/<version>
Example: /git-flow release v1.2.0
Creates: release/v1.2.0 from development
Merge current branch to appropriate target(s) based on branch type.
# Detection
1. Get current branch name
2. Determine branch type (feature/bugfix/hotfix/release)
3. Identify merge target(s)
# Execution varies by type:
| Current Branch | Actions | |----------------|---------| | feature/* | Checkout development → Merge feature → Delete feature branch | | bugfix/* | Checkout development → Merge bugfix → Delete bugfix branch | | hotfix/* | Checkout master → Merge hotfix → Checkout development → Merge hotfix → Delete hotfix branch | | release/* | Checkout master → Merge release → Tag version → Checkout development → Merge release → Delete release branch |
Before merge:
After merge:
Show current branch information and applicable rules.
git branch --show-current
git log --oneline -5
git status
Output includes:
NEVER proceed if:
| Option | Description |
|--------|-------------|
| --no-checkout | Create branch but stay on current branch |
user-authentication not userAuthentication)v1.2.0)development
This skill MUST be invoked when the user says "version update skill oluştur", "create version update skill", "versiyon skill'i oluştur", "update-version skill", "version-update skill yap" or any variation requesting creation of a project-local version update skill. SHOULD also invoke when user mentions "versiyon güncelleme skill'i kur", "setup version bumping", or asks to automate version management for the current project. Scans the project for version files, build commands, and changelog, then generates a tailored version-update skill in .factory/skills/.
development
This skill MUST be invoked when the user says "task-plan", "görev planla", "break down this PRD", "create tasks from spec", "PRD'yi parçala", "görevleri oluştur" or any variation requesting task breakdown from a specification document. SHOULD also invoke when user mentions "feature breakdown", "sprint planning", "task tracking", or wants to manage a structured development workflow with features and tasks.
testing
This skill MUST be invoked when the user says "commit tarihlerini değiştir", "redate commits", "spread commits", "backdate" or any variation requesting git commit date rewriting across a date range. Rewrites both author and committer dates using git filter-branch, distributing commits realistically across the specified period.
development
This skill MUST be invoked when the user says "UIKit", "iOS geliştirme", "programmatic UI", "table view", "collection view", "Auto Layout", "UIViewController", "UINavigationController", "Core Animation", "UIKit review", "UIKit build", "iOS view controller", "UIKit pattern", "programmatic layout", or any variation requesting UIKit development, review, or improvement. Covers programmatic UIKit with Auto Layout, table/collection views, navigation, animation, networking, architecture, and 20 reference documents with production-ready patterns.