CtrlK
BlogDocsLog inGet started
Tessl Logo

wp-interactivity-api

Use when building or debugging WordPress Interactivity API features (data-wp-* directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration, wp_interactivity_*()) including performance, hydration, and directive behavior.

67

Quality

84%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

75%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, actionable skill body with a clear step sequence, real verification and failure-mode sections, and genuinely useful one-level-deep references that all exist. It uniformly sits at 'good with minor gaps': slight over-explanation, placeholder-containing snippets, soft validation wording, and inline SSR content duplicating a dedicated reference file.

Suggestions

Trim the SSR rationale bullets ('SEO benefits and faster perceived load time', 'no layout shift') to a single line and move the three inline PHP SSR examples into references/server-side-rendering.md, keeping only one representative snippet in the body.

Strengthen the Verification section with concrete checkpoints, e.g. a WP-CLI or browser-console check that the view module is loaded and the store namespace matches, and an explicit validate-fix-retry loop tied to the Failure modes section.

Replace the `...` placeholder in the wp_interactivity_data_wp_context() example with a complete minimal element, and add a short client-side store example (state + one action) so the JS half of the workflow is as concrete as the PHP half.

DimensionReasoningScore

Conciseness

The body is dense with actionable material (search terms, code snippets, version-specific changes) and mostly avoids explaining known concepts, matching 'efficient; minor instances of over-explanation that could be trimmed'. Small trimmable bits include the generic SSR rationale ('SEO benefits and faster perceived load time') and the reasoning bullets under 'Pre-render HTML on the server', which keep it below the lean-every-token-earns-its-place anchor 5 and well above the padded anchor 3.

4 / 5

Actionability

Concrete, executable guidance dominates: copy-pasteable `wp_interactivity_state()` / `wp_interactivity_data_wp_context()` PHP, a `block.json` supports snippet, a named scaffold template (`@wordpress/create-block-interactive-template`), and specific grep terms and debug confirmations. Minor gaps — the context example contains a `...` placeholder and no client-side JS store example is shown inline — place it at 'mostly executable with minor gaps' rather than fully copy-paste-ready.

4 / 5

Workflow Clarity

A clearly sequenced six-step procedure (detect usage → identify stores → SSR → directives → build alignment → debug) is followed by an explicit Verification section and a Failure modes section mapping symptoms to fixes, which is an implicit error-recovery loop. It stops short of anchor 5 because validation is somewhat soft ('Manual smoke test: directive triggers... as expected', 'if applicable') with no concrete verify command or explicit validate-fix-retry loop, though it clearly exceeds the implicit-checkpoint anchor 3.

4 / 5

Progressive Disclosure

Three reference files exist in the bundle, are referenced one level deep with purposeful signaling ('For detailed examples and patterns, see references/server-side-rendering.md', 'For quick directive reminders...', 'See references/debugging.md'), and are re-listed under Escalation for navigation. Not 5 because the ~50-line inline SSR section (state, context, and derived-state code examples) overlaps content that belongs in the already-present server-side-rendering.md, leaving the overview heavier than a pure index.

4 / 5

Total

16

/

20

Passed

Description

86%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong, highly targeted description that names the exact API surface (directives, package, viewScriptModule, PHP functions) and gives an explicit 'Use when' trigger with concrete terms. The only weakness is that the 'what' (the skill's concrete actions) is merged into the 'when' clause rather than stated separately.

DimensionReasoningScore

Specificity

The parenthetical enumerates concrete capabilities — "data-wp-* directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration, wp_interactivity_*()" — which matches the 'several specific actions; minor gaps' anchor. It falls short of 5 because the verbs themselves ('building or debugging') are broad rather than a comprehensive list of concrete actions, and above 3 because coverage spans directives, store, build integration, and PHP server functions.

4 / 5

Completeness

An explicit trigger clause is present ("Use when building or debugging...") with concrete trigger terms, and the 'what' is conveyed through the enumerated feature areas. It is not 5 because the 'what' is folded into the 'when' clause — the skill's actual actions (implement stores, wire SSR, debug directives) are implied by domain enumeration rather than stated as its own clear answer.

4 / 5

Trigger Term Quality

It covers essentially the full natural vocabulary of this niche: "WordPress Interactivity API", "@wordpress/interactivity", "data-wp-*", "viewScriptModule", "wp_interactivity_*()", "hydration", and "performance" — multiple synonym forms (API name, package name, directive prefix, PHP function prefix) a user would naturally say. Not 4 because no commonly-used variant of the domain's terminology is missing.

5 / 5

Distinctiveness Conflict Risk

A clear niche (WordPress Interactivity API) with distinct, ecosystem-specific triggers ("data-wp-*", "viewScriptModule", "wp_interactivity_*()") that virtually no other skill would claim; matches the 'clear niche with distinct triggers; minimal conflict risk' anchor.

5 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
WordPress/agent-skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.