commit

Installation
SKILL.md

Commit

When the user invokes /commit, create one local commit for the current task. Invocation authorizes the commit once its scope is clear.

Workflow

  1. Read applicable repository instructions and commit-message configuration. Inspect Git status, staged and unstaged diffs, relevant untracked files, and recent commit messages. If this is not a Git repository, ask for the repository location.
  2. Identify the current task's changes from the conversation and actual diff. Ask when ownership or scope is unclear. Preserve unrelated staged and unstaged changes. Use selective staging or an isolated index to keep them out of the commit. If there are no task changes to commit, report that and stop.
  3. Follow compatible repository conventions and required checks. Reuse current verification results where applicable. Run normal commit hooks without bypassing them. If a check fails, report the failure and resolve task-related failures before retrying; ask before changing unrelated work.
  4. Write the message using the embedded rules below. Create one commit even when the task has several purposes; choose the type that best describes its overall intent and explain other changes in the body when useful.
  5. Inspect the exact diff selected for the commit before committing. Commit only that selection. For a multiline message, write it to a temporary file and use git commit --file with that file. Keep literal text intact.
  6. Verify the resulting commit and remaining Git status. Report its short hash and subject, and mention any remaining changes. Stop after the local commit. Push or amend only when the user explicitly requests it.

Conventional Commits 1.0.0

These rules are embedded for use without browsing. Adapted from Conventional Commits 1.0.0, licensed under CC BY 3.0.

<type>[optional scope][optional !]: <description>
Installs
3
First Seen
Oct 10, 2026