CtrlK
BlogDocsLog inGet started
Tessl Logo

optics-context

Use the Optics design framework for styling applications. Apply Optics classes for layout, spacing, typography, colors, and components. Use when working on CSS, styling views, or implementing design system guidelines.

63

Quality

79%

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

Fix and improve this skill with Tessl

tessl review fix ./skills/optics-context/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

67%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 skill body with correct use of bundle files for bulk token/component data. Main weaknesses are a redundant Quick Reference section, a malformed button CSS example, an inconsistent reference path, and the absence of post-creation validation steps.

Suggestions

Remove the redundant "Quick Reference" section (it duplicates the 'Finding Optics Classes' and 'Creating Components' workflows verbatim) or replace those sections with it, cutting ~25 lines.

Fix the button example so the `.btn--primary`, `.btn--secondary`, and `.btn--outline` modifier blocks are nested inside the `.btn` rule (they currently sit outside its closing brace, producing invalid CSS), and use one consistent path for `components.json` (drop the `skills/optics-context/` prefix on line 23).

Add an explicit validation step at the end of the component workflow, e.g., re-scan the new CSS for hard-coded values against the "Detecting Violations" patterns before importing it into `application.scss`.

DimensionReasoningScore

Conciseness

The body is mostly dense and useful (token names, paths, violation patterns), but the "Quick Reference" section restates the three workflows already detailed above, and two ~50-line CSS examples pad the file. This fits anchor 3 ('mostly efficient but could be tightened') rather than anchor 4, since the duplication is a clear trim candidate; it is above anchor 2 because there is no concept-explanation filler.

3 / 5

Actionability

Concrete token names (e.g., `var(--op-color-primary-base)`), real file paths (`assets/tokens.json`, `app/assets/stylesheets/components/`), and near-complete CSS examples make the guidance mostly executable. Minor gaps keep it below anchor 5: in the button example, the `.btn--primary/secondary/outline` modifiers appear outside the `.btn` block (broken CSS), and `{project-prefix}` is never given a concrete value.

4 / 5

Workflow Clarity

The discovery, token, and component workflows are clearly sequenced with explicit check-first checkpoints ("Check Optics components" first, "First ensure there isn't an existing token", import in `application.scss`). Below anchor 5 because there is no post-creation validation step (e.g., re-scan for hard-coded values or confirm the component renders); above anchor 3 because checkpoints are explicit at each decision point rather than implicit.

4 / 5

Progressive Disclosure

Bulk reference data is correctly pushed to real bundle files (`assets/tokens.json`, `assets/components.json`, both verified to exist), one level deep and clearly signaled at the end of the body. Minor gaps: line 23 uses an inconsistent path (`skills/optics-context/assets/components.json` vs `assets/components.json` elsewhere), and the two long inline component examples could live in a reference file.

4 / 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: third-person voice, explicit what-and-when structure, a named framework, and natural trigger terms. The only improvements would be more varied concrete action verbs and a few additional natural trigger synonyms.

DimensionReasoningScore

Specificity

"Apply Optics classes for layout, spacing, typography, colors, and components" lists several specific action areas with a named domain. It falls short of anchor 5 because the actions collapse into one generic verb ("apply") rather than multiple distinct concrete actions, but exceeds anchor 3's '1-2 concrete actions' coverage.

4 / 5

Completeness

It clearly answers both: what ("Apply Optics classes for layout, spacing, typography, colors, and components") and when ("Use when working on CSS, styling views, or implementing design system guidelines") with concrete trigger phrases. This matches anchor 5 and exceeds anchor 4, where the 'when' is only adequately explicit.

5 / 5

Trigger Term Quality

Natural terms a user would say are present: "CSS", "styling views", "design system", "styling applications". A few common variations are missing (e.g., "styles", "stylesheet", "SCSS", "design tokens"), matching anchor 4's 'good coverage, a few natural terms missing' rather than anchor 5's comprehensive synonym list.

4 / 5

Distinctiveness Conflict Risk

The named Optics design framework plus design-system-specific triggers carve out a mostly distinct niche. It is not anchor 5 (CSS/styling triggers still carry minor overlap risk with generic frontend-styling skills) but is well above anchor 3's generic overlap.

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

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository
RoleModel/rolemodel-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.