CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

deprecations

Use when: deprecating Primer React components or hooks. Covers source annotations, docs metadata, changesets, docs page updates, and validation for deprecations.

Quality

89%

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

The canonical home for this skill is deprecations in primer/react

SKILL.md
Quality
Evals
Security

Quality

Content

86%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, project-specific skill body: lean, correctly scoped, with concrete file targets and runnable validation commands. The remaining gains are small — showing an example changeset/@deprecated annotation and tightening 'run targeted tests' into an actual command would make the guidance fully copy-paste ready.

Suggestions

Add a one-line example changeset (e.g. a patch-bump .changeset/*.md snippet) so the versioning step is copy-paste ready.

Replace 'Run targeted tests for the affected API when available' with a concrete command or a pointer to how to find the relevant test files.

Include a brief example of an existing @deprecated JSDoc pattern so the 'follow existing patterns nearby' instruction has a floor to start from.

DimensionReasoningScore

Conciseness

The body is lean and imperative throughout — no concept explanations, no padding, and every bullet carries project-specific information Claude cannot infer (file globs, schema/build paths, workspace-scoped commands). 'Keep runtime behavior unchanged unless the task explicitly requires more than deprecation signaling' is a terse, high-value constraint.

5 / 5

Actionability

Mostly executable: exact file patterns, the literal metadata value "status": "deprecated", and copy-paste commands like 'npx prettier --write <paths>' and 'npm run build:hooks.json -w @primer/react'. Minor gaps keep it below 5: no example changeset content for the versioning step, no example @deprecated JSDoc annotation, and 'Run targeted tests for the affected API when available' gives no command.

4 / 5

Workflow Clarity

The sequence is clear (source → docs metadata → docs content → changeset → validation) and the Validation section is an explicit checkpoint tiered as 'Prefer targeted validation first, then broader validation if needed', including rebuild commands for schema-affecting changes. It falls short of 5 only because there is no explicit feedback loop (what to do when lint/tests fail) and steps are sectioned rather than sequenced with ordering cues.

4 / 5

Progressive Disclosure

This is a compact (~55-line) single-file skill with no bundle files and no content that warrants splitting; sections are well-organized and the pointers it does give ('contributor-docs/deprecating-components.md', 'contributor-docs/versioning.md') are one level deep, clearly named, and appropriately load-bearing rather than buried.

5 / 5

Total

18

/

20

Passed

Description

87%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 description that explicitly states both capability coverage and a concrete trigger condition scoped to a distinct niche. The main improvement opportunity is naming a few more concrete actions or trigger synonyms (e.g., 'deprecation', 'sunset', '@deprecated') rather than coverage-area nouns.

Suggestions

Replace coverage-area nouns with one or two concrete actions (e.g., 'Adds @deprecated JSDoc annotations, sets status: deprecated in docs JSON, and creates changesets') to nudge specificity toward 5.

Add a trigger synonym or user-mention variation such as 'or when the user mentions deprecating, sunsetting, or retiring a Primer React API'.

DimensionReasoningScore

Specificity

The description enumerates concrete coverage areas — 'source annotations, docs metadata, changesets, docs page updates, and validation for deprecations' — which is broad and well-targeted, but these are area names rather than executed actions (e.g., 'add @deprecated JSDoc tags', 'set status: deprecated in docs JSON'), leaving minor gaps versus a fully comprehensive 5.

4 / 5

Completeness

It explicitly answers both questions: what it does ('Covers source annotations, docs metadata, changesets, docs page updates, and validation for deprecations') and when to use it ('Use when: deprecating Primer React components or hooks'), with concrete, specific trigger phrases — matching the anchor-5 pattern rather than anchor 4, where the 'when' would be less specific.

5 / 5

Trigger Term Quality

'deprecating Primer React components or hooks' supplies the natural phrases a contributor would use (deprecate, component, hook, Primer React), but it omits common variations like 'deprecation', 'sunsetting', 'removing', or '@deprecated' that a user might naturally say.

4 / 5

Distinctiveness Conflict Risk

'Primer React components or hooks' carves out a clear niche with distinct triggers; no other plausible skill would be invoked by this description, so conflict risk is minimal.

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

primer/react

Path

.agent/skills/deprecations/SKILL.md

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.