Skip to content
Kitbay
Submit

wp-abilities-verify

GPL-2.0-or-laterUpdated on Nov 9, 20262,352GitHub stars

A WordPress project skill for checking a plugin's Abilities API registrations.

What the skill teaches

A WordPress project skill for checking a plugin's Abilities API registrations. It lists the abilities statically from source, or at runtime through REST and WP-CLI in a running environment, then tests whether each callback really behaves as its annotations claim, for example an ability marked read-only that writes data. It also round-trips permissions, lints input and output schemas, checks error codes, can validate an audit document from the audit skill, and ends with a pass, warn or fail status.

Capabilities

  • Check abilities against their annotations
  • Test ability permissions
  • Lint ability schemas and error codes
  • Validate an abilities audit document