CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

component-fixtures

Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.

65

Quality

82%

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

71%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.

The body is highly actionable — complete code examples for every common case, explicit validation guidance, and rich non-obvious domain knowledge. Its weaknesses are structural: two sections duplicate the same advice, and the entire ~400-line guide is inlined in SKILL.md with no one-level-deep reference files.

Suggestions

Merge the duplicated guidance: "Adapting Existing Components for Fixtures" and "Writing Fixture-Friendly Components" both cover DOM-node exposure, auto-focus options, DI, and shallow CSS — combine them into a single section.

Move the deep material (adapting components, fixture-friendly design practices, Learnings) into one-level-deep reference files (e.g., references/adapting-components.md, references/learnings.md) and keep SKILL.md as a concise overview with clearly signaled links.

Fix the garbled sentence "inform the user to them on" (presumably "ask the user to turn them on") and add waitForFixtureCondition to the fixtureUtils utilities table so every referenced helper is documented.

DimensionReasoningScore

Conciseness

Nearly all content is non-obvious project knowledge rather than padding, but the "Adapting Existing Components for Fixtures" and "Writing Fixture-Friendly Components" sections repeat the same four points (expose the DOM node, disable auto-focus via options, use DI, keep CSS selectors shallow) — e.g. "Make DOM node accessible" and "Expose the DOM node" both appear — and several dense sentences ("Supply local account icons instead of letting a mock fall back to a live avatar URL...") could be tightened. Not 2 because there is little generic explanation of concepts Claude already knows; not 4 because the section-level duplication is more than minor.

3 / 5

Actionability

Dozens of complete, adaptable code blocks cover the common cases copy-paste-ready: the basic defineThemedFixtureGroup pattern, additionalServices registration, mock<T>() usage with import path, ancestor-DOM recreation for production CSS selectors, before/after refactors, and variant grouping, plus a numbered run procedure and concrete MCP tool names. Not 4 because the few blemishes (the garbled "inform the user to them on" sentence, waitForFixtureCondition absent from the utilities table) do not reduce the executability of the guidance.

5 / 5

Workflow Clarity

A clear numbered sequence exists ("Running Fixtures Locally": start server → list_fixtures → screenshot) and validation is explicit and detailed ("Validate fixture changes with the existing Component Explorer rendering, screenshot, stability, and error tools"; "Validate at the same readiness boundary CI uses"), but there is no single end-to-end write→run→screenshot→validate workflow and error-recovery feedback loops are implied rather than spelled out. Not 5 for the missing end-to-end sequencing and explicit recovery loop; not 3 because validation checkpoints are explicit, not implicit.

4 / 5

Progressive Disclosure

The skill has no bundle files at all — all ~400 lines live inline in SKILL.md. Section headers are clear and the one internal anchor link works, but substantial self-contained sections ("Adapting Existing Components for Fixtures", "Writing Fixture-Friendly Components", "Learnings") are exactly the material that belongs in one-level-deep reference files. Not 2 because the body is well-headered and navigable, unlike the header-less 300-line example; not 4 because nothing is split out and content that should be separate is inline.

3 / 5

Total

15

/

20

Passed

Description

83%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: it explicitly answers both what and when with concrete, natural trigger phrases tied to a distinct niche. The main residual gaps are the missing natural synonyms and file extensions (e.g., ".fixture.ts", "component explorer") and a topical rather than operational coverage list.

Suggestions

Add the natural trigger variations users would type: the ".fixture.ts" file extension, "component explorer", and "visual/screenshot testing".

Replace part of the topical "Covers..." list with one or two more operational verbs (e.g., "render isolated components headlessly and capture themed screenshots") to sharpen the action list.

Tighten the "designing UI components" clause so it clearly only fires when fixture-friendliness is the goal, reducing overlap with general component-design skills.

DimensionReasoningScore

Specificity

Concrete actions are named ("creating or updating component fixtures for screenshot testing", "designing UI components to be fixture-friendly") and the scope is enumerated ("fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls"), but the operational verbs are limited to create/update/design — the coverage list is topical rather than a list of distinct concrete operations like the 5-anchor's extract/fill/merge/convert.

4 / 5

Completeness

Both halves are explicit: an explicit "Use when..." clause with concrete triggers ("creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly") and a clear "what" via the "Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls" enumeration — matching the structure of the canonical 5 example.

5 / 5

Trigger Term Quality

"component fixtures", "screenshot testing", and "fixture-friendly" are exactly the phrases a user would naturally say when needing this skill, but common variations are missing — the `.fixture.ts` file extension, "component explorer", and "visual/screenshot testing" synonyms. Not 3 since the terms present are natural rather than jargon-only; not 5 since synonyms and file extensions are absent.

4 / 5

Distinctiveness Conflict Risk

"component fixtures for screenshot testing or their shared infrastructure" carves a clear niche with distinct triggers, but "when designing UI components to be fixture-friendly" broadens the trigger into general component-design territory, creating minor overlap risk with generic UI-component skills. Not 5 because of that broadening clause; not 3 since the description is far more specific than the 3-anchor's generic phrasing.

4 / 5

Total

17

/

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

microsoft/vscode

Path

.github/skills/component-fixtures/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.