wp-plugin

Scaffold WordPress plugins with boilerplate, activation handlers, and REST endpoints.

14|1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/wpgaurav/WordPress-skills --skill wp-plugin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wp-plugin
Source: https://github.com/wpgaurav/WordPress-skills/tree/main/skills/wordpress/wp-plugin
Command: npx skills add https://github.com/wpgaurav/WordPress-skills --skill wp-plugin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

WordPress plugin development often lacks a solid, repeatable scaffold, leading to inconsistent structures and longer onboarding. This Skill provides a production-ready plugin boilerplate with proper structure, naming conventions, and standard hooks to accelerate development and quality.

Core Features & Use Cases

  • Main plugin bootstrap with header, constants, and autoloader for clean initialization.
  • Activation, deactivation, and uninstall handlers with safe defaults and version checks.
  • Admin and frontend scaffolding including settings page, AJAX endpoints, REST API integration, and a sample custom post type.
  • Generators, tests, and coding standards embedded to enforce best practices across teams.

Quick Start

Install the wp-plugin scaffold in your WordPress project and activate it from the admin to begin development.

Frequently Asked Questions about wp-plugin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a WordPress plugin with REST API endpoints and an admin UI?

You can scaffold a production-ready WordPress plugin that includes a working admin UI, REST API endpoints, and a sample custom post type. The generated boilerplate enforces namespace usage, autoloading, and a singleton main class for clean initialization.

What is the best way to set up WordPress plugin activation and deactivation flows?

The best way to set up activation and deactivation flows is using a standards-compliant boilerplate that provides safe default handlers and version checks. This ensures robust lifecycle management and clean uninstall routines for your WordPress plugin.

Does this WordPress plugin boilerplate follow WordPress coding standards?

Yes, this WordPress plugin boilerplate strictly follows WordPress coding standards. It enforces proper naming conventions, namespace usage, and structural organization to accelerate development quality and team onboarding.

How do I add a custom post type and settings page to a WordPress plugin?

You can add a custom post type and settings page by using a scaffold that generates standard admin and frontend structures. The boilerplate includes a sample custom post type and settings page directly within the initial plugin setup.

Can I use AJAX endpoints with a singleton main class in WordPress plugin development?

Yes, you can use AJAX endpoints alongside a singleton main class in WordPress plugin development. The scaffold provides a robust architecture that integrates AJAX endpoints, autoloading, and admin UI components efficiently.

What's included in a production-ready WordPress plugin boilerplate?

A production-ready WordPress plugin boilerplate includes a main bootstrap with constants, activation and deactivation handlers, admin settings pages, REST API integration, and a sample custom post type. It also embeds generators and tests to enforce best practices.