# WordPress Plugin Boilerplate Powered Skill

> Develop, maintain, and modernize WordPress plugins using the PSR-4 WordPress Plugin Boilerplate Powered (WPBP) framework.

WordPress Plugin Boilerplate Powered Skill is a paid AI agent skill on Agensi by Daniele “Mte90” Scasciafratte, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Daniele “Mte90” Scasciafratte](https://www.agensi.io/creators/daniele-mte90-scasciafratte)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0
- Last updated: 2026-10-08
- Security: scan passed (2026-10-08); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/wordpress-plugin-boilerplate-powered-skill
- Tags: api, ecommerce, web-design, wordpress, phpstan, codeception, psr-4

## About this skill

Standard WordPress development often leads to messy, procedural plugins that are hard to test and maintain. This skill manages the WordPress Plugin Boilerplate Powered (WPBP) ecosystem, a PSR-4 compliant meta-project designed for building professional-grade plugins with modern PHP standards. It handles the complex relationship between the boilerplate template, the project generator, and the modular engine core.

### What it does
- **Boilerplate Architecture Management** helps you navigate and modify the engine, context, and initialization logic of WPBP-based projects.
- **Generator Synchronization** ensures any changes to template code preserve the `WPBPGen` conditional directives and `{{placeholder}}` tags required by the generator.
- **Toolchain Automation** runs pre-configured workflows for Composer, npm, PHPStan (level max), and GrumPHP to maintain code quality.
- **Testing Suite Execution** manages Codeception and wp-browser configurations for unit, wpunit, functional, and acceptance testing.
- **Modernization Execution** follows the F0-F5 improvement plan to upgrade legacy projects to PHP 8.1+ and improved architectural patterns.

### How it works
1. **Context Analysis** identifies if you are working on the boilerplate core, the generator, or a specific plugin instance.
2. **Environment Setup** runs `composer install` and `npm install`, ensuring the critical `composer dumpautoload -o` command is executed to prevent production failures.
3. **Capability Extension** adds new features via PSR-4 classes in `Integrations` or `Internals` folders, automatically registering them via the `Initialize` class.
4. **Verification Loop** triggers static analysis and test suites to confirm that new code meets the strict coding standards before commit.

### Frameworks & tools
This tool uses PHP 7.4/8.1, WordPress, Composer, npm, PHPStan, Codeception, wp-browser, GrumPHP, and React for Gutenberg blocks.

### Why this beats prompting it yourself
Generic AI prompts often ignore the "meta" nature of a boilerplate, accidentally deleting the generator directives that allow the template to function. This skill understands the internal dependency between the `Initialize` engine and the `Context` container, preventing common initialization deaths in production environments.

### Use cases
- Scaffold a new WordPress plugin using the `wpbp-generator` CLI.
- Refactor legacy procedural hooks into PSR-4 compliant classes.
- Implement automated CI/CD pipelines using the included GitHub Actions workflows.
- Troubleshoot autoloading and namespace issues in complex multi-folder plugins.

### Known limitations
Requires a local environment with PHP, Node, and MySQL for full test suite execution. It is strictly tied to the WPBP architecture and does not support generic procedural WordPress plugin structures.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the WordPress Plugin Boilerplate Powered Skill skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Will this skill break the generator tags if I use it to edit the boilerplate template?

Unlike generic coding assistants, this skill recognizes and preserves the `{{placeholder}}` tags and `WPBPGen` directives, ensuring your template remains functional for future scaffolding.

### Can I use this to migrate an existing procedural plugin to the WPBP framework?

Yes, it includes a specific F0-F5 modernization workflow designed to refactor legacy procedural hooks into PSR-4 compliant classes and PHP 8.1+ syntax.

### How does this skill handle code quality and testing?

The skill automates the configuration of PHPStan (at max level), GrumPHP, and Codeception, ensuring your plugin meets enterprise-grade static analysis and testing standards.

### Are there any specific system requirements for the agent to use this skill?

It requires a local development environment with PHP 7.4/8.1+, Node.js, and Composer already installed to execute the toolchain commands.

### What exactly is included in the wpbp dev skill package?

The skill includes a comprehensive logic mapping for the WPBP architecture, automated workflows for the toolchain, and pre-defined modernization strategies for plugin lifecycle management.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
