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

refactor

النجوم٤
التفرعات١
آخر تحديث٢ يوليو ٢٠٢٦ في ١٢:٠٧

Run a disciplined, document-driven refactoring loop on a game (or on the harness's own Bun/TS code) — DRY/functional C++ extraction, TypeScript service de-duplication, UMG/Slate widget consolidation, or feature-first project/asset structure. Genericized from a production UE reference project's proven refactor loops. One namespace, four modes. The loop is anchored to a worklist document with three areas — TODO / DONE / DEFERRED — and processes exactly ONE logically distinct refactor per iteration under a strict architectural-purity + scope contract (zero behavior change, no new abstractions, locality of behavior, bias toward leaving things alone). Use for "refactor this", "DRY up X", "de-duplicate the widgets", "extract the math/logic", "split a 600-line file", "clean up the service layer", "restructure the Content tree", "find extractable utilities". Behavior-preserving only — it never adds features. Complements `/architect` (writes the design) and `/docs` (keeps the taxonomy synced).

التثبيت

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

SKILL.md
readonly