cn-refactor-plan-governance
Développeurs de logiciels Traverses a codebase to diagnose architecture issues and technical debt, generates structured Chinese-language refactoring plans with TDD verification, and executes uncompleted plan items by modifying code, running verification commands, and syncing plan documents. Specific capabilities: (1) Diagnostic — scans directory structure, layer dependency violations, duplicated semantics, large files, God Objects, and public surface divergence; classifies findings into P0 (hard rule violation) through P3 (cosmetic); outputs a refactoring plan to docs/重构计划/. (2) Execution — reads active plans, prioritizes unchecked items, modifies code following single-track replacement (no compat shims), runs each item's verification command, marks items [x] with evidence. (3) Governance — lints/reports/gates/archives existing plans via guard scripts. Trigger when user asks to "analyze code architecture", "scan for tech debt", "generate a refactoring plan", "check the codebase health", "execute the refactoring plan", "continue the re
2026-04-25