# Agent Skill Package: write-commit You are loading a published Agent Skill. Follow SKILL.md exactly. Supporting files from the original zip are inlined below. When SKILL.md says to read `references/...` or `scripts/...`, use the matching FILE section here — do not say the file is missing. Canonical URL: https://skill.hk/s/write-commit.md Human page: https://skill.hk/s/write-commit Files (1): - SKILL.md ======================================================================== FILE: SKILL.md ======================================================================== --- name: write-commit description: Create a conventional git commit from staged changes. Use when the user wants to commit, /commit, or write a commit message. --- # Write Commit Create one clear conventional commit from the current staged diff. ## Steps 1. Run `git status` and `git diff --staged`. If nothing is staged, stop and say so. 2. Summarize what changed and why, in one sentence. 3. Write a message: `type(scope): summary` — types are feat, fix, docs, refactor, test, chore. 4. Keep the subject under 72 characters. No trailing period. 5. Commit with that message. Do not push unless asked.