Clean Code Guard — Code Quality skill for Claude Code
Enforce clean code, SOLID, and DRY principles.
How to install Clean Code Guard
Installs to ~/.claude/skills/m3taz-ahmed-aizee-clean-code-guard/SKILL.md
mkdir -p ~/.claude/skills/m3taz-ahmed-aizee-clean-code-guard && curl -fsSL https://raw.githubusercontent.com/m3taz-ahmed/aizee/HEAD/skills/clean-code-guard.md -o ~/.claude/skills/m3taz-ahmed-aizee-clean-code-guard/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Clean Code Guard does
name: clean-code-guard always: true description: Enforce clean code, SOLID, and DRY principles. triggers:
- clean code guard
- clean
- enforce
[SKILL] clean-code-guard [OBJ] Code review enforcing SOLID, DRY, KISS, and YAGNI. [RULES]
- [PROHIBIT] AI Guards: No empty catch blocks (swallowing errors). No guarding against guaranteed TS/PHP types. No mock
{"status":"ok"}returns. - [REQ] AI Guards: Verify imports exist. Strip dead code.
- [REQ] Clean Code: Descriptive names (no `d
Alternatives in Code Quality
- Pragmatic Clean Code Reviewer — A Claude Code skill for conducting rigorous code reviews based on Clean Code, Clean Architecture, and The Prag 159 ★
- iOS Clean Code Skills — Clean Code skills for Swift / iOS projects based on Robert Martin's Clean Code and G. Ann Campbell's Cognitive 26 ★
- Fec Refactor Clean — Identify and clean up front-end dead code, unused exports, outdated components, styles and dependencies under 21 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Clean Oop
Apply SOLID, Clean Code, dependency boundaries, and testability.
Principles Rules
Always-on Clean Code standards from Robert C. Martin. Apply to all code regardless of language.
Code Review Subagent
Reusable prompt template for code review sub-agents to enforce a consistent analysis and output schema.
Dry Refactor
Find code duplication and extract shared logic
Cfn Vote Implement
MUST BE USED after cfn-dry-review or cfn-alpha-launch:manifest produces a manifest. Also verification phase of
Paperclip Refactor
Despacha um Refactor para os robôs do Paperclip (VPS). Classifica complexidade localmente, mostra a árvore em
Related Agents
Oo Design Reviewer
Reviews code for object-oriented design quality including SOLID principles, DRY violations, composition and in
Performance Critic
Performance Critic — مُراجع الأداء وجودة الكود المستقل في بوابة الإجماع (البند 7)، يستخدمه /consensus-gate لفح
Refactor Clean
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and... - wshob