skills/commit/SKILL.md
Use this skill when requested to commit changes. It ensures commit messages follow project standards and ensures code quality via verification steps.
npx skillsauth add sirius-cc-wu/sirius-skills commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill guides the process of committing code changes to the repository, ensuring consistency, quality, and adherence to project standards.
Before committing, always verify exactly what is staged.
git status and git diff --staged (or get_changed_files) to review the changes.Adhere to the project mandates (e.g. AGENTS.md):
cargo check, npm run lint) to ensure the code compiles without warnings.Follow these standards for all commit messages:
scope: summary.
api, core).If the project defines .skills/conventions.json, follow that configuration instead of assuming the default format.
commit_format when it is present.{ID}, {scope}, and {summary}.branch_extract_pattern,Example project config:
{
"issue_sliceer": "jira",
"branch_extract_pattern": "^([A-Z][A-Z0-9]*-[0-9]+)-(.+)$",
"commit_format": "{ID}: {summary}"
}
Use a message file and git commit -F when preparing a multi-line message.
cat > /tmp/commit-msg.txt <<'EOF'
module: Summary line
- Detailed bullet point 1
- Detailed bullet point 2 with `code_snippet`
EOF
git commit -F /tmp/commit-msg.txt
rm -f /tmp/commit-msg.txt
Fallback only when needed:
git commit -m 'module: Summary line' -m '- Detail bullet point'
Request: "Commit the changes where I refactored the module." Action:
If .skills/conventions.json defines commit_format as {ID}: {summary} and the branch is BSP-3313-buffer-fix, use a title like:
BSP-3313: Fix uds buffer bounds handling
tools
Create or resume a dedicated git worktree for one feature or subfeature, drive `ship` inside that worktree, and hand the finished branch back as a pull request to the original branch.
testing
Reviews one completed feature or subfeature against final implementation and slice artifacts, then records a durable reconciliation block before archive.
development
Tightens durable repo-level rules in AGENTS.md and adjacent governance surfaces when repeated drift reveals a policy gap.
data-ai
Resolves one reviewed feature or subfeature backlog into remaining planned slices and routes each active slice to the next owning execution step with one commit per completed slice.