一键导入
mutation-test
Run mutation tests with cargo-mutants to verify test quality. Reports caught, missed, and timed-out mutants.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run mutation tests with cargo-mutants to verify test quality. Reports caught, missed, and timed-out mutants.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Duplicate code detection using similarity-rs. Identifies refactoring candidates based on semantic similarity.
Duplicate code detection using similarity-rs. Identifies refactoring candidates based on semantic similarity.
Run performance benchmarks with criterion. Compare against baselines and profile hotspots.
Implementation verification - runs format, lint, test, and build checks on the workspace.
Production readiness audit - checks unwrap elimination, error handling, clippy, docs, channel usage, and test count.
Release deployment process for ccswarm. Version update, quality gates, build, tag, publish.
| name | mutation-test |
| description | Run mutation tests with cargo-mutants to verify test quality. Reports caught, missed, and timed-out mutants. |
| user-invocable | true |
| argument-hint | [crate-name] |
Run mutation tests on the specified crate (default: ccswarm):
# Install if needed
cargo mutants --version || cargo install cargo-mutants
# List mutants
cargo mutants --list -p $ARGUMENTS | head -50
# Run mutation tests
cargo mutants -p ${1:-ccswarm} --timeout 120 -j 4
# Report results
echo "=== Caught ===" && wc -l mutants.out/caught.txt
echo "=== Missed ===" && cat mutants.out/missed.txt
echo "=== Timeout ===" && wc -l mutants.out/timeout.txt
Focus on missed mutants in business logic - these indicate insufficient test coverage.