ワンクリックで
fmt
Format Rust code with rustfmt and report what changed.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Format Rust code with rustfmt and report what changed.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Review a pull request or pending changes. Performs a focused code review against the current branch's diff (or staged diff if invoked pre-commit), surfacing correctness bugs, missing tests, style violations, and unclear naming. Use when the user asks to "review this", "review the PR", "code review", or before commits/PRs.
Complete a security review of pending changes on the current branch. Focuses on injection, authn/authz, secrets, SSRF, deserialisation, insecure defaults, and supply-chain risk. Use when the user asks to "security review", "security audit", "check for vulns", or before raising a PR.
Pre-commit gate (fmt + clippy + test) then create a conventional commit with explicit file staging.
Create or update ARCHITECTURE.md with system components, data flows, and ADRs
Full TDD loop — plan, branch, write code + tests, fmt, clippy, test, review, commit.
View the story board grouped by status, with optional filters
| name | fmt |
| description | Format Rust code with rustfmt and report what changed. |
Format the codebase. Single source of formatting truth.
rustup component list --installed | grep rustfmt
If missing: rustup component add rustfmt. If that fails, halt with "Run /setup first."
cargo fmt
Capture the output. cargo fmt reformats all .rs files in the workspace in place.
git diff --name-only
Parse the list to find .rs files that were modified by the formatter.
Report one of:
file: per line).Do not run in --check mode here — /fmt is the apply step. The PostToolUse hook is the check step. The /commit gate runs --check separately.