<< All versions
Skill v1.0.0
currentAutomated scan100/100alysisai/alysiscode/commit
──Details
PublishedOctober 22, 2026 at 03:05 AM
Content Hashsha256:7515f910b1b0b40b...
Git SHA8b19afb60340
──Files
Files (1 file, 1.9 KB)
SKILL.md1.9 KBactive
SKILL.md · 21 lines · 1.9 KB
version: "1.0.0" name: commit description: Create a Conventional Commit from the user's changes, staging a coherent set only when nothing is staged; never amend or push unasked.
Use when: The user asks to commit their changes, whether or not anything is staged yet.
Do not use when: There are no changes to commit, or the user asks to amend, squash, rebase, or push.
Treat commands below as suggestions; use the normal tool and approval flow.
- Read repository instructions and inspect
git status --short,git diff --cached --stat, andgit diff --stat. - If the index already holds changes, commit only the staged content. Warn when unstaged edits make the staged result incomplete, but do not add them unless the user asks.
- If nothing is staged, propose the smallest coherent set from the working tree that matches the request: name each path and why it belongs. Stage those paths explicitly with
git add <path>; never usegit add -A,git add ., or interactive staging. If the changes clearly belong to several commits, say so and commit only the first set, or ask. - Exclude secrets, credentials, generated or build output, debug artifacts, and unrelated edits from any staging you perform. Stop and report when the staged diff still contains a material concern.
- Read the complete staged diff before writing the message. Base the message only on staged content.
- Choose the narrowest accurate Conventional Commit type and optional scope. Write an imperative subject that describes the outcome; add a body only when it explains motivation, risk, or a breaking change.
- Use
git commitas a suggested command only after the staged scope and message are sound. If hooks fail, report the failure and keep the index intact; never bypass hooks unless explicitly asked. - Report the commit hash, subject, the paths committed, and any paths deliberately left out. Never amend or push unless the user asks.