In short.
wp-abilities-audit is an agent skill for WordPress developers planning actions for AI assistants, but its deliverable is an audit document that still requires implementation. Its documented process inventories REST controllers, traces permissions and groups endpoints into proposed Abilities API operations based on user intent. The schema records implementation risks, side effects, representative test data and unresolved gaps. It targets WordPress 7.0+ and PHP 7.4.0+, requires prior project triage and references companion guidance outside this folder. Runtime behavior, inventory completeness and generated audit quality are not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete supplied selected scope at revision 7374e6f1c913b3b02b25465d266d9c0e0a04fc96: skills/wp-abilities-audit/SKILL.md and its three reference files. The repository-level LICENSE is included as the related notice above the selected folder. Sibling skills, external parent controllers, WordPress core, plugin source, validator implementations and generated audits are outside this evidence. No execution results are available; runtime behavior, discovery completeness, generated document quality and compatibility remain unassessed.
The overview
identity
WP Abilities Audit is the wp-abilities-audit skill in the WordPress/agent-skills repository. It contains instructions for a filesystem agent and three reference documents. Its output is a Markdown planning document with structured YAML describing proposed plugin abilities: named operations intended for use by humans or agents.
The original resource location is [https://github.com/WordPress/agent-skills/tree/trunk/skills/wp-abilities-audit]. The supplied source is pinned to revision 7374e6f1c913b3b02b25465d266d9c0e0a04fc96.
assessment
Its strongest documented feature is the connection between each proposal and its implementation evidence: backing classes, files, callbacks, permission checks and risks. This gives reviewers a concrete basis for scoping registration work.
The document design also separates the complete controller inventory from the smaller proposal list. That is useful for explaining exclusions, although neither a populated inventory nor schema conformance establishes that every relevant route was found or that each proposal is correct.
users
The primary users are WordPress plugin developers and teams preparing an Abilities API rollout. Technical planners can use the resulting audit to understand scope before implementation, while experienced developers can inspect callback provenance, inherited behavior and authorization details.
Producing a reliable audit requires understanding PHP source, REST routing and WordPress capabilities. Beginners can use the structured output to follow the plan, but the evidence does not establish an unattended beginner workflow.
capabilities
The prescribed audit inventories controllers and routes, records HTTP methods and callback locations, examines request handling and return types, and traces the permissions behind proposed operations. It groups proposals by a meaningful user question or state change instead of creating one ability for every HTTP method.
Each proposal records effort as S, M or L; readonly, destructive and idempotent annotations; implementation notes; risks; workflow fit; side effects; and seed-data needs. Separate fields capture deferred operations and missing backings. An optional reference_ability flag identifies one suggested starting implementation.
Using it
requirements
The skill declares WordPress 7.0+ and PHP 7.4.0+ as its targets. It requires a filesystem agent with bash and Node, access to a plugin checkout, an auditor identity and an explicit output path. WP-CLI is described as helpful for some workflows, not mandatory. These compatibility claims have not been validated through execution.
wp-project-triage must first classify the plugin and provide signals.usesAbilitiesApi, versions.wordpress and project.kind. The procedure also relies on grouping and domain guidance in the sibling wp-abilities-api skill. Those companion files are outside the supplied folder, so independent use of this folder alone is not established.
mechanism
Controller discovery starts with conventional filename patterns and falls back to searching PHP files for register_rest_route calls. Both approaches can be combined for mixed layouts. Inherited routes are recorded against the child controller, with inherited_from identifying the parent and null line numbers where definitions live elsewhere.
Permission tracing follows direct current_user_can checks or WordPress post-type capability mapping. The audit can preserve separate read and write gates and identify permission sources in REST callbacks, admin handlers, services or domain policies. It warns against copying a public REST __return_true permission callback into an agent-facing ability without the intended user gate.
The output combines metadata and proposed abilities in YAML with a controller inventory and explanatory prose. A proposal with backing: null represents an unresolved implementation gap and must also appear in surfaced_gaps.
setup
The documented preparation is to make the skill and its companion references available to a suitable agent, complete project triage, and supply the plugin checkout, triage output, auditor identity and output location. No assistant-specific installation or loading command is provided in the captured files.
The output directory must be explicit. The schema names audit files using the date and plugin slug, and discourages putting them inside the plugin worktree. The document includes a last-updated timestamp, YAML metadata, proposed abilities, exclusions, gaps, the controller inventory and notes.
example
The schema's illustrative example proposes example-plugin/get-items, backed by GET /example/v1/items and gated by manage_options. It records a WP_REST_Request requirement, no side effects and a need for at least one non-trashed item in the test environment.
A second example proposes closing an item through a service method. It records an irreversible state transition, possible email through an action hook, an audit-log write and a missing idempotency key. Together, these examples show how the audit distinguishes a data fetch from an operation with consequences. They provide no evidence of successful execution.
Assessment & evidence
limitations
The skill does not apply when a plugin has no REST controllers; hooks- and filters-based abilities are outside its current scope. Literal route searches can also miss dynamically registered routes or factory-driven registration, and inherited behavior may require inspecting a parent repository. The filename-count heuristics do not prove exhaustive discovery.
The exact semantic-grouping rules and shared-service decision guidance are referenced outside this folder and cannot be fully assessed from these files. The captured schema describes validator behavior but supplies no validator implementation or runnable validation command.
Return types are descriptive hints, line numbers can drift, and some legacy omissions produce warnings rather than failures according to the schema. There are no supplied execution results establishing audit accuracy, registration security or runtime compatibility.
reasoning
Grouping by user intent is a sensible documented design choice: a filtered listing can answer one practical question without turning every route variant into a separate agent operation. The use-case check also keeps internal transport and bookkeeping endpoints from automatically becoming proposed abilities.
Recording canonical permissions, side effects and representative data addresses different implementation risks. A route can expose the wrong permission model for an agent, a read can still trigger logging or cache writes, and an empty environment can conceal whether an ability returns useful data. These are design strengths; their effect on implementation quality has not been measured.
alternatives
A developer can perform a manual source survey and use the same audit schema as the deliverable. The documents support both human and agent consumers, but provide no comparison of the time or accuracy of manual and agent-assisted work.
The source references wp-abilities-api for grouping and implementation patterns and wp-abilities-verify for downstream validation. Their complete contents are not supplied, so their capabilities and suitability cannot be compared here. For plugins without REST controllers, the source suggests considering hooks- or filters-based abilities without documenting that approach.
evidence
The supplied source consists of SKILL.md and the three references audit-schema.md, capability-gate-tracing.md and controller-enumeration.md, together with the repository-level LICENSE. These establish the intended procedure, document contract and stated constraints.
The immutable folder location is [https://github.com/WordPress/agent-skills/tree/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-abilities-audit]. No actual plugin audit, generated output, benchmark, validator execution or runtime registration result is included.
Access & freshness
costs
The supplied files specify no purchase price, subscription, usage fee or hosted service plan. Agent-provider charges, token consumption, execution time and engineering hours are unknown.
The S/M/L effort field is an implementation-planning label for individual abilities. No measured time, financial estimate or conversion from those labels to cost is supplied.
rights
The repository-level LICENSE names WordPress Contributors as the 2026 copyright holder and permits redistribution and modification under GNU GPL version 2 or, at the recipient's option, any later version. It disclaims warranty, including merchantability and fitness for a particular purpose.
Redistribution remains subject to the applicable GPL terms and notice requirements. The captured LICENSE is a notice referring to the GNU GPL; it does not reproduce the full licence text.
freshness
The source snapshot was captured on 2026-11-16 at 02:24:15.076 UTC and identifies revision 7374e6f1c913b3b02b25465d266d9c0e0a04fc96. Findings apply to that revision; the present contents of the moving trunk URL are unknown.
The schema dates the addition of implementation-readiness fields, backing.kind and permission.source to 2026-05-21. That is document change history, not an established release date. No numbered skill release is identified.
actions
Use this skill when the immediate deliverable is a scoped registration plan for a plugin with REST controllers. Obtain the referenced companion guidance, complete project triage and choose an explicit audit destination before starting.
Before relying on the output, check inherited and dynamically registered routes, verify each behavior's intended permission source, and review side-effect claims against source code. Resolve missing backings and unknown seed-data needs before implementation. Schema checks, semantic review and runtime verification establish different things; all remain necessary where applicable.
