Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Guard skills for coding agents, quality gates that catch AI-generated failure modes in code, tests, and docs
| Date | Stars |
|---|---|
| 2026-07-31 | 1122 |
| 2026-08-01 | 1127 |
| 2026-08-06 | 1127 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# guard-skills [](https://skills.sh/amElnagdy/guard-skills) Focused **guard skills** for coding agents: second-pass quality gates that catch the systematic failure modes of AI-generated code, tests, and docs before they ship. Best use: let your agent do the work, then invoke the relevant guard on the diff before you present, commit, or merge it. These skills can guide writing when you explicitly ask for that, but they are strongest as reactive review passes. ## Install Browse the package first: ```bash npx skills add amElnagdy/guard-skills --list ``` Install the package: ```bash npx skills add amElnagdy/guard-skills ``` Or install one guard: ```bash npx skills add amElnagdy/guard-skills --skill clean-code-guard npx skills add amElnagdy/guard-skills --skill test-guard npx skills add amElnagdy/guard-skills --skill docs-guard npx skills add amElnagdy/guard-skills --skill wp-guard npx skills add amElnagdy/guard-skills --skill woo-guard ``` Install for a specific agent: ```bash npx skills add amElnagdy/guard-skills --skill clean-code-guard --agent codex npx skills add amElnagdy/guard-skills --skill test-guard --agent claude-code npx skills add amElnagdy/guard-skills --skill '*' --agent cursor ``` Install globally: ```bash npx skills add amElnagdy/guard-skills --global ``` Works with Claude Code, Codex, Cursor, OpenCode, and other supported agents via the [Skills CLI](https://github.com/vercel-labs/skills). ## Updating Skills install as a copy, so a new version here does not reach your agent until you update. Refresh them with the Skills CLI: ```bash npx skills update # all installed skills (alias: upgrade) npx skills update clean-code-guard ``` Add `--global` for global installs or `--project` for project installs. Re-running `npx skills add amElnagdy/guard-skills` also re-fetches the latest. ## How to use them Run a guard after your agent produces work: ```text Use $clean-code-guard on the diff you just produced. Use $test-guard on the tests you just wrote. Use $docs-guard on this README update before we ship it. Use $wp-guard on this WordPress plugin change. Use $woo-guard on this WooCommerce checkout change. ``` Use a guard up front only when you want that constraint active while writing: ```text Use $wp-guard while implementing this REST endpoint, then self-check before delivery. ``` ## Which guard to run | Guard | Use after the agent changed | Catches | Pair with | | --- | --- | --- | --- | | `clean-code-guard` | Production code in any language | LLM code smells, over-abstraction, broad error swallowing, bad names, SOLID/DRY/KISS/YAGNI violations | Platform-specific guards | | `test-guard` | Test code | Mock abuse, duplicate tests, implementation-detail assertions, tests that catch nothing | `clean-code-guard` when test helpers contain real logic | | `docs-guard` | READMEs, docstrings, API docs, changelogs, tutorials | Hallucinated symbols, broken samples, docs-vs-code drift, unverifiable claims | Any guard whose behavior is documented | | `wp-guard` | WordPress plugin, theme, block, REST, AJAX, shortcode, query, or WP-CLI code | Escaping, sanitization, nonces, capabilities, prepared queries, i18n, query/caching mistakes | `clean-code-guard`; `woo-guard` when Woo APIs appear | | `woo-guard` | WooCommerce extension, checkout, order, product, gateway, shipping, or HPOS code | Direct order meta, HPOS breakage, missing compatibility declarations, checkout bypasses, money errors | `wp-guard` for the WordPress layer | ## The skills ### clean-code-guard Applies Clean Code, SOLID, DRY/KISS/YAGNI to generated or changed code in any language, plus an AI-specific layer most rule packs miss: catch-all error swallowing, hardcoded "success" returns, hallucinated APIs, premature abstraction, comment pollution, and copy-from-similar bugs. Why the AI layer matters: the skill references published research on duplication growth, package hallucin
Excerpt of 8,328 characters
Read on GitHub4
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:b6bd7ad6968a3d29, topic:code-review