·wp-phpstan
{}

wp-phpstan

wordpress/agent-skills

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.

57Installs·4Trend·@wordpress

Installation

$npx skills add https://github.com/wordpress/agent-skills --skill wp-phpstan

SKILL.md

Use this skill when working on PHPStan in a WordPress codebase, for example:

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.

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. Source: wordpress/agent-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/wordpress/agent-skills --skill wp-phpstan
Category
{}Data Analysis
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is wp-phpstan?

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. Source: wordpress/agent-skills.

How do I install wp-phpstan?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/wordpress/agent-skills --skill wp-phpstan Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/wordpress/agent-skills