commit
Installation
SKILL.md
Commit Changes
Commit the current staged/unstaged changes with a well-crafted commit message.
Arguments
$ARGUMENTS can be used for special instructions, such as:
- Guiding the message: "emphasize the breaking change"
- Adding context: "this fixes issue #123"
- Requesting amend: "amend the previous commit"
Step 1: Gather Information
Run these commands in parallel to understand the changes:
- Git status:
git status --porcelain(check for staged/unstaged changes) - Staged diff:
git diff --cached(what will be committed if there are staged changes) - Unstaged diff:
git diff(what's modified but not staged) - Recent commits:
git log -5 --oneline(to match existing commit style)