一键导入
review
Review staged or recent changes for correctness, style, and Rust conventions before committing
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review staged or recent changes for correctness, style, and Rust conventions before committing
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deep codebase analysis — architecture health, test coverage gaps, tech debt, and actionable findings
Run pre-commit checks (fmt, clippy, test) then stage, commit, and push with a conventional message
Use when SSHing into remote machines, looking up credentials, renaming Tailscale devices, or accessing services on the tailnet. Symptoms - SSH auth failures, too many authentication failures, command not found tailscale, need to find credentials for remote machines.
Use when mixing Tokio async code with synchronous blocking I/O libraries (tar, flate2, zip, csv), or when seeing "cannot block the current thread from within the async context" panics, or needing to stream async bytes into a sync reader.
Structured BAML schema edit → validate → test loop for the devloop project. Use when editing any *.baml file in crates/baml/baml_src/ — covers version parity gotchas, uvx invocation, regeneration workflow, and the analyze verify step.
Use when reading large files (logs, JSONL, CSVs) that exceed context limits, when the Read tool returns truncated output, or when needing to locate a specific section in a multi-thousand-line file without reading everything.
| name | review |
| description | Review staged or recent changes for correctness, style, and Rust conventions before committing |
| trigger | /review |
| tags | ["git","rust","code-quality"] |
Review the current diff for issues before committing.
Run git diff HEAD (or git diff --staged if changes are staged) to see what changed.
For each changed file, check:
? vs unwrap), no unnecessary clones, lifetimes make senseIf in a Rust workspace, run:
cargo clippy --all-targets 2>&1 — report any warningscargo test --quiet 2>&1 — report any failuresProduce a concise report: