CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

ux-css-layout

VS Code CSS conventions, file organization, class naming, standard sizes, SplitView/Grid layout, scrollable content, responsive layout, and text overflow/ellipsis patterns. Use when writing CSS, building layouts, or fixing text truncation issues.

Quality

86%

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 well-structured, highly actionable conventions reference: concrete code for every common case, VS Code-specific knowledge Claude could not infer, and clear deferral to the canonical token file. The main weakness is redundancy in the text-overflow section and slight size-related overlap between sections 3 and 10.

Suggestions

Consolidate §9's three separate ellipsis code blocks into one canonical example plus the flex min-width: 0 gotcha, and prune the anti-pattern list of items that merely restate the 'three properties required' rule.

Move the full §10 token tables and snap maps into a references/ file (e.g., size-tokens.md), keeping only the decision pointers and the stylelint requirement in SKILL.md.

Add a short end-of-workflow verification step (e.g., 'run stylelint/hygiene after adding or changing CSS variables') so the feedback loop present only in §10 applies to the whole skill.

DimensionReasoningScore

Conciseness

The body is mostly lean — dense tables, copy-paste code, and project-specific conventions Claude would not know (monaco- prefixes, min-width: 0 gotcha, token snap maps) rather than general CSS tutorials. Minor trimming is possible: §9 shows the same three-property ellipsis combo in three separate code blocks and the anti-pattern list restates rules already given, and §3/§10 overlap slightly on sizes.

4 / 5

Actionability

Guidance is fully executable: copy-paste-ready SplitView/IView instantiation, Grid.addView, DomScrollableElement with the required scanDomNode() call, the exact three-property ellipsis CSS, and the setupDelayedHover() snippet, plus concrete decision rules (snap maps, tie-rounding, glyph-compact caveats) for the common cases.

5 / 5

Workflow Clarity

Mostly reference-style decision rules with a clearly sequenced checklist ("When building a responsive component: 1–4") and one genuine feedback loop: §10 states that stylelint/hygiene fails if a --vscode-* var is missing from vscode-known-variables.json and how to fix it (add to both baseSizes.ts and the JSON). Not 5 because most sections lack explicit validation checkpoints; not 3 because no destructive/batch operations require them and what sequences exist are unambiguous.

4 / 5

Progressive Disclosure

Ten well-numbered sections with a closing Key Files table make navigation easy, and §10 appropriately defers bulk tables to the canonical auto-injected .github/instructions/design-tokens.instructions.md, keeping only decision logic inline. Not 5 because everything lives in one 330-line file with no references/ split for the detailed token tables, which is acceptable but leaves minor organization headroom.

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 that clearly states what the skill covers and gives an explicit 'Use when...' clause with natural trigger phrases. The only notable gap is that the design-system size-token conventions — a major section of the body — are not surfaced in the description.

Suggestions

Mention the design-system size tokens (e.g., "applying --vscode-* size/spacing/radius/font tokens") in the description so that section is discoverable from the description.

Add one or two natural synonyms such as "styling" or ".css files" to the trigger clause to broaden natural-language matching.

DimensionReasoningScore

Specificity

The description enumerates several concrete capability areas — "file organization, class naming, standard sizes, SplitView/Grid layout, scrollable content, responsive layout, and text overflow/ellipsis patterns" — matching the 'several specific actions; minor gaps' anchor. It falls short of 5 because the design-system size-token conventions (§10, a substantial part of the body) are only weakly gestured at by "standard sizes".

4 / 5

Completeness

It explicitly answers both questions: what (the enumerated VS Code CSS convention areas) and when ("Use when writing CSS, building layouts, or fixing text truncation issues") with concrete trigger phrases. This matches the anchor-5 example structure exactly.

5 / 5

Trigger Term Quality

Triggers like "writing CSS", "building layouts", and especially "fixing text truncation issues" are phrases a user would naturally say. A few natural synonyms are missing (e.g., "styling", ".css files", "text overflow"), keeping it at the good-but-not-comprehensive anchor rather than 5.

4 / 5

Distinctiveness Conflict Risk

The VS Code-specific framing (SplitView/Grid, monaco conventions) carves a clear niche, but the fairly generic trigger "writing CSS, building layouts" could overlap a general CSS or web-layout skill. Minor overlap risk with closely related skills places it at 4 rather than 5.

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

posit-dev/positron

Path

.github/skills/ux-css-layout/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.