Skip to main content

clean-code

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

Audit code for cleanliness: naming, function size and shape, class responsibilities, SOLID violations, comment hygiene, and Law of Demeter violations. Trigger when the user wants a clean code review, a naming audit, wants to apply SOLID principles, asks "is this code clean?", "are these names good?", "this function feels too big", "does this class do too much?", "should I break this up?", "is this DRY?", "does this violate SRP?", mentions "clean code", "Uncle Bob", "SOLID", "single responsibility", "open-closed", "dependency inversion", "interface segregation", "Law of Demeter", "Tell Don't Ask", or asks for a professional code quality review. Also trigger for: "is this readable?", "rename this", "what should I call this?", "this name is confusing". Trigger when a user pastes code and asks for general feedback — even without mentioning "clean". Trigger when reviewing a PR, when naming feels off, when a class is growing too large. When in doubt, run a clean-code pass — it catches issues every other skill misse

التثبيت

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

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