一键导入
check-balance
Quick health check for coupling balance score. Use for daily score verification and CI quality gates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Quick health check for coupling balance score. Use for daily score verification and CI quality gates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Khononov's Balanced Coupling model reference. Auto-loaded when analyzing coupling patterns, reviewing architecture, or interpreting analysis results.
Run coupling analysis and interpret results. Use when analyzing Rust project coupling patterns and generating improvement proposals.
Modularity review using Balanced Coupling model. Combines automated analysis with semantic code review to find implicit coupling and design issues.
Start interactive web UI for coupling analysis visualization. Graph exploration with filters, hotspots, and export.
Run mutation testing with cargo-mutants to evaluate test quality. Identifies untested code paths.
Explain coupling issue types in detail with detection conditions, code examples, and solution approaches.
| 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