wordpress-ability-api
Create, validate, and register WordPress Abilities (server-side PHP and client-side JavaScript) with comprehensive scaffolding and validation tools
View on GitHubTable of content
Create, validate, and register WordPress Abilities (server-side PHP and client-side JavaScript) with comprehensive scaffolding and validation tools
Installation
npx claude-plugins install @emdashcodes/emdashcodes-wp-ability-toolkit/wordpress-ability-api
Contents
Folders: skills
Included Skills
This plugin includes 1 skill definition:
wordpress-ability-api
This skill should be used when helping users create, edit, or register WordPress Abilities (both server-side PHP and client-side JavaScript), register ability categories, or set up the WordPress Abilities API as a dependency. Use when users say things like “create an ability”, “help me build an ability”, “set up the Ability API”, or “register a category”.
View skill definition
WordPress Ability API
Overview
This skill helps users work with the WordPress Abilities API - a standardized system for registering and discovering distinct units of functionality within WordPress. Use this skill to help users create server-side PHP abilities, client-side JavaScript abilities, register categories, and set up the API as a dependency.
The Abilities API makes WordPress functionality discoverable by AI agents and automation tools through machine-readable schemas, permissions, and validation.
When to Use This Skill
Activate this skill when the user requests:
- Creating abilities: “Help me create an ability to…”, “I want to make an ability that…”, “Build me an ability for…”
- Editing abilities: “Update my ability”, “Fix this ability code”, “Modify the ability to…”
- Setting up the API: “Set up the Ability API”, “Add the Ability API as a dependency”, “Install the Abilities API”
- Registering categories: “Create a category for my abilities”, “Register an ability category”
Workflow Decision Tree
When this skill activates, determine what the user needs:
Are they creating/editing an ability? → Follow the “Creating Abilities” workflow below
Do they need to set up the API first? → Follow the “Setting Up the API” workflow below
Are they just learning about the API? → Reference the documentation in
references/and explain concepts
Using the Scaffold Script
The skill includes a `scripts/scaffo
…(truncated)