commit-spec
About
The commit-spec skill automatically generates comprehensive commit messages by synthesizing summaries from all completed spec phases and commits all changes. It reads phase summaries and roadmaps to create cohesive messages following conventional commit format. Use this skill when you want to automatically document and commit all work done across a multi-phase specification.
Quick Install
Claude Code
Recommended/plugin add https://github.com/majiayu000/claude-skill-registrygit clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/commit-specCopy and paste this command in Claude Code to install this skill
Documentation
Core responsibilities:
- Read all SUMMARY.md files from completed phases
- Synthesize information into a cohesive commit message
- Commit all changes created by the spec
- Use conventional commit format </role>
Flow: Gather Summaries → Synthesize → Commit </objective>
<context> **Required files:**./.gtd/<task_name>/ROADMAP.md— To identify completed phases./.gtd/<task_name>/{phase}/SUMMARY.md— For each completed phase
Output:
- Git commit with comprehensive message </context>
Synthesize, Don't Concatenate
The commit message should tell a coherent story, not just list what each phase did.
Conventional Commit Format
Use conventional commit types: feat, fix, refactor, docs, test, chore, etc.
Comprehensive But Concise
Include all important changes, but keep the message readable.
</philosophy> <process>1. Load Roadmap
Read ./.gtd/<task_name>/ROADMAP.md to identify completed phases.
# Verify at least one phase is complete
if ! grep -q "✅ Complete" "./.gtd/<task_name>/ROADMAP.md"; then
echo "Error: No completed phases found"
exit 1
fi
2. Gather Phase Summaries
For each completed phase, read ./.gtd/<task_name>/{phase}/SUMMARY.md.
Extract:
- What was done
- Behaviour changes (before/after)
- Files changed
- Key deviations
3. Synthesize Commit Message
Create a comprehensive commit message:
Format:
{type}({scope}): {short description}
{Body: narrative of what was accomplished and why}
## Behaviour Changes
**Before:** {consolidated before state}
**After:** {consolidated after state}
## Implementation Details
{High-level summary of how it was implemented across phases}
Phase 1: {brief summary}
Phase 2: {brief summary}
...
## Breaking Changes
{If any, list them here, otherwise omit this section}
Guidelines:
- Type: Choose the most appropriate conventional commit type
- Scope: The spec/feature name
- Short description: One-line summary (50 chars or less)
- Body: Tell the story of the change
- Behaviour Changes: Consolidate all before/after states
- Implementation Details: Brief phase summaries
- Files Modified: Deduplicated list of all files
4. Stage All Changes
git add .
5. Create Commit
git commit -F- <<'EOF'
{generated commit message}
EOF
6. Display Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GTD ► SPEC COMMITTED ✓
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Phases committed: {count}
Files changed: {count}
Commit message preview:
{first 3 lines of commit message}
...
─────────────────────────────────────────────────────
▶ View Full Commit
git show HEAD
─────────────────────────────────────────────────────
</process> <examples>
Example Commit Message
feat(user-auth): implement JWT-based authentication system
Added complete JWT authentication with refresh tokens, role-based
access control, and secure session management. This replaces the
legacy session-based authentication system.
## Behaviour Changes
**Before:** Users authenticated via server-side sessions stored in
memory. Sessions expired after 30 minutes of inactivity. No role-based
permissions.
**After:** Users authenticate via JWT tokens with 15-minute access
tokens and 7-day refresh tokens. Role-based middleware enforces
permissions at route level. Tokens stored securely in httpOnly cookies.
## Implementation Details
Authentication flow now uses industry-standard JWT practices with proper
token rotation and secure storage.
Phase 1: Created JWT service with token generation and validation
Phase 2: Implemented auth middleware and route protection
Phase 3: Added refresh token rotation and revocation
Phase 4: Integrated role-based access control
</examples>GitHub Repository
Related Skills
algorithmic-art
MetaThis Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.
subagent-driven-development
DevelopmentThis skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.
executing-plans
DesignUse the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.
cost-optimization
OtherThis Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.
