بنقرة واحدة
commit
Stage and commit changes with pre-flight checks, doc updates, and roadmap tracking.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Stage and commit changes with pre-flight checks, doc updates, and roadmap tracking.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | commit |
| description | Stage and commit changes with pre-flight checks, doc updates, and roadmap tracking. |
| argument-hint | [description] |
| disable-model-invocation | false |
| allowed-tools | Bash(cargo *) Bash(git *) |
Commit the current changes. Additional context from the user: $ARGUMENTS
Follow these steps:
Pre-flight checks (skip if no .rs, Cargo.toml, or Cargo.lock files were changed):
Run these in parallel:
cargo fmt --all -- --check --files-with-diffcargo clippy --all-targets --all-features -- -D warningscargo test --all-targets --all-featurescargo fmt for formatting failures). For complex failures, stop and report.Verify test coverage (skip if no code changes):
Analyze changes:
git status and git diff to understand staged and unstaged changes.$ARGUMENTS may provide additional context to incorporate into the commit message. If no context is provided and the changes are non-trivial, ask the user before proceeding.Update documentation:
Update roadmap:
main.Generate commit message:
git status. Only show the commit title and body.Commit: Stage the relevant files, then create the commit.
The commit runs through the Bash tool, which is POSIX bash and may
differ from the contributor's interactive shell. Pass the message on
stdin via a quoted heredoc so shell quoting cannot corrupt it:
git commit -F - <<'COMMIT_MSG'
<subject line>
<body wrapped at 72>
COMMIT_MSG
Do NOT use git commit -m "…" for a multiline or special-character
message, and do not reach for your interactive shell's own here-string or
quoting idioms — they may not be valid bash and can inject stray
characters into the message. The quoted delimiter ('COMMIT_MSG') keeps
$, backticks, and ! literal; UTF-8 (em-dashes, etc.) passes through
fine.
Strictly forbidden — these restrictions are non-negotiable:
git status is the source of truth and re-listing them is noise.