本文へスキップ
Kitbay
掲載依頼
スキル公式

wp-phpstan

GPL-2.0-or-later2026年11月9日 更新2,352GitHubスタースクリプトあり

A WordPress project skill for PHPStan static analysis in plugins, themes and sites.

スキルの内容

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.

できること

  • Set up PHPStan for a WordPress project
  • Load WordPress core stubs
  • Fix type errors with WordPress annotations
  • Manage a PHPStan baseline