
Clean Code Guard
by amelnagdyffa26036b7b5No license1.2K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 3 months ago
Review generated or changed production code before it ships, using Clean Code, SOLID, DRY, KISS, YAGNI, and LLM-specific failure-mode checks in any programming language. Best used reactively after an agent writes, edits, refactors, or fixes code, before presenting, committing, or merging the result. Use when the user asks "review this PR", "is this safe to merge?", "make this cleaner", "audit this code", "refactor this", "fix this bug", or after a coding agent produced implementation code. Can also guide writing when explicitly invoked before a risky edit. Invoke it on your own initiative the moment you finish writing, editing, or refactoring non-trivial production code, before presenting or committing — don't wait to be asked. DO NOT USE for factual/conceptual questions, CI/tooling config, git workflow, running/debugging tests, pure architecture discussion, prose writing, data analysis, or test-code review (use test-guard).
Only the file list is public. File contents are available once the skill is installed in a workspace.
| Path | Size | Type |
|---|---|---|
| agents/openai.yaml | 232 B | application/yaml |
| references/ai-failure-modes.md | 15.7 KB | text/markdown |
| references/comments-and-formatting.md | 5.1 KB | text/markdown |
| references/dry-kiss-yagni.md | 8.6 KB | text/markdown |
| references/naming-and-functions.md | 6.3 KB | text/markdown |
| references/review-checklist.md | 8.9 KB | text/markdown |
| references/solid.md | 10 KB | text/markdown |
| references/sources.md | 3.2 KB | text/markdown |
| SKILL.md | 17 KB | text/markdown |
Source and attribution
Source:amelnagdy/guard-skillsinskills/clean-code-guardat commitffa2603
License: No license
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from amelnagdy/guard-skills

Wp Guard
amelnagdy
Reviews generated or changed WordPress plugin, theme, and block code for security, i18n, and performance issues before shipping.

Woo Guard
amelnagdy
Reviews WooCommerce code for HPOS-safe order access, CRUD usage, checkout validation, and money handling before it ships.

Test Guard
amelnagdy
Reviews generated or changed test code against nine universal testing rules before it ships.
More in Software Development

Playground
anthropics
Builds self-contained interactive HTML playgrounds with controls, live preview, and copyable prompt output.

M5 Onboard
anthropics
Provisions M5Stack ESP32 boards by detecting them on USB, flashing UIFlow 2.0 firmware, and installing a MicroPython app bundle.

Cardputer Buddy
anthropics
Guides iterating on a Cardputer-Adv MicroPython app bundle: adding apps, pushing files over USB-serial, tailing logs, and running REPL commands.

Web Design Guidelines
vercel-labs
Reviews UI code against Web Interface Guidelines fetched from a remote source and reports findings as file:line entries.

Vercel React Native Skills
vercel-labs
React Native and Expo best-practice rules covering list performance, animation, navigation, UI patterns, state, and monorepo setup.

Vercel React Best Practices
vercel-labs
Vercel's React and Next.js performance guidelines, organized as 70 rules for writing, reviewing, and refactoring code.