git-workflow — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited git-workflow (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Unified skill for commit management, branch workflows, worktree operations, and story backlog management.
Use when:
/commit, /validate, /changelog, /version commandsDo NOT use when:
cicd-pipelinesskillstack-workflows or multi-agent-patternscode-reviewWhat Git workflow task do you need?
├── Write commits
│ ├── Single logical change -> /commit (auto-analyze staged diff)
│ ├── Multiple changed files, unclear grouping -> python scripts/group-files.py --analyze
│ ├── Validate message format -> /validate "feat(auth): add JWT refresh"
│ └── Amend/fix last commit -> /fix
├── Branch management
│ ├── New feature branch -> feature/{name}, use GitFlow conventions
│ ├── New fix branch -> fix/{name}
│ ├── Critical production fix -> hotfix/{name} from main
│ └── Need parallel work -> git worktree (scripts/create_worktree.sh)
├── Release workflow
│ ├── Generate changelog -> python scripts/changelog.py --version X.Y.Z
│ ├── Determine next version -> python scripts/version.py --verbose
│ │ ├── Has BREAKING CHANGE -> major (X.0.0)
│ │ ├── Has feat commits -> minor (0.X.0)
│ │ └── Only fix/other -> patch (0.0.X)
│ └── Clean up merged worktrees -> scripts/cleanup_worktrees.sh --merged
├── Story backlog
│ ├── Initialize tree -> "Initialize story tree"
│ ├── Generate stories -> "Generate stories for [epic-id]"
│ ├── View tree -> python scripts/tree-view.py --show-capacity
│ └── Update from commits -> "Update story tree"
├── Issue integration
│ ├── Sync issues -> python scripts/issue-tracker.py sync assigned
│ └── Suggest refs for staged changes -> python scripts/issue-tracker.py suggest-refs
└── Not a Git workflow question? -> See related skills<type>(<scope>): <subject>
<body>
<footer>Types (from Angular convention):
| Type | Purpose |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation only |
style | Formatting, whitespace |
refactor | Code change without behavior change |
perf | Performance improvement |
test | Adding or correcting tests |
chore | Build/tooling changes |
ci | CI/CD changes |
build | Build system/dependencies |
revert | Reverts a previous commit |
Subject Rules:
Footer:
BREAKING CHANGE: - Breaking changesCloses #N / Fixes #N - Closes issue on mergeRefs #N - References issue without closingCo-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 #142Commit size guidelines:
| Size | LOC | Action |
|---|---|---|
| Tiny | < 10 | Single logical change |
| Small | 10-50 | Typical atomic commit |
| Medium | 50-200 | Feature component |
| Large | 200-500 | Consider splitting |
| Too Large | > 500 | Definitely split |
| 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 LOCAutomatic 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-timeoutCommands:
# 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-runBenefits:
cd)python {baseDir}/scripts/changelog.py --version 2.0.0Output 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 --verboseBump 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-capacityStatus 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 |
| Anti-Pattern | Problem | Solution |
|---|---|---|
| Dumping all changes in one commit | Un-reviewable, un-revertable; hides logical changes | Group by scope/type using group-files.py; one logical change per commit |
| Vague commit messages ("wip", "fix stuff", "updates") | Cannot generate changelog; bisect useless | Use conventional commits: type(scope): imperative subject |
| Non-imperative subject ("added feature") | Inconsistent with conventional commits; reads as past tense | Use imperative mood: "add feature" not "added feature" |
| Missing issue references | No link between code and requirements; lost knowledge | Include Closes #N or Refs #N in commit footer |
| Commit too large (>500 LOC) | Too much surface area for review; hard to revert independently | Split into atomic commits; group-files.py suggests groupings |
| Mixing concerns in one commit (impl + tests + docs) | Hard to revert just tests or just docs; bloats review | Separate: feat commit, test commit, docs commit |
Breaking change without BREAKING CHANGE: footer | Changelog misses breaking changes; version bump wrong | Always document breaking changes in footer; triggers major version |
| Working on main instead of feature branch | No isolation; hard to revert; messy history | Use GitFlow: feature/ for new work, fix/ for bugs, hotfix/ for prod |
| Stashing instead of worktrees | Lost context; stash conflicts; no parallel work | Use git worktree for parallel feature development |
| Missing changelog before release | Manual, incomplete release notes | Run changelog.py auto-generated from conventional commits |
| Guessing version number | Incorrect semver; surprises in release | Run version.py -- auto-calculated from commit types |
| 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-refsCommon issues:
| Issue | Recovery |
|---|---|
| Empty commit message | Generate from changes |
| No staged changes | Prompt to stage |
| Format violations | Suggest correction |
| Missing issue reference | Search and suggest |
| Commit too large | Recommend splitting |
| Database not found | Initialize first |
| Checkpoint rebased | Run full scan |
This skill was merged from:
story-tree---autonomous-hierarchical-backlog-managermanaging-commits-skillgit-commit-assistantgit-workflow-manager-skill~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.