blueprint
Use when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing,…
Use when configuring, running, or fixing PHPStan static analysis in WordPress projects (plugins/themes/sites): phpstan.neon setup, baselines, WordPress-specific typing, and handling third-party plugin classes.
Claude Code
$ npx -y skills add WordPress/agent-skills --skill wp-phpstan --agent claude-code
Codex
$ npx skills add WordPress/agent-skills --skill wp-phpstan -a codex -y
Cursor
$ npx skills add WordPress/agent-skills --skill wp-phpstan -a cursor -y
Gemini CLI
$ npx skills add WordPress/agent-skills --skill wp-phpstan -a gemini-cli -y
GitHub Copilot
$ npx skills add WordPress/agent-skills --skill wp-phpstan -a github-copilot -y
OpenCode
$ npx skills add WordPress/agent-skills --skill wp-phpstan -a opencode -y
Windsurf
$ npx skills add WordPress/agent-skills --skill wp-phpstan -a windsurf -y
name: wp-phpstan description: "Use when configuring, running, or fixing PHPStan static analysis in WordPress projects (plugins/themes/sites): phpstan.neon setup, baselines, WordPress-specific typing, and handling third-party plugin classes." compatibility: "Targets WordPress 7.0+ (PHP 7.4.0+). Requires Composer-based PHPStan."
Use this skill when working on PHPStan in a WordPress codebase, for example:
1. Inspect PHPStan setup (config, baseline, scripts):
Prefer the repo’s existing `composer` script (e.g. `composer run phpstan`) when present.
`szepeviktor/phpstan-wordpress` or `php-stubs/wordpress-stubs` are effectively required for most WordPress plugin/theme repos. Without it, expect a high volume of errors about unknown WordPress core functions.
See:
Prefer correcting types over ignoring errors. Common WP patterns that need help:
See:
When integrating with plugins/themes not present in the analysis environment:
See:
See:
Teach AI coding assistants how to build WordPress the right way. Agent Skills are portable bundles of instructions, checklists, and scripts that help AI assistants (Claude, Copilot, Codex, Cursor, etc.)
Use when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing,…
Use when the user asks about WordPress codebases (plugins, themes, block themes, Gutenberg blocks, WP core checkouts) and you…
Use when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, /wp-json/wp-abilities/v1/*,…
Audit a WordPress plugin's REST surface and produce a standardized audit document proposing Abilities API registrations. Produces…
Verify a WordPress plugin's Abilities API registrations: enumerate abilities, check that callback behavior matches each…
Use when developing WordPress (Gutenberg) blocks: block.json metadata, register_block_type(_from_metadata),…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.