一键导入
benchmark
Use when you need measured performance evidence by running a repeatable command on the current branch and a baseline ref
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when you need measured performance evidence by running a repeatable command on the current branch and a baseline ref
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Iterative review-fix loop for accumulated milestone/branch changes. Runs parallel reviewers, fixes findings autonomously, repeats until clean. Use after multiple tasks merge to a milestone branch, or before merging to main. Invoke with /milestone-review --base-branch main. Supports --dry-run and --max-iterations.
This skill should be used when the user wants a comprehensive code review using multiple specialized reviewers in parallel. Invoked with /multi-review or when user asks for 'thorough review', 'full code review', or 'review from multiple perspectives'. Use --plan <path> to review an implementation plan pre-coding.
Use when facing a bug, test failure, or unexpected behavior that isn't immediately obvious
Use when starting a new feature or idea that needs thorough pre-execution planning. Use instead of calling /product-review, /spec, and review skills individually.
Use when you have an idea, goal, or feature description and need to turn it into an actionable plan with tasks
Use when you need 3-5 intentionally different UI directions before committing to a single design approach
| name | benchmark |
| description | Use when you need measured performance evidence by running a repeatable command on the current branch and a baseline ref |
| allowed-tools | Read, Bash, Glob, Grep |
Run a repeatable benchmark command on the current branch and compare it with a baseline ref. This skill is for measurement, not speculation.
If the user wants architectural performance review without running code, use /multi-review with performance-oracle instead.
/benchmark "<command>" [--baseline <ref>] [--iterations N]
Defaults:
--baseline origin/main--iterations 51Reject the request if no command is provided.
git status --shortUse a temporary directory under /tmp or equivalent. Never benchmark the baseline by checking out over the user's current branch.
Environment setup rules:
CLAUDE.md, README.md, and project manifests such as package.json, pyproject.toml, Cargo.toml, or Makefilepnpm install --frozen-lockfile, uv sync, cargo fetch, or make setupFor both current branch and baseline:
N measured executionsPrefer a consistent timing mechanism for every run. Keep environment conditions as similar as possible across both refs.
Compute for current and baseline:
If run-to-run variance is high, say so. Do not overclaim a tiny difference hidden by noise.
## Benchmark Summary
Command: ...
Baseline: ...
Iterations: ...
### Current Branch
Runs: [...]
Median: ...
Min/Max: ...
### Baseline
Runs: [...]
Median: ...
Min/Max: ...
### Delta
Current vs baseline median: ...%
### Notes
- command-native metrics if any
- variance caveats
- anything that may have skewed results
Always remove the temporary baseline worktree before exiting, even on failure.