Validates all release criteria are met before git commit. Auto-activates when users ask if they're ready to commit, what's missing, or request commit validation...
What it does: Validates all release prerequisites are met before committing, eliminating pre-commit anxiety and preventing incomplete releases.
When it activates automatically:
How it helps:
JIT Help Available: For quick reference on pre-commit workflow and troubleshooting, see: Cheat Sheet
1. Version Bumped
2. CHANGELOG Updated
3. Files Synced
4. Git Status Clean
5. Documentation Updated
6. Examples/Templates Updated
User Query:
"Am I ready to commit?"
Confidence: š¢ High (0.94)
Skill Response (All Pass):
ā
Release Readiness: READY TO COMMIT
Critical Checks:
ā
Version bumped (3.3.0 ā 3.4.0)
ā
CHANGELOG updated (v3.4.0 entry present)
ā
Files synced (7 locations verified)
ā
Git status clean (all changes staged)
Recommended Checks:
ā
Skills documented (7 new skills)
ā
README updated
ā
QUICK_REFERENCE updated
All checks passed! āØ
Next step: Review commit message below, then commit.
Suggested commit message:
---
š Release v3.4.0: Workflow Optimization & Learning Stages
Features:
- Add 7 workflow & setup optimization skills
- Create Learning Stages documentation
- Establish progression path (Beginner ā Advanced)
- Reduce commands from 5 to 3
Skills added:
- version-management (maintainer workflow)
- commit-readiness-checker (release validation)
- documentation-sync-checker (consistency)
- workflow-analyzer (git-based meta-skill)
- skill-template-generator (accelerate creation)
- global-setup-assistant (user onboarding)
- project-onboarding-assistant (project setup)
Learning Stages:
- Explicit progression documentation
- Commands graduation guide
- remove-commands.sh script
Token impact: 80,000 tokens/month saved (~$2.40/month, projected)
Documentation updates:
- LEARNING_STAGES.md created
- Commands reduced (5 ā 3)
- All skills documented
Version synced: v3.4.0
š¤ Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---
Execute:
git commit -F /tmp/commit-message.txt
git tag v3.4.0
Why This Matters:
Next Step: After commit, run git tag v3.4.0 to mark release
Skill Response (Some Failures):
ā ļø Release Readiness: NOT READY
Critical Checks:
ā
Version bumped (3.3.0 ā 3.4.0)
ā CHANGELOG updated
Missing: v3.4.0 entry in CHANGELOG.md
Action: Add after line 8 (## [Unreleased])
ā
Files synced (7 locations verified)
ā Git status clean
Issue: Untracked files detected
Files: .claude/skills/new-skill/ (not staged)
Recommended Checks:
ā
Skills documented
ā ļø README updated (partially)
Note: README feature list may need update
BLOCKED: Fix 2 critical issues before committing.
Next steps:
1. Update CHANGELOG.md with v3.4.0 entry
2. Stage untracked files: git add .claude/skills/new-skill/
3. Re-check: Ask "Am I ready to commit?"
User Query:
"What's missing before commit?"
Confidence: š¢ High (0.91)
Skill Response:
Commit Blockers: 1 critical issue
ā CHANGELOG.md not updated
Current: Last entry is v3.3.0
Expected: v3.4.0 entry with features list
Fix:
1. Edit CHANGELOG.md
2. Add entry after ## [Unreleased]:
## [3.4.0] - 2025-12-13
### Added - Workflow Optimization & Learning Stages
[Document features here]
Once fixed, ask: "Am I ready to commit?"
Why This Matters:
Next Step: After fixing, re-run "Am I ready to commit?" for full validation
User Query:
"Draft commit message for v3.4.0"
Confidence: š¢ High (0.89)
Skill Response:
Commit Message for v3.4.0:
Based on CHANGELOG and version.json...
---
š Release v3.4.0: Workflow Optimization & Learning Stages
Features:
- 7 new skills (workflow + setup optimization)
- Learning Stages documentation
- Commands reduction (5 ā 3)
[Full message with all features, skills, token impact]
š¤ Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---
Copy this message or save to file:
echo "[message]" > /tmp/commit-msg.txt
git commit -F /tmp/commit-msg.txt
Why This Matters:
Next Step: Save to file or use directly: git commit -m "..."
User Query:
"Check git status before commit"
Confidence: š¢ High (0.92)
Skill Response:
Git Status Analysis:
Modified files (staged):
ā
version.json (3.3.0 ā 3.4.0)
ā
CHANGELOG.md (v3.4.0 entry added)
ā
CLAUDE.md (version synced)
ā
README.md (version synced)
ā
SETUP_CONTEXT.md (version synced)
New files (staged):
ā
.claude/skills/version-management/SKILL.md
ā
.claude/skills/commit-readiness-checker/SKILL.md
ā
docs/00-start-here/12_learning-stages.md
[... 10 more files]
Untracked files:
(none - all clean!)
Status: ā
Safe to commit
All changes are intentional and staged.
No accidental modifications detected.
Why This Matters:
Next Step: Proceed with commit, or ask "Am I ready to commit?" for full validation
User Query:
"Validate everything before commit"
Confidence: š¢ High (0.96)
Skill Response:
š Detailed Pre-Commit Validation
1. VERSION CHECK ā
version.json: 3.4.0
CLAUDE.md: v3.4.0
README.md (3 locations): v3.4.0
SETUP_CONTEXT.md (2 locations): v3.4.0
All synced!
2. CHANGELOG CHECK ā
Entry exists: ## [3.4.0] - 2025-12-13
Features documented: Yes (7 skills + Learning Stages)
Token impact noted: Yes (~80,000 tokens/month)
Projections marked: Yes (ā ļø projections noted)
3. DOCUMENTATION CHECK ā
New skills documented: 7/7
LEARNING_STAGES.md: Created ā
02_skills-paradigm.md: Updated ā
QUICK_REFERENCE.md: Updated ā
4. FILES CHECK ā
New skills: 7 directories created
Learning Stages: 1 MD file + 1 script
Commands reduced: Yes (5 ā 3)
5. GIT STATUS ā
Staged: 18 files
Untracked: 0 files
Unstaged: 0 files
6. SEMANTIC VERSIONING ā
Previous: 3.3.0
Current: 3.4.0
Type: MINOR (new features)
Correct: Yes ā
All validations passed! š
Confidence level: 100% ready to commit
Suggested action:
git commit -m "š Release v3.4.0: Workflow Optimization & Learning Stages"
git tag v3.4.0
Why This Matters:
Next Step: Execute commit + tag, then ask "Did the commit succeed?"
Before Commit:
1. Make all changes (version bump, CHANGELOG, new features)
2. Run sync-version.sh
3. Ask skill: "Am I ready to commit?"
4. Fix any blockers identified
5. Ask skill: "Draft commit message"
6. Review message
7. Commit
Usage Pattern:
User: Completes feature work
User: Updates version.json
User: Runs sync-version.sh
User: "Am I ready to commit?"
Skill: Validates all criteria
Skill: Drafts commit message
User: Reviews and commits
User: (After fixing CHANGELOG) "Am I ready to commit now?"
Skill:
Re-checking readiness...
Critical Checks:
ā
Version bumped (was already done)
ā
CHANGELOG updated (just fixed! ā)
ā
Files synced (was already done)
ā
Git status clean (CHANGELOG now staged)
All blockers resolved! āØ
Status: READY TO COMMIT
[Provides commit message]
User: "What do I need before first commit?"
Skill:
First Release Checklist:
Not Started:
ā Update version.json
ā Run sync-version.sh
ā Update CHANGELOG.md
ā Stage all files (git add .)
Follow this order:
1. Update version.json (version, release_date, release_name)
2. Run: ./scripts/sync-version.sh
3. Update CHANGELOG.md with new entry
4. Stage: git add .
5. Ask me: "Am I ready to commit?"
Start with step 1!
User: "I ran sync-version.sh, what now?"
Skill:
Post-Sync Status:
ā
Completed:
- version.json updated
- Files synced (verified 7 locations)
ā Remaining:
- CHANGELOG.md (needs v3.4.0 entry)
- Git staging (need to: git add .)
Progress: 50% complete
Next immediate step:
Update CHANGELOG.md with v3.4.0 entry
Then: git add .
Then: Ask "Am I ready to commit?"
ā ļø These are PROJECTIONS based on testing, not multi-user validation.
Process:
Total: ~900 tokens
Process:
Total: ~300 tokens
Savings: 600 tokens per query (67% reduction)
Per Release (2 per week):
Monthly (8 releases):
Quarterly:
ROI: Pays for implementation cost (~500 tokens) after 1 release.
Symptom: Skill says "ready" but git commit fails
Cause: Git hooks, pre-commit scripts, or file permissions
Solution:
Skill checks standard criteria but cannot predict:
- Git hooks (pre-commit, commit-msg)
- File permission issues
- Git configuration problems
If commit fails after skill approval:
1. Check git hook output
2. Fix specific issue
3. Re-run commit
Symptom: Skill says CHANGELOG missing entry, but it exists
Cause: Format mismatch or unexpected structure
Solution:
CHANGELOG must have exact format:
## [3.4.0] - 2025-12-13
Check:
- Square brackets around version
- Dash separator
- YYYY-MM-DD date format
- Spacing matches pattern
Correct any format issues.
Symptom: Skill reports untracked/modified files user didn't create
Cause: Auto-generated files, IDE configs, OS files
Solution:
Common culprits:
- .DS_Store (macOS)
- .vscode/ (VS Code)
- node_modules/ (npm)
- __pycache__/ (Python)
Check .gitignore includes these patterns.
If needed, update .gitignore before committing.
Skill Version: 3.4.0 Last Updated: 2025-12-13 Target Audience: Template maintainers, release managers Maintained By: claude-config-template project