Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

wp-guard

Skill by sickn33

Reviews generated or changed WordPress plugins, themes, and blocks for security, internationalization, performance, and API correctness. Built for developers who want an AI agent to check WordPress code before it ships.

  • Score 92
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install wp-guard

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/wp-guard ~/.claude/skills/wp-guard

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install wp-guard in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

WP Guard is an agent skill that reviews generated or changed WordPress plugins, themes, and blocks before they ship. It covers security, internationalization, performance, and API correctness. The rules address escaping, sanitizing input, nonces and capability checks, prepared SQL, translation wrappers, query limits, and caching.

The skill works in three modes. Guard-pass mode applies the rules to a diff or target files after code is written. Live mode applies them while writing. Review mode walks a checklist and produces a structured findings report, with security issues listed first. The source says it is for reviewing WordPress code the user owns or is authorized to assess. It pairs with clean-code-guard when both are installed.

Written from the project's SKILL.md and checked against it.

What it can do

  • Escaping and sanitizingChecks that output is escaped in context and that request data is unslashed and sanitized.
  • Nonce and capability checksFlags privileged AJAX, form, and REST mutation handlers that lack authorization or nonce validation.
  • Prepared SQLFlags $wpdb queries that interpolate variables instead of using placeholders.
  • Translation readinessChecks user-facing strings, literal text domains, plurals, and translator comments.
  • Query and cache limitsFlags unbounded queries, uncached remote calls, and scripts enqueued on every screen.
  • Hook and function verificationChecks that hooks and functions exist in the supported WordPress versions before use.
  • Prefix checksChecks that public functions, options, meta keys, and handles carry the project prefix.
  • Structured review reportProduces findings grouped by file with the rule, risk, and fix for each violation.

What you need

  • WordPress plugin, theme, or block code to review
  • Project files such as CLAUDE.md, AGENTS.md, phpcs.xml, or composer.json, if present
  • WPCS for mechanical checks, run separately from this skill

Try asking

  • Review this WordPress plugin diff for escaping and nonce issues.
  • Run a wp-guard review on the files in includes/ and list findings.
  • Check my new REST route for permission callback problems.

Good to know

  • Does not run PHPCS, PHPStan, or Plugin Check.
  • Does not decide plugin architecture or business logic.
  • Review only code the user owns or is explicitly authorized to assess.
  • Stays read-only and gives defensive guidance until the user confirms a target and scope.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/wp-guard/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md11 KB
  • references/i18n.md4 KB
  • references/performance.md4 KB
  • references/review-checklist.md3 KB
  • references/security.md5 KB
Show all 6 files
  • references/sources.md2 KB

Alternatives to wp-guard

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

wp-guard: common questions

Does wp-guard run PHPCS or Plugin Check?

No. The source says it does not run PHPCS, PHPStan, or Plugin Check. It is a judgment layer, and project tooling handles mechanical verification.

Does wp-guard edit code during a review?

In review mode it does not edit code unless the user asks. In guard-pass mode it applies fixes before showing the user the result.

Which rules are the most serious?

Rules 1 to 4 cover escaping, sanitizing, identity and intent checks, and prepared SQL, and are marked must fix. Rules 5 to 9 are should fix.

How do I install wp-guard?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is wp-guard free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is wp-guard safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to wp-guard?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

wp-guard Install

Add to stack

Loading.