Repository navigation
v0.1.0 — first public release
First public release of wp-agentic-kit — a starter kit for building WordPress plugins with agentic engineering. The harness, the skills, the MCP servers, and the hooks Marcel uses every day, packaged so you can install once and start delegating implementation.
Companion to the talk "A Nova Era do WordPress: De Developer a Arquiteto com Engenharia Agêntica" at WordCamp Portugal 2026.
Quick start
npm create wp-ai-plugin my-cool-plugin
# or
npx create-wp-ai-plugin my-cool-pluginRequires Node 18+, PHP 8.2+, composer, and git on $PATH.
What this version ships
- Node CLI scaffolder (
create-wp-ai-pluginon npm) — interactive prompts (plugin name, vendor prefix, description, author, minimum WordPress + PHP versions), then fetches the kit, applies the identity, runscomposer installandnpm installforegrounded with spinners, and tags the initial commitscaffoldsogit reset --hard scaffoldalways works. - CLAUDE.md / AGENTS.md templates that tell agents how WordPress projects work — security rules, naming conventions, file layout, mandatory checks.
.claude/settings.jsonwith a curated permission allowlist for WordPress dev (wp-cli, composer, php, npm, git, gh, phpcs, phpunit, phpstan, the kit's MCP servers)..mcp.jsonwiring five project-scoped MCP servers:wp-devdocs,wp-blockmarkup,wp-playground,chrome-devtools,github..claude/skills/— the kit's own interview-drivenwordpress-developmentscaffolder plus the full WordPress/agent-skills library (15 skills covering blocks, themes, REST, abilities, performance, PHPStan, Playground, WP-CLI, and more) pulled fresh fromtrunkat scaffold time..claude/agents/security-reviewer.md— read-only sub-agent that audits PHP/JS against the project's SECURITY checklist. Tool-restricted toRead / Grep / Glob / Bashso it physically can't edit code.- Hooks
post-edit.sh— payload-aware lint of just the file the agent edited (phpcs / eslint / stylelint). Non-blocking.pre-commit.sh— filtersgit commit*and delegates toscripts/quality.sh. Blocking.scripts/quality.sh— single source of truth for the quality suite, gated on tool existence. Usable from Claude Code hooks,.git/hooks/pre-commit, and CI.
- Plugin baseline that makes the gate real from commit one:
composer.json(WPCS, PHPCompatibility-WP, PHPUnit, phpunit-polyfills)phpcs.xml.dist(WordPress + PHPCompatibilityWP rules, version configs templated to your choices)package.json(@wordpress/scriptsonly — pulls eslint, stylelint, webpack, jest, prettier transitively).eslintrc.json/.stylelintrc.jsonextending the WP configs so plain./node_modules/.bin/eslintandstylelintwork without arguments.
- Eight-chapter walkthrough in
docs/— CLAUDE.md, skills, MCP servers, sub-agents, hooks, permissions, end-to-end.
Pin a release
npm create wp-ai-plugin my-cool-plugin -- --ref v0.1.0License
MIT.