wp-phpstan
π―Skillfrom automattic/agent-skills
wp-phpstan skill from automattic/agent-skills
Installation
npx skills add https://github.com/automattic/agent-skills --skill wp-phpstanMore from this repository10
Classifies WordPress repositories and automatically routes AI assistants to the most appropriate development workflow based on project type, structure, and detected technologies.
Teaches AI coding assistants best practices for WordPress plugin development, including proper plugin architecture, secure hook usage, settings API implementation, and security considerations.
Teaches AI coding assistants best practices for creating modern WordPress block themes, including `theme.json` configuration, template design, pattern creation, and style variations.
Teaches AI assistants how to use WP-CLI for WordPress automation, multisite management, database operations like search-replace, and general WordPress operational tasks.
Automatically detects and classifies WordPress project types, tooling configurations, and version details to provide context-aware development guidance.
Teaches AI assistants how to implement capability-based permissions and handle authentication for WordPress REST API endpoints, ensuring secure and granular access control.
Teaches AI assistants how to implement WordPress's Interactivity API using `data-wp-*` directives and state management stores for creating dynamic, interactive frontend experiences.
Teaches AI coding assistants best practices for creating Gutenberg blocks, including proper `block.json` configuration, attribute handling, rendering techniques, and managing block deprecations.
Provides guidance and techniques for optimizing WordPress performance, including database query optimization, caching strategies, profiling tools, and server-side performance tuning recommendations.
Enables AI assistants to quickly spin up and interact with local WordPress development environments using WordPress Playground for instant, ephemeral testing and configuration.