bobmatnyc avatar

Wordpress Plugin Fundamentals

This is a solid foundation for building WordPress plugins the modern way: PHP 8.3+, OOP with PSR-4 autoloading, and WordPress 6.7+ APIs. It covers the three-layer security model (sanitize, validate, escape), Composer setup with WPCS and PHPUnit, and proper hooks integration. You'd reach for this when you're done with tutorial-style procedural code and want to structure plugins like actual applications. The 179 installs suggest it's seeing real use. Worth noting it assumes you're comfortable with modern PHP tooling, so if you're still writing functions.php code, expect a learning curve.

skills.sh installs
434
GitHub stars
79
last updated
Aug 21, 2026

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill wordpress-plugin-fundamentals --agent claude-code

Installs into .claude/skills of the current project.

Files

WordPress Plugin Fundamentals

Overview

WordPress plugin development using modern PHP 8.3+ practices, OOP architecture, Composer autoloading, and WordPress 6.7+ APIs. Build secure, maintainable plugins with proper hooks integration, database management, and settings pages.

Current Standards:

  • WordPress: 6.7+ (Full Site Editing stable)
  • PHP: 8.3 recommended (7.4 minimum)
  • Architecture: OOP with PSR-4 autoloading
  • Security: Three-layer model (sanitize, validate, escape)
  • Testing: PHPUnit + WPCS compliance

Installation:

composer require --dev wp-coding-standards/wpcs:"^3.0"
composer require --dev phpunit/phpunit:"^9.6"

Plugin Architecture

Directory Structure

Modern plugin organization with Composer autoloading:

Sponsors

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Categories
Frontend Development, Backend & APIs, Code Review & Quality, PHP & Laravel, Databases
First seen
Jun 3, 2026

More from bobmatnyc/claude-mpm-skills

All 158
1aj-geddes avatarserver-side-renderingaj-geddes/useful-ai-promptsImplement server-side rendering with template engines, view layers, and dynamic content generation. Use when building server-rendered applications, implementing433skills.sh installs
2davila7 avatarvercel-deploymentdavila7/claude-code-templatesExpert knowledge for deploying to Vercel with Next.js Use when: vercel, deploy, deployment, hosting, production.433skills.sh installs
3pedronauck avatarelectron-builderpedronauck/skillsComprehensive guide for electron-builder (v26.x) packaging, code signing, auto-updates, and release workflows. Use when: (1) configuring electron-builder builds433skills.sh installs
4guia-matthieu avatarheadline-formulasguia-matthieu/clawfu-skills25+ proven headline formulas that stop the scroll, capture attention, and drive clicks. Templates and examples for every situation. Use when: Writing headlines 431skills.sh installs
5davila7 avatarc4-architecturedavila7/claude-code-templatesGenerate architecture documentation using C4 model Mermaid diagrams. Use when asked to create architecture diagrams, document system architecture, visualize sof430skills.sh installs
6rstackjs avatarmigrate-to-rstestrstackjs/agent-skillsMigrate Jest or Vitest projects to Rstest. Use when asked to move from Jest/Vitest to Rstest, replace `jest`/`vi` APIs with `@rstest/core`, translate config int427skills.sh installs