원클릭으로
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.