MR
Mayur Rathi
@mayurrathi
⭐ 40.7k GitHub stars

Wordpress Plugin Development

Wordpress Plugin Development is an code AI skill with a core value of WordPress plugin development workflow covering plugin architecture, hooks, admin interfaces, REST API, and security best practices. It helps developers solve real-world problems in the code domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

WordPress plugin development workflow covering plugin architecture, hooks, admin interfaces, REST API, and security best practices.

Last verified on: 2026-07-08

Quick Facts

Category code
Works With Claude
Source sickn33/antigravity-awesome-skills
Stars ⭐ 40.7k
Last Verified 2026-07-08
Risk Level Low
mkdir -p ./skills/wordpress-plugin-development && curl -sfL https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/wordpress-plugin-development/SKILL.md -o ./skills/wordpress-plugin-development/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# 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 scaffolding

- `backend-dev-guidelines` - Backend patterns


#### Actions

1. Create plugin directory structure

2. Set up main plugin file with header

3. Implement activation/deactivation hooks

4. Set up autoloading

5. Configure text domain


#### Copy-Paste Prompts

text
Use @app-builder to scaffold a new WordPress plugin

Phase 2: Plugin Architecture


#### Skills to Invoke

- `backend-dev-guidelines` - Architecture patterns


#### Actions

1. Design plugin class structure

2. Implement singleton pattern

3. Create loader class

4. Set up dependency injection

5. Configure plugin lifecycle


#### Copy-Paste Prompts

text
Use @backend-dev-guidelines to design plugin architecture

Phase 3: Hooks Implementation


#### Skills to Invoke

- `wordpress-penetration-testing` - WordPress patterns


#### Actions

1. Register action hooks

2. Create filter hooks

3. Implement callback functions

4. Set up hook priorities

5. Add conditional hooks


#### Copy-Paste Prompts

text
Use @wordpress-penetration-testing to understand WordPress hooks

Phase 4: Admin Interface


#### Skills to Invoke

- `frontend-developer` - Admin UI


#### Actions

1. Create admin menu

2. Build settings pages

3. Implement options registration

4. Add settings sections/fields

5. Create admin notices


#### Copy-Paste Prompts

text
Use @frontend-developer to create WordPress admin interface

Phase 5: Database Operations


#### Skills to Invoke

- `database-design` - Database design

- `postgresql` - Database patterns


#### Actions

1. Create custom tables

2. Implement CRUD operations

3. Add data validation

4. Set up data sanitization

5. Create data upgrade routines


#### Copy-Paste Prompts

text
Use @database-design to design plugin database schema

Phase 6: REST API


#### Skills to Invoke

- `api-design-principles` - API design

- `api-patterns` - API patterns


#### Actions

1. Register REST routes

2. Create endpoint callbacks

3. Implement permission callbacks

4. Add request validation

5. Document API endpoints


#### Copy-Paste Prompts

text
Use @api-design-principles to create WordPress REST API endpoints

Phase 7: Security


#### Skills to Invoke

- `wordpress-penetration-testing` - WordPress security

- `security-scanning-security-sast` - Security scanning


#### Actions

1. Implement nonce verification

2. Add capability checks

3. Sanitize all inputs

4. Escape all outputs

5. Secure database queries


#### Copy-Paste Prompts

text
Use @wordpress-penetration-testing to audit plugin security

Phase 8: Testing


#### Skills to Invoke

- `test-automator` - Test automation

- `php-pro` - PHP testing


#### Actions

1. Set up PHPUnit

2. Create unit tests

3. Write integration tests

4. Test with WordPress test suite

5. Configure CI


#### Copy-Paste Prompts

text
Use @test-automator to set up plugin testing

Plugin Structure


text
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 development

- `wordpress-theme-development` - Theme developme

🎯 Best For

  • Security auditors
  • DevSecOps teams
  • Compliance officers
  • Claude users
  • Software engineers

💡 Use Cases

  • Auditing dependencies for known CVEs
  • Scanning API endpoints for auth gaps
  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Wordpress Plugin Development to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Can this replace a dedicated SAST tool?

AI-based security review is complementary to SAST tools. Use it as a first-pass filter, not a replacement.

Is Wordpress Plugin Development compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for Wordpress Plugin Development?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install Wordpress Plugin Development?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/wordpress-plugin-development/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Only scanning surface-level issues

Deep security review requires understanding your app architecture, not just regex patterns.

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills