Updated 3mo ago
by amElnagdy
guard-skills
Guard skills for coding agents, quality gates that catch AI-generated failure modes in code, tests, and docs
1.3k GitHub stars (1,268)
+16 in 20 days
| Period | New stars |
|---|---|
| Sep 27 | 0 |
| Sep 28 | 0 |
| Sep 29 | +2 |
| Sep 30 | 0 |
| Oct 1 | 0 |
| Oct 2 | 0 |
| Oct 3 | +1 |
| Oct 4 | +1 |
| Oct 5 | +2 |
| Oct 6 | +1 |
| Oct 7 | +1 |
| Oct 8 | 0 |
| Oct 9 | 0 |
| Oct 10 | +1 |
| Oct 11 | 0 |
| Oct 12 | +2 |
| Oct 13 | +1 |
| Oct 14 | +2 |
| Oct 15 | 0 |
| Oct 16 | +2 |
- 5 skills (5 skills found in its SKILL.md files)
- 145 forks (145 forks)
- 3mo ago last update (Last updated 3mo ago)
Install
Skills CLI
npx skills add amElnagdy/guard-skills
Asks which skills and agents to install. Just one: npx skills add amElnagdy/guard-skills --skill clean-code-guard — add -g for every project.
Claude Code
git clone https://github.com/amElnagdy/guard-skillscp -r "guard-skills/skills/clean-code-guard" ~/.claude/skills/
Copies the clean-code-guard skill into ~/.claude/skills/ for every project (use .claude/skills/ for one project). Repeat for the other skills listed below.
Plugin
/plugin marketplace add amElnagdy/guard-skills
Run inside Claude Code if the repository ships a plugin marketplace, then pick plugins from /plugin.
Skills can run code on your machine — read the SKILL.md first.
What it does
In the author's own words, from each skill's SKILL.md.
-
clean-code-guard
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 thi…
skills/clean-code-guard/SKILL.md on GitHub (opens in a new tab) -
docs-guard
Review generated or changed documentation before it ships — READMEs, API references, docstrings, PHPDoc/JSDoc, changelogs, tutorials, and doc sites. Best used reactively after an agent writes or edits docs, after code changes documented behavior, or before publishing docs. Use when the user says 'review the docs', 'is this documentation accurate', 'update the docs', 'write a README', 'document th…
skills/docs-guard/SKILL.md on GitHub (opens in a new tab) -
test-guard
Review generated or changed test code against universal testing rules before it ships. Best used reactively after an agent writes, edits, generates, or refactors tests, before presenting, committing, or merging them. Use for pytest (test_*.py, *_test.py), PHPUnit/Pest (*Test.php), Jest/Vitest (*.test.ts, *.spec.js), Go (*_test.go), files under tests/, __tests__/, or spec/, and review requests lik…
skills/test-guard/SKILL.md on GitHub (opens in a new tab) -
woo-guard
Review generated or changed WooCommerce code — extensions, payment and shipping integrations, checkout customizations, and order/product logic — before it ships. Best used reactively after an agent writes, edits, or reviews code touching WooCommerce APIs: wc_get_order, wc_get_orders, wc_get_product, WC() cart or session, woocommerce_* hooks, Store API endpoints, payment gateways, order or product…
skills/woo-guard/SKILL.md on GitHub (opens in a new tab) -
wp-guard
Review generated or changed WordPress code — plugins, themes, and blocks — before it ships. Best used reactively after an agent writes, edits, or reviews code touching WordPress APIs: add_action/add_filter, shortcodes, meta boxes, AJAX handlers, REST routes, WP_Query or $wpdb, widgets, or WP-CLI commands. Use on 'review this plugin', 'is this safe to ship', 'make this translatable', 'speed up thi…
skills/wp-guard/SKILL.md on GitHub (opens in a new tab)
No skill matches that filter.
Review before you install
A skill is a set of instructions and scripts your agent will follow, and it can run code on your machine. Read the SKILL.md and any scripts first — this listing is not a security review.