Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

cn-refactor-plan-governance

النجوم٣
التفرعات٠
آخر تحديث٢٥ أبريل ٢٠٢٦ في ١٣:٣٣

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

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

مستكشف الملفات
11 ملفات
SKILL.md
readonly