Guard Skills: Guard Skills for AI Coding Agents
Second-pass quality gates that catch AI-generated failure modes in code, tests, and docs before they ship.
- Source repo
- amElnagdy/guard-skills
- Stars
- ★ 1.3k
- Last updated
- 9d ago
- FARS reviewed
- Nov 08, 2026
- License
- MIT
- FA score
- 65/100 · Some gaps
At a glance
- How it runs
- Works with
- Platform-specificChatGPT · Codex · Claude Code
- Cost
- Free, no paid service needed
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer asks their coding agent to review a diff with
$clean-code-guardafter producing production code, to catch over-abstraction and error-swallowing before merge. - Not a fit if
- Teams wanting a full development workflow, not just review gates
- Teams expecting enforced automated checks; skills are guides, not checkers
- Environments without network or the Skills CLI, needed to install and update
- Website
- skills.sh/amElnagdy/guard-skills ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-24+0.9 ★/day over 7 days
- Source review
- 65/100 · Some gaps
What does this agent do, and when should you use it?
Guard Skills is a collection of focused guard skills for coding agents, acting as second-pass quality gates to catch systematic failure modes in AI-generated code, tests, and docs before delivery. It includes five skills: clean-code-guard (code quality gate for any language), test-guard (test code quality gate), docs-guard (documentation accuracy gate), wp-guard (WordPress-specific gate), and woo-guard (WooCommerce-specific gate). Each skill is structured with a lightweight SKILL.md entrypoint and progressive-disclosure references, with metadata supporting agents like Claude Code, Codex, Cursor, and OpenCode. Installation and updates are managed via the Skills CLI from Vercel Labs, supporting single-skill or global installation. The skills are best used as reactive review passes after an agent produces work, but can also guide writing when explicitly requested. The project is MIT-licensed, designed to be inspectable, containing only Markdown and YAML metadata with no executable scripts or credentials.
Guard Skills are distributed via the Skills CLI (npx skills add amElnagdy/guard-skills) and include five skills: clean-code-guard applies Clean Code, SOLID, DRY/KISS/YAGNI principles plus an AI-specific layer (catch-all error swallowing, hardcoded success returns, hallucinated APIs, premature abstraction, comment pollution, copy-from-similar bugs); test-guard enforces nine universal rules (e.g., mock only at system boundaries, parametrize instead of copy-pasting) with framework-specific progressive-disclosure references for pytest, PHPUnit/Pest, Jest/Vitest, Go tests, etc.; docs-guard treats documentation as a list of claims and verifies each against the codebase to catch hallucinated symbols and broken samples; wp-guard enforces WordPress practices (escaping, sanitization, nonces, capabilities, prepared queries, i18n, query/caching discipline); woo-guard enforces WooCommerce-specific rules (HPOS-safe order access, CRUD over direct meta, truthful feature-compatibility declarations, server-side checkout validation, money-handling discipline). Each skill is loaded via a SKILL.md entrypoint with deeper guidance loaded on demand.
- A developer asks their coding agent to review a diff with
$clean-code-guardafter producing production code, to catch over-abstraction and error-swallowing before merge. - After writing tests, a developer uses
$test-guardto check for mock abuse, duplicate tests, and assertions that don't catch anything. - Before shipping a README update, a developer runs
$docs-guardto verify all referenced symbols and examples are real and runnable. - A WordPress developer uses
$wp-guardto enforce escaping, nonce checks, and prepared queries in plugin changes. - A WooCommerce developer uses
$woo-guardto ensure HPOS compatibility and proper money handling in checkout customizations.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx skills add amElnagdy/guard-skills --listnpx skills add amElnagdy/guard-skillsnpx skills add amElnagdy/guard-skills --skill clean-code-guardnpx skills add amElnagdy/guard-skills --skill test-guard --agent claude-code
How do you install or deploy this agent?
- List available skills:
npx skills add amElnagdy/guard-skills --list. - Install the package:
npx skills add amElnagdy/guard-skills. - Install a single skill, e.g.,
npx skills add amElnagdy/guard-skills --skill clean-code-guard. - Install for a specific agent, e.g.,
npx skills add amElnagdy/guard-skills --skill test-guard --agent claude-code. - Install globally:
npx skills add amElnagdy/guard-skills --global. - Update skills:
npx skills updateor re-run the add command.
How do you use this agent?
Run a guard after your agent produces work: Use $clean-code-guard on the diff you just produced. Use $test-guard on the tests you just wrote. Use $docs-guard on the README update before shipping. Use $wp-guard on WordPress plugin changes. Use $woo-guard on WooCommerce checkout changes. You can also use a guard up front: 'Use $wp-guard while implementing this REST endpoint, then self-check before delivery.'
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Specifically targets AI-generated code failure modes (error swallowing, hallucinated APIs) unlike generic linters.
- Uses progressive disclosure: lightweight SKILL.md loads cheaply, deeper guidance only when needed.
- Covers niche domains like WordPress and WooCommerce with platform-specific security and correctness rules.
- Inspectable: no scripts, credentials, or network calls, making it safe to audit.
- Requires Skills CLI and network access for installation, which may be a dependency.
- Skills are copied locally, so updates need manual re-installation; otherwise they may become stale.
- Limited to review gates, not a full development workflow, so it won't cover whole process.
- No guarantee that all best practices are covered; each skill is a guide, not a formal checker.
How does this agent compare with similar options?
Compared to WordPress/agent-skills which teach agents to build across the WordPress ecosystem, Guard Skills is narrower: it provides review gates to run after work is produced, focusing on catching common AI failure modes rather than building abilities.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Guard Skills: Guard Skills for AI Coding Agents This agent | 65 · Some gaps | CLIFree | ★ 1.3k | 9d ago | — | ChatGPT · Codex · Claude Code |
| Agent Skills — Production-Grade Engineering Skills for AI Agents | 67 · Some gaps | CLIFree + model costs | ★ 122k | 9d ago | JavaScript | Codex · Claude Code · OpenAI API |
| ECC Engineering Harness | 63 · Some gaps | Agent plugin / skillFreemium | ★ 315k | 1d ago | JavaScript | Codex · Claude Code |
| Plannotator | 80 · Good | CLIFreemium | ★ 16k | today | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The README says the skills consist of Markdown and lightweight metadata, with no executable scripts, network calls, MCP dependencies, or credentials. This supports narrow permissions, visible data flow, low sensitive-data exposure, and limited external effects. The skills say to ask before changing a contract, but do not give a general confirmation, rollback, or failure-recovery process, so those areas are not fully covered. Dependency security only establishes that there are no runtime dependencies; installation still uses the npx Skills CLI, without pinning or security guidance. External sources are said to be centralized in sources.md, which is not included in the sample, so attribution is only partly inspectable. Publisher identity is unknown and is not used to infer quality.
The skills consistently present themselves as review gates for code, tests, or documentation and describe modes and scope. The README gives installation and update commands, and the skills state that they require no specific MCP, network access, or local executable. Failure handling and user-facing error reporting are not specified, so failure messages score low.
The README and skill descriptions name concrete code, test, documentation, WordPress, and WooCommerce scenarios and explain when to pair guards. Each skill clearly excludes adjacent tasks, such as separating test review from production-code review and WooCommerce from general WordPress work. The package claims compatibility with multiple agents and languages, but actual use depends on the agent supporting SKILL.md and linked references; the sample also omits the full reference materials, so environment fit is not fully demonstrated.
The repository layout, skill entrypoints, and progressive-disclosure references are described, though the sampled skill files are truncated and cannot establish the complete organization. The README gives browse, install, per-skill, agent-specific, global, and update instructions. Naming is broadly consistent, but no versioning or changelog policy is shown; maintenance responsibility is only partly indicated by the license copyright line and publishing check, with no explicit maintainer or update commitment. The README provides usage examples and a selection table, and states limitations. The MIT license is explicit.
The skills provide topic-specific rules, invocation guidance, and review modes that can support concrete code and documentation reviews, though the sample does not show every rule or a complete report format. They add checks aimed at common AI errors and WordPress/WooCommerce platform risks. The stated benefits have a plausible workflow rationale, but there is no evidence about outcomes, costs, or usage burden, so scores are moderate.
The README ties claims about scope and repository shape to inspectable skill entrypoints; docs-guard asks agents to check documentation claims against code, and WooCommerce guidance names specific APIs and rules. The README mentions research sources, but the sample omits the bibliography and provides no independent test or corroboration material, limiting cross-source support. The skills generally present rules as instructions or recommendations, while the README mostly describes intended use, so fact and expected benefit are reasonably distinguishable. Confidence remains low as required for static review.
- The sampled skill files are truncated, and the references and source bibliography are not included; the complete rules, citations, and output formats cannot be confirmed.
- Installation and updates use the npx Skills CLI; the materials do not describe version pinning, release signatures, or dependency-security measures.
FAQ
Is there a cost to use these skills?
How do I update the skills after installing?
npx skills update or re-run the install command to re-fetch the latest version.Will these skills access my codebase or send data externally?
Are these skills a replacement for manual code review?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.