ワンクリックで
refactor-analysis
Run cargo-coupling and similarity-rs to identify refactoring targets, then create a prioritized plan.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run cargo-coupling and similarity-rs to identify refactoring targets, then create a prioritized plan.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Run full quality gate before release — fmt, clippy, test, mutants, similarity, coupling.
Systematic bug investigation and fix workflow. Use when fixing bugs, investigating issues, or debugging test failures.
Pre-release verification workflow - version, security audit, performance, cross-platform builds, documentation.
Development environment setup - Rust toolchain, cross-compilation targets, dependencies, git hooks, IDE config.
Split complex tasks into sequential steps with parallel subtasks. Use for multi-step workflows needing dependency ordering and adaptive planning.
Comprehensive quality assurance - tests, linting, formatting, code analysis, and release build verification.
| name | refactor-analysis |
| description | Run cargo-coupling and similarity-rs to identify refactoring targets, then create a prioritized plan. |
Analyze code coupling and duplication, then create a prioritized refactoring plan.
Coupling analysis:
cargo coupling --exclude-tests --ai --hotspots=10
Focus on: High Afferent (too many dependents), God Modules, circular deps.
Similarity scan:
similarity-rs ./src --min-tokens 50
Focus on: 95%+ similarity pairs, extract shared functions.
Combine findings into a prioritized plan:
Create GitHub issues for each refactoring target with refactoring label.
Execute high-priority items if requested, verifying with cargo test after each change.