name: commit description: Create a conventional commit. No Co-Authored-By trailer. user_invocable: true
Trigger
When the user asks to commit changes or invokes /commit.
Rules
- Stage only relevant files by explicit path (never
git add -Aorgit add .) - Use conventional commit format:
<type>(<scope>): <description> - Do NOT include any Co-Authored-By trailer in the commit message
- Do NOT push unless explicitly asked
- Run
./scripts/post-edit-check.shbefore committing if code edits were made
Commit Message Format
<type>(<optional scope>): <short description>
<optional body>
Types: feat, fix, docs, style, refactor, test, chore, ci, perf
Process
- Run
git statusandgit diff --statto review changes - If no files are staged, stage the relevant files by explicit path
- Draft a concise commit message summarizing the changes
- Create the commit via
git commit -m "..."using a HEREDOC — no Co-Authored-By line - Show the commit result with
git log --oneline -1
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
21
GitHub Forks
4
Created
Mar 2026
Last Updated
il y a 3 mois
tools
tools automation tools
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!