SkillOfficial
wp-phpstan
GPL-2.0-or-laterUpdated on Nov 9, 20262,352GitHub starsIncludes scripts
A WordPress project skill for PHPStan static analysis in plugins, themes and sites.
What the skill teaches
A WordPress project skill for PHPStan static analysis in plugins, themes and sites. It shows the agent how to find existing PHPStan setup, load WordPress core stubs, write a sensible phpstan.neon, fix errors with WordPress-specific type annotations rather than suppressing them, deal with classes from third-party plugins, and use a baseline only as a migration aid. It needs a Composer-based PHPStan install and includes a helper script.
Capabilities
- Set up PHPStan for a WordPress project
- Load WordPress core stubs
- Fix type errors with WordPress annotations
- Manage a PHPStan baseline
About
- Publisher
- WordPress (WordPress.org project)
- Tool
- WordPress
Install
- Run this to add it to Any client:
npx skills add WordPress/agent-skills --skill wp-phpstan
What's inside
- references/configuration.md
- references/third-party-classes.md
- references/wordpress-annotations.md
- scripts/phpstan_inspect.mjs
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | WordPress | |
| Publisher | WordPress (WordPress.org project) | source |
| Official status | Officialpublished in the WordPress project's own GitHub organisation; licence credits WordPress Contributors | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | GPL-2.0-or-later | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 9, 20262,352 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
More from WordPress (WordPress.org project)
2 servers · 20 skills
- MCP Adapter (MCP server)
- blueprint (Skill)
- wordpress-router (Skill)
- wp-abilities-api (Skill)
- wp-abilities-audit (Skill)
- wp-abilities-verify (Skill)
Sources
- Skill file (SKILL.md)github.com/WordPress/agent-skills · Backs: LicenceNov 10, 2026
- README (README.md)github.com/WordPress/agent-skills · Backs: Official status, PublisherNov 12, 2026
- Licence file (LICENSE)github.com/WordPress/agent-skills · Backs: LicenceNov 12, 2026
- Folder in the repository (wp-phpstan)github.com/WordPress/agent-skills · Backs: Includes scriptsNov 10, 2026
- GitHub repositorygithub.com/wordpress/agent-skills · Backs: ActivityNov 11, 2026