wp-plugin-hooks
CommunityDesign and document WordPress plugin hooks.
AuthorLonsdale201
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Managing a plugin's public extension surface with custom actions and filters can become inconsistent and brittle. This skill outlines conventions to design stable hook APIs, enforce safe deprecation, and ensure downstream developers have a clear contract.
Core Features & Use Cases
- Prefix all custom hooks with the plugin slug to avoid collisions and improve discoverability.
- Document every hook with docblocks, including @since tags and parameter descriptions to enable IDEs and tools to surface useful information.
- Provide a safe deprecation path using apply_filters_deprecated and do_action_deprecated, maintaining backward compatibility during migrations.
- Use when designing a new API surface, reviewing PRs that add or modify hooks, or migrating legacy hooks to a managed surface.
Quick Start
Define a plugin's public hooks with a consistent prefix and document them thoroughly in SKILL.md.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wp-plugin-hooks Download link: https://github.com/Lonsdale201/wp-agent-skills/archive/main.zip#wp-plugin-hooks Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.