Skills
The WordPress MVC (WPMVC) framework includes support for AI integration through official skills designed for AI coding agents. These skills enhance development workflows by providing expert guidance on WPMVC-specific tasks, such as creating, modifying, or managing action hooks, filter hooks, widgets, shortcodes, models, controllers, views, assets, and project compilation.
Official AI Coding Agent Skill
The official public skill for WPMVC is hosted at https://github.com/10quality/skills. This skill equips AI coding agents with deep knowledge of PHP and JavaScript in the context of WordPress plugin and theme development using the WPMVC architecture. It enforces best practices like strict MVC separation, clean code organization, and framework conventions. Key features include:
- Expertise in WPMVC structure and conventions.
- Guidance on asset management using Gulp for compilation.
- Use of Ayuco CLI for scaffolding and namespace management.
- Emphasis on readability, maintainability, and avoiding common pitfalls like mixing concerns across MVC layers.
For detailed skill directives, refer to the SKILL.md file in the repository.
Installation
The skill can be installed using compatible AI coding agent tools.
Via Codex $:
https://github.com/10quality/skills --path=skills/wpmvc
Ensure your AI agent environment supports skill installation commands. For alternative agents, check their documentation for similar installation methods (e.g., via npx or agent-specific CLI tools).
How to trigger the skill?
To effectively trigger the skill, mention to your AI coding agent: "WordPress MVC", "WPMVC", or both.