CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

components-styles

Guidelines writing styles API (styles, classNames, and static classNames) for a CDS component. Use this skill when adding customization options to a React component via `styles` or `classNames` props or when needing to update the docsite with component styles documentation.

Quality

85%

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

82%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 highly actionable, well-structured skill body built almost entirely of project-specific conventions, code patterns, and a real worked example. Its main weaknesses are minor redundancy (repeated JSDoc guidance and duplicated test examples) and missing explicit verification loops (running the added tests, checking docgen output).

DimensionReasoningScore

Conciseness

Nearly all content is proprietary knowledge Claude cannot infer (the approved selector table, `cds-` naming conventions, the `StylesAndClassNames` type usage, `yarn nx run docs:docgen`), so it earns the 'efficient; minor instances of over-explanation' anchor. Small trim opportunities remain: conditional-element JSDoc guidance appears in both "JSDoc Convention for Selector Descriptions" ("For conditional elements, append context after a comma") and Step 6, and the "Example from NavigationBar" test block largely duplicates the generic test pattern in Step 4.4 — enough to keep it below level 5.

4 / 5

Actionability

Fully executable guidance: exact source paths ("packages/web/src/[source-category]/[ComponentName].tsx"), copy-paste-ready code templates for static classNames, props types, `cx()` application, and tests, plus a concrete worked example (NavigationBar) and a runnable command (`yarn nx run docs:docgen`). Specific examples cover the common cases, matching the level-5 anchor.

5 / 5

Workflow Clarity

A clear Step 1–7 sequence with most checkpoints present: a structure-review gate before committing ("Ask the user if you notice the component structure could be improved"), an approval gate for new selectors ("get explicit confirmation from the user"), and a thorough final checklist. It falls short of level 5 because there is no explicit validate-and-retry loop — tests are added but never run, and docgen output is never verified.

4 / 5

Progressive Disclosure

Good structure: well-organized sections, and instead of inlining a full example it points to real repo files ("See `packages/web/src/navigation/NavigationBar.tsx` for a complete example" and its test file) with line-by-line pointers — references are clearly signaled and one level deep. Minor organization gaps (the ~45-row selector table and the duplicated test example arguably belong in a reference file) keep it at the level-4 anchor rather than 5.

4 / 5

Total

17

/

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: concrete, third-person, with an explicit 'Use this skill when...' trigger clause covering both component customization and docsite updates. Minor improvements possible in keyword variants and delineating scope from an adjacent docs skill.

DimensionReasoningScore

Specificity

The description lists several concrete actions — "writing styles API (styles, classNames, and static classNames) for a CDS component", "adding customization options to a React component via `styles` or `classNames` props", and "update the docsite with component styles documentation" — with only minor coverage gaps (e.g., test additions and approved selector governance are not mentioned). It matches the anchor 'Lists several specific actions; minor gaps in coverage' rather than 5, which would require more comprehensive coverage.

4 / 5

Completeness

It explicitly answers both: "what" — "Guidelines writing styles API (styles, classNames, and static classNames) for a CDS component" — and "when" — "Use this skill when adding customization options to a React component via `styles` or `classNames` props or when needing to update the docsite with component styles documentation", with concrete trigger phrases. The explicit 'Use when...' clause removes the level-3 cap, and the specificity of both halves matches the level-5 anchor; it is above level 4 because the 'when' clause is fully explicit rather than improvable.

5 / 5

Trigger Term Quality

Natural terms a user would say include "styles", "classNames", "customization options", "React component", "props", and "docsite" — good keyword coverage matching the level-4 anchor. A few natural variants are missing (e.g., "styling", "CSS classes", "class names" as separate words), so it falls short of the comprehensive synonym-and-extension coverage of level 5.

4 / 5

Distinctiveness Conflict Risk

The description occupies a clear niche (CDS component styles API with specific prop names), so it is mostly distinct per the level-4 anchor. There is minor overlap risk with a closely related documentation-writing skill via "update the docsite with component styles documentation", keeping it below the minimal-conflict level 5.

4 / 5

Total

17

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

coinbase/cds

Path

.claude/skills/components-styles/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.