This skill should be used when user asks to "commit these changes", "write commit message", "stage and commit", "create a commit", "commit staged files", or explicitly invokes "commit-staged".
Start a fresh conversation. Replace the highlighted placeholders.
Use commit-staged to review only the staged changes, apply required simplification findings, and prepare a conventional commit message informed by [change context]; before creating any commit, ask for my explicit confirmation.
Required inputs
[change context]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: commit-stageddescription: This skill should be used when user asks to "commit these changes", "write commit message", "stage and commit", "create a commit", "commit staged files", or explicitly invokes "commit-staged".
Commit Staged
Complete workflow for creating commits following project standards.
When explicitly invoked with extra text, treat that text as additional context about the
changes and include it in commit planning and commit messages.
When session history includes findings, motivation, or rationale, include the strongest
points in the commit message body instead of relying on the diff alone.
Process
First, run the /simplify skill on the staged diff and apply its findings before committing. Docs-only diffs are a no-op.
Preferred execution
If subagents are available, use github-dev:commit-creator for the full workflow.
Pass along any extra invocation text as additional context.
Otherwise follow the manual steps below.
Analyze staged files only
Check all staged files: git diff --cached --name-only
Read diffs: git diff --cached
Completely ignore unstaged changes
Commit message format
First line: {type}: brief description (max 50 chars)