用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/nwiizo/cargo-coupling --skill check-balance命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | check-balance |
| description | Quick health check for coupling balance score. Use for daily score verification and CI quality gates. |
| argument-hint | ["path"] |
cargo run -- coupling --summary $ARGUMENTS (default: ./src)# Summary check
cargo run -- coupling --summary ./src
# Japanese output
cargo run -- coupling --summary --japanese ./src
# CI/CD quality gate
cargo run -- coupling --check --min-grade=C ./src
# Ratchet gate against a baseline ref
cargo run -- coupling --check --baseline main --fail-on=high ./src
# Coupling health over git history
cargo run -- coupling --history ./src
| Score | Grade | Status | Action |
|---|---|---|---|
| 0.90-1.00 | A | Excellent | Maintain |
| 0.80-0.89 | B | Good | Minor improvements |
| 0.60-0.79 | C | Acceptable | Planned improvement |
| 0.40-0.59 | D | Needs improvement | Act soon |
| 0.00-0.39 | F | Critical | Immediate action |
| Severity | Action |
|---|---|
| Critical | Fix immediately |
| High | Fix within 1 week |
| Medium | Plan to fix |
| Low | Monitor |
cargo run -- coupling --check --baseline <ref> ./src compares current issues against the baseline ref and fails only on new issues at --fail-on severity or higher. The default ratchet threshold is High/Critical.
/analyze for details/full-review for comprehensive analysis基于 SOC 职业分类