commit
Create a conventional commit. No Co-Authored-By trailer.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-03-11
- Mise à jour de l’index
- 2026-03-11
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!