wordpress-ability-api

Create, validate, and register WordPress Abilities (server-side PHP and client-side JavaScript) with comprehensive scaffolding and validation tools

View on GitHub
Author Em
Namespace @emdashcodes/emdashcodes-wp-ability-toolkit
Category development-tools
Version 1.0.0
Stars 6
Downloads 4
self.md verified
Table 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:

Workflow Decision Tree

When this skill activates, determine what the user needs:

  1. Are they creating/editing an ability? → Follow the “Creating Abilities” workflow below

  2. Do they need to set up the API first? → Follow the “Setting Up the API” workflow below

  3. 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)

Source

View on GitHub

Tags: development-tools wordpressabilities-apiscaffoldingvalidationai-agentsdevelopment-tools