Skip to main content
Back to registry

wp-phpstan

wordpress/agent-skills

Installs233
Install command
npx skills add https://github.com/wordpress/agent-skills --skill wp-phpstan
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
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. 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: - setting up or updating phpstan.neon / phpstan.neon.dist - generating or updating phpstan-baseline.neon - fixing PHPStan errors via WordPress-friendly PHPDoc (REST requests, hooks, query results) - handling third-party plugin/theme classes safely (stubs/autoload/targeted ignores) - wp-project-triage output (run first if you haven't) - Whether adding/updating Composer dev dependencies is allowed (stubs). - Whether changing the baseline is allowed for this task. - Inspect PHPStan setup (config, baseline, scripts): - node skills/wp-phpstan/scripts/phpstan_inspect.mjs - Confirm the package is installed (see composer.dependencies in the inspect report). - Ensure the PHPStan config references the stubs (see references/third-party-classes.md ). - Keep paths focused on first-party code (plugin/theme directories).

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does wp-phpstan do?

wp-phpstan is listed in SkillJury, but the source summary is still sparse.

Is wp-phpstan good?

wp-phpstan does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does wp-phpstan work with?

wp-phpstan currently lists compatibility with codex, gemini-cli, opencode, cursor, kimi-cli, github-copilot.

What are alternatives to wp-phpstan?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install wp-phpstan?

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

Related skills

More from wordpress/agent-skills

Related skills

Alternatives in Software Engineering