skills.vishalvoidskills/vishalvoid
EnterpriseAdvanced

wp-plugin-development

Plugin architecture, hooks, settings API, security

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/WordPress/agent-skills --skill wp-plugin-development

Overview

What This Skill Does

Plugin architecture, hooks, settings API, security

Application

When to use this Skill

Documentation

Show Skills.md file

WP Plugin Development

When to use

Use this skill for plugin work such as:

  • creating or refactoring plugin structure (bootstrap, includes, namespaces/classes)
  • adding hooks/actions/filters
  • activation/deactivation/uninstall behavior and migrations
  • adding settings pages / options / admin UI (Settings API)
  • security fixes (nonces, capabilities, sanitization/escaping, SQL safety)
  • packaging a release (build artifacts, readme, assets)

Inputs required

  • Repo root + target plugin(s) (path to plugin main file if known).
  • Where this plugin runs: single site vs multisite; WP.com conventions if applicable.
  • Target WordPress + PHP versions (affects available APIs and placeholder support in $wpdb->prepare()).

Procedure

0) Triage and locate plugin entrypoints

  1. Run triage:
    • node skills/wp-project-triage/scripts/detect_wp_project.mjs
Lines 1 - 25 of 106

Recommendations

Explore other random skills

All skillsMy patterns