commit
Create a conventional commit. No Co-Authored-By trailer.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
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
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-03-11
- Index updated
- 2026-03-11
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!