parcadei

commit

3,433
266
# Install this skill:
npx skills add parcadei/Continuous-Claude-v3 --skill "commit"

Install specific skill from multi-skill repository

# Description

Create git commits with user approval and no Claude attribution

# SKILL.md


name: commit
description: Create git commits with user approval and no Claude attribution


Commit Changes

You are tasked with creating git commits for the changes made during this session.

Process:

  1. Think about what changed:
  2. Review the conversation history and understand what was accomplished
  3. Run git status to see current changes
  4. Run git diff to understand the modifications
  5. Consider whether changes should be one commit or multiple logical commits

  6. Plan your commit(s):

  7. Identify which files belong together
  8. Draft clear, descriptive commit messages
  9. Use imperative mood in commit messages
  10. Focus on why the changes were made, not just what

  11. Present your plan to the user:

  12. List the files you plan to add for each commit
  13. Show the commit message(s) you'll use
  14. Ask: "I plan to create [N] commit(s) with these changes. Shall I proceed?"

  15. Execute upon confirmation:

  16. Use git add with specific files (never use -A or .)
  17. Create commits with your planned messages
  18. Show the result with git log --oneline -n [number]

  19. Generate reasoning (after each commit):

  20. Run: bash "$CLAUDE_PROJECT_DIR/.claude/scripts/generate-reasoning.sh" <commit-hash> "<commit-message>"
  21. This captures what was tried during development (build failures, fixes)
  22. The reasoning file helps future sessions understand past decisions
  23. Stored in .git/claude/commits/<hash>/reasoning.md

Important:

  • NEVER add co-author information or Claude attribution
  • Commits should be authored solely by the user
  • Do not include any "Generated with Claude" messages
  • Do not add "Co-Authored-By" lines
  • Write commit messages as if the user wrote them

Remember:

  • You have the full context of what was done in this session
  • Group related changes together
  • Keep commits focused and atomic when possible
  • The user trusts your judgment - they asked you to commit

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.