commit-message
Installation
SKILL.md
Commit Message
Draft a Conventional Commit message from staged changes.
Invocation Notice
- Inform the user when this skill is being invoked by name:
commit-message.
Critical Constraints
- Use only staged changes (
--cached/ staged SCM state) as input. - Resolve and use the repository root for all SCM calls.
- If no staged changes exist after one retry, stop and inform the user.
- Always include an
AI-assistant: <AGENT>footer. - Output only the final commit message in one markdown code block.
Workflow
- Resolve repository root.
Related skills