Agent skill
wordpress-plugin-development
WordPress plugin development workflow covering plugin architecture, hooks, admin interfaces, REST API, and security best practices.
Install this agent skill to your Project
npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/sickn33/wordpress-plugin-development
SKILL.md
WordPress Plugin Development Workflow
Overview
Specialized workflow for creating WordPress plugins with proper architecture, hooks system, admin interfaces, REST API endpoints, and security practices.
When to Use This Workflow
Use this workflow when:
- Creating custom WordPress plugins
- Extending WordPress functionality
- Building admin interfaces
- Adding REST API endpoints
- Integrating third-party services
Workflow Phases
Phase 1: Plugin Setup
Skills to Invoke
app-builder- Project scaffoldingbackend-dev-guidelines- Backend patterns
Actions
- Create plugin directory structure
- Set up main plugin file with header
- Implement activation/deactivation hooks
- Set up autoloading
- Configure text domain
Copy-Paste Prompts
Use @app-builder to scaffold a new WordPress plugin
Phase 2: Plugin Architecture
Skills to Invoke
backend-dev-guidelines- Architecture patterns
Actions
- Design plugin class structure
- Implement singleton pattern
- Create loader class
- Set up dependency injection
- Configure plugin lifecycle
Copy-Paste Prompts
Use @backend-dev-guidelines to design plugin architecture
Phase 3: Hooks Implementation
Skills to Invoke
wordpress-penetration-testing- WordPress patterns
Actions
- Register action hooks
- Create filter hooks
- Implement callback functions
- Set up hook priorities
- Add conditional hooks
Copy-Paste Prompts
Use @wordpress-penetration-testing to understand WordPress hooks
Phase 4: Admin Interface
Skills to Invoke
frontend-developer- Admin UI
Actions
- Create admin menu
- Build settings pages
- Implement options registration
- Add settings sections/fields
- Create admin notices
Copy-Paste Prompts
Use @frontend-developer to create WordPress admin interface
Phase 5: Database Operations
Skills to Invoke
database-design- Database designpostgresql- Database patterns
Actions
- Create custom tables
- Implement CRUD operations
- Add data validation
- Set up data sanitization
- Create data upgrade routines
Copy-Paste Prompts
Use @database-design to design plugin database schema
Phase 6: REST API
Skills to Invoke
api-design-principles- API designapi-patterns- API patterns
Actions
- Register REST routes
- Create endpoint callbacks
- Implement permission callbacks
- Add request validation
- Document API endpoints
Copy-Paste Prompts
Use @api-design-principles to create WordPress REST API endpoints
Phase 7: Security
Skills to Invoke
wordpress-penetration-testing- WordPress securitysecurity-scanning-security-sast- Security scanning
Actions
- Implement nonce verification
- Add capability checks
- Sanitize all inputs
- Escape all outputs
- Secure database queries
Copy-Paste Prompts
Use @wordpress-penetration-testing to audit plugin security
Phase 8: Testing
Skills to Invoke
test-automator- Test automationphp-pro- PHP testing
Actions
- Set up PHPUnit
- Create unit tests
- Write integration tests
- Test with WordPress test suite
- Configure CI
Copy-Paste Prompts
Use @test-automator to set up plugin testing
Plugin Structure
plugin-name/
├── plugin-name.php
├── includes/
│ ├── class-plugin.php
│ ├── class-loader.php
│ ├── class-activator.php
│ └── class-deactivator.php
├── admin/
│ ├── class-plugin-admin.php
│ ├── css/
│ └── js/
├── public/
│ ├── class-plugin-public.php
│ ├── css/
│ └── js/
├── languages/
└── vendor/
Quality Gates
- Plugin activates without errors
- All hooks working
- Admin interface functional
- Security measures implemented
- Tests passing
- Documentation complete
Related Workflow Bundles
wordpress- WordPress developmentwordpress-theme-development- Theme developmentwordpress-woocommerce- WooCommerce
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
perigon-backend
Perigon ASP.NET Core + EF Core + Aspire conventions
perigon-agent
Pointers for Copilot/agents to apply Perigon conventions
perigon-angular
Angular 21+ standalone/Material/signal conventions for Perigon WebApp
fastapi-mastery
Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.
context7-efficient
Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.
browser-use
Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.
Didn't find tool you were looking for?