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.

Stars
★ 1.3k
Last updated
9d ago
FARS reviewed
Nov 08, 2026
License
MIT

At a glance

How it runs
CLIAgent plugin / skill
Works with
Platform-specificChatGPT · Codex · Claude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Shell / CLINetwork accessLocal filesystem
Typical use
A developer asks their coding agent to review a diff with $clean-code-guard after 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
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.

  1. A developer asks their coding agent to review a diff with $clean-code-guard after producing production code, to catch over-abstraction and error-swallowing before merge.
  2. After writing tests, a developer uses $test-guard to check for mock abuse, duplicate tests, and assertions that don't catch anything.
  3. Before shipping a README update, a developer runs $docs-guard to verify all referenced symbols and examples are real and runnable.
  4. A WordPress developer uses $wp-guard to enforce escaping, nonce checks, and prepared queries in plugin changes.
  5. A WooCommerce developer uses $woo-guard to 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 --list
  • npx skills add amElnagdy/guard-skills
  • npx skills add amElnagdy/guard-skills --skill clean-code-guard
  • npx skills add amElnagdy/guard-skills --skill test-guard --agent claude-code

How do you install or deploy this agent?

  1. List available skills: npx skills add amElnagdy/guard-skills --list.
  2. Install the package: npx skills add amElnagdy/guard-skills.
  3. Install a single skill, e.g., npx skills add amElnagdy/guard-skills --skill clean-code-guard.
  4. Install for a specific agent, e.g., npx skills add amElnagdy/guard-skills --skill test-guard --agent claude-code.
  5. Install globally: npx skills add amElnagdy/guard-skills --global.
  6. Update skills: npx skills update or 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Some gaps
65/ 100 5-point scale 3.3 / 5
Trust 16/29
Reliability 8/14
Adaptability 16/18
Convention 12/18
Effectiveness 9/13
Verifiability 4/8
Why each dimension lost points
Trust16 / 29 · 2.8/5

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.

Reliability8 / 14 · 2.9/5

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.

Adaptability16 / 18 · 4.4/5

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.

Convention12 / 18 · 3.3/5

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.

Effectiveness9 / 13 · 3.5/5

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.

Verifiability4 / 8 · 2.5/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision ffa26036b7b5 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/guard-skills.svg)](https://followagents.com/en/agents/guard-skills)
<a href="https://followagents.com/en/agents/guard-skills"><img src="https://followagents.com/badge/guard-skills.svg" alt="FARS review"></a>

FAQ

Is there a cost to use these skills?
The project is MIT-licensed and free to use; only requires Node.js environment for Skills CLI.
How do I update the skills after installing?
Run 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?
No. The skills are Markdown and YAML metadata with no executable scripts, network calls, or credentials.
Are these skills a replacement for manual code review?
No, they are quality gates to catch common AI errors before merge, but human review is still recommended.
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts