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

assess-refactor

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

Before implementing new functionality, decide whether a focused refactor of the code the feature will touch should happen FIRST. Assesses the health of the area the feature lands in (coupling, duplication, oversized units, missing seams, weak tests, drifted names, near-violations of the architecture rules) and weighs the technical-debt cost of building on it as-is versus cleaning it up first. Analysis-only — recommends refactor-first / refactor-after / no-refactor with a bounded scope, the risk of skipping, and trade-offs; writes no code. Bounded by YAGNI: only refactor what this concrete feature touches. Use after the task is understood and before implementation.

التثبيت

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

SKILL.md
readonly