From git-workflow
Git workflow management — use when the user mentions git, conventional commits, commit quality, branch management, worktree operations, GitFlow, changelog generation, semantic versioning, backlog management, or issue tracking integration. NOT for CI/CD pipelines or pipeline YAML (use cicd-pipelines), NOT for workflow orchestration or release automation (use workflow-automation).
npx claudepluginhub viktorbezdek/skillstack --plugin git-workflowThis skill is limited to using the following tools:
A unified skill combining commit management, branch workflows, worktree operations, and story backlog management for professional Git-based development.
assets/commit-templates.jsonreferences/commit-patterns.mdreferences/common-mistakes.mdreferences/conventional-commits.mdreferences/epic-decomposition.mdreferences/examples.mdreferences/gitflow-conventions.mdreferences/orchestrator-workflow-complete.mdreferences/orchestrator-workflow-current.mdreferences/rationales.mdreferences/schema.sqlreferences/slash-commands.mdreferences/sql-queries.mdreferences/workflow-diagrams.mdscripts/analyze-diff.pyscripts/changelog.pyscripts/cleanup_worktrees.shscripts/commit-analyzer.pyscripts/conventional-commits.pyscripts/create_worktree.shCompares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Designs, implements, and audits WCAG 2.2 AA accessible UIs for Web (ARIA/HTML5), iOS (SwiftUI traits), and Android (Compose semantics). Audits code for compliance gaps.
A unified skill combining commit management, branch workflows, worktree operations, and story backlog management for professional Git-based development.
This skill provides complete Git workflow expertise including:
Auto-invoke when user:
<type>(<scope>): <subject>
<body>
<footer>
Types (from Angular convention):
feat - New featurefix - Bug fixdocs - Documentation onlystyle - Formatting, whitespacerefactor - Code change without behavior changeperf - Performance improvementtest - Adding or correcting testschore - Build/tooling changesci - CI/CD changesbuild - Build system/dependenciesrevert - Reverts a previous commitSubject Rules:
Footer:
BREAKING CHANGE: - Breaking changesCloses #N - Closes issue NRefs #N - References issue NCo-authored-by: - Multiple authorsGood commit message:
feat(auth): add JWT token refresh mechanism
Implements automatic token refresh 5 minutes before expiration
to maintain seamless user sessions.
Closes #142
Quality criteria:
Commit size guidelines:
| Command | Action |
|---|---|
/commit | Smart commit helper with auto-analysis |
/validate <msg> | Validate commit message format |
/types | Show all commit types |
/scopes | Explain scopes with examples |
/breaking | Breaking change guide |
/changelog | Generate changelog from commits |
/version | Determine next semantic version |
/examples | Show commit examples |
/fix | Help amend/fix last commit |
When multiple files need committing, group by:
Workflow:
# Analyze all changes
python {baseDir}/scripts/group-files.py --analyze
# Output example:
# Group 1: feat(auth) - 3 impl files, 245 LOC
# Group 2: test(auth) - 2 test files, 128 LOC
# Group 3: fix(api) - 2 files, 15 LOC
Automatic issue detection from:
feature/issue-42 -> #42Issue reference types:
Closes #N - Auto-closes on mergeFixes #N - Same as Closes (for bugs)Refs #N - References without closingProgresses #N - Partial progressBranch Types:
| Type | Pattern | Purpose |
|---|---|---|
| Feature | feature/{name} | New features |
| Fix | fix/{name} | Bug fixes |
| Hotfix | hotfix/{name} | Critical production fixes |
| Release | release/{version} | Release preparation |
Naming Guidelines:
Directory Structure:
project-root/ <- Main repository
project-root-worktrees/ <- Worktree parent
feature/
email-notifications/ <- feature/email-notifications
fix/
login-timeout/ <- fix/login-timeout
Commands:
# Create worktree
./scripts/create_worktree.sh feature email-notifications
# List worktrees
./scripts/list_worktrees.sh --detailed
# Cleanup merged worktrees
./scripts/cleanup_worktrees.sh --merged --dry-run
Benefits:
cd)python {baseDir}/scripts/changelog.py --version 2.0.0
Output format:
## [2.0.0] - 2025-01-18
### BREAKING CHANGES
- **auth**: change token format to JWT (#234)
### Features
- **auth**: add OAuth2 login (#123)
- **api**: add user search endpoint (#145)
### Bug Fixes
- **api**: prevent null pointer in user lookup (#156)
python {baseDir}/scripts/version.py --verbose
Bump rules:
Maintain a self-managing tree of user stories where:
Location: .claude/data/story-tree.db
Pattern: Closure table for hierarchical data
CRITICAL: Use Python's sqlite3 module (NOT sqlite3 CLI):
python -c "
import sqlite3
conn = sqlite3.connect('.claude/data/story-tree.db')
cursor = conn.cursor()
cursor.execute('SELECT * FROM story_nodes')
print(cursor.fetchall())
conn.close()
"
### [ID]: [Title]
**As a** [specific user role]
**I want** [specific capability]
**So that** [specific benefit]
**Acceptance Criteria:**
- [ ] [Specific, testable criterion]
- [ ] [Specific, testable criterion]
**Related context**: [Git commits or patterns]
| Command | Action |
|---|---|
| "Update story tree" | Run full workflow |
| "Show story tree" | Visualize current tree |
| "Tree status" | Show metrics only |
| "Set capacity for [id] to [N]" | Adjust capacity |
| "Mark [id] as [status]" | Change status |
| "Generate stories for [id]" | Force generation |
| "Initialize story tree" | Create new database |
python {baseDir}/scripts/tree-view.py --show-capacity
Status symbols:
| Status | Symbol | Meaning |
|---|---|---|
| concept | . | Idea, not approved |
| approved | v | Human approved |
| epic | E | Needs decomposition |
| planned | o | Plan created |
| in-progress | D | Partially complete |
| implemented | + | Complete/done |
| ready | # | Production ready |
| Script | Purpose |
|---|---|
analyze-diff.py | Analyze staged changes, suggest commits |
validate.py | Validate commit message format |
changelog.py | Generate changelog from commits |
version.py | Calculate next semantic version |
commit-analyzer.py | Full commit quality analysis |
conventional-commits.py | Conventional commits helper |
group-files.py | Intelligent file grouping |
issue-tracker.py | Issue sync and detection |
| Script | Purpose |
|---|---|
create_worktree.sh | Create worktree with GitFlow conventions |
list_worktrees.sh | List all worktrees with status |
cleanup_worktrees.sh | Clean up merged/stale worktrees |
init-environment.py | Initialize GitHub workflow environment |
| Script | Purpose |
|---|---|
tree-view.py | ASCII tree visualization |
references/conventional-commits.md - Full specificationreferences/commit-patterns.md - Patterns and anti-patternsreferences/examples.md - Commit examplesreferences/slash-commands.md - Detailed command workflowsreferences/gitflow-conventions.md - GitFlow referencereferences/schema.sql - Database schemareferences/sql-queries.md - SQL query patternsreferences/common-mistakes.md - Error preventionreferences/rationales.md - Design decisionsreferences/epic-decomposition.md - Epic workflowreferences/workflow-diagrams.md - Visual workflowsreferences/orchestrator-workflow-complete.md - Full orchestrator flowreferences/orchestrator-workflow-current.md - Current workflowassets/commit-templates.json - Template patterns for commit types# Sync issues before committing
python {baseDir}/scripts/issue-tracker.py sync assigned
# Find related issues for staged changes
python {baseDir}/scripts/issue-tracker.py suggest-refs
Common issues:
This skill was merged from:
story-tree---autonomous-hierarchical-backlog-managermanaging-commits-skillgit-commit-assistantgit-workflow-manager-skill