CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

dark-mode-implementer

The guide compares theming strategies and provides code examples for color tokens, theme providers, toggles, flash prevention, and theme-aware media. It also covers Next.js setup, Playwright tests, and an implementation checklist.

Quality

84%

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

Scored by GLM 5.3

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, with complete executable code spanning all four theming strategies and a clear workflow plus checklist, but it is roughly twice as long as it needs to be: redundant toggle variants, duplicate token systems, and basic dark-mode examples inflate token cost. Lacking any reference files, the ~590-line monolith would benefit substantially from progressive disclosure.

Suggestions

Move the three toggle component variants, the full color-token listings, and the Playwright test suite into one-level-deep reference files (e.g. references/toggle-components.md, references/color-tokens.md, references/testing.md), keeping SKILL.md as a strategy overview with the core provider and flash-prevention code.

Cut or trim sections that restate knowledge Claude already has — the basic dark: class usage example and the simple prefers-color-scheme snippet — and drop one of the two overlapping color-token systems.

Integrate validation into the Core Workflow itself (e.g. add a step 7: 'Verify with the Playwright tests; fix contrast or flash issues and re-run') so the sequence carries its own checkpoints.

DimensionReasoningScore

Conciseness

The ~590-line body is mostly code rather than padded prose, but it includes content Claude already knows (the basic "Using Dark Mode Classes" example, the simple prefers-color-scheme media query) and redundant sections: three toggle component variants, two complete color-token systems, and overlapping approaches (custom React context alongside next-themes). This fits anchor 3 (mostly efficient but could be tightened) more than anchor 2, since the verbosity is duplicative reference material rather than explanatory padding.

3 / 5

Actionability

Nearly every section contains complete, copy-paste-ready code: the full ThemeProvider context, the inline flash-prevention script, the tailwind.config.js and CSS variable setup, working toggle components, next-themes installation and setup, and executable Playwright tests. This directly matches anchor 5 (fully executable, covering the common cases across all four strategies); only trivial gaps like the unlisted framer-motion/lucide-react dependencies keep it from being perfect, which is not enough to drop to anchor 4.

5 / 5

Workflow Clarity

The "Core Workflow" gives a clear 6-step sequence (choose strategy → define tokens → implement toggle → detect system preference → persist → prevent flash), and the Testing section plus Output Checklist provide verification. However, validation is not integrated into the sequence itself (no step says "run the Playwright tests" or gives a fix-and-retry loop), matching anchor 4 (clear sequence, most checkpoints present, minor validation gaps) rather than anchor 5's explicit in-sequence validation and feedback loops. This is UI theming, not a destructive or batch operation, so no cap applies.

4 / 5

Progressive Disclosure

No bundle files exist (no references/, scripts/, or assets/ directories), so everything — the complete React provider, three toggle variants, two full token sets, and the test suite — is inlined in one ~590-line file. Section headers give it good navigation, but large chunks (toggle variants, token tables, Playwright tests) clearly belong in one-level-deep reference files, matching anchor 3 (content that should be separate is inline) rather than anchor 2's minimal structure or the under-50-line exception for anchor 5.

3 / 5

Total

15

/

20

Passed

Description

91%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 does and when to use it, with natural, well-chosen trigger phrases in third person. The only weaknesses are a single-verb action list that undersells capabilities like persistence and flash prevention, and the slightly generic "color scheme" trigger that could overlap with adjacent styling skills.

DimensionReasoningScore

Specificity

The description names the domain and several concrete technical capabilities ("using CSS variables, Tailwind dark mode, React context, and system preference detection"), but it is built around a single verb ("Implements") and omits actions the body covers such as theme persistence and toggle components. It sits between anchor 4 (several specific elements, minor gaps) and anchor 5, and the missing action coverage keeps it at 4 rather than 5.

4 / 5

Completeness

It explicitly answers both questions: the "what" ("Implements complete dark/light mode theming systems using CSS variables, Tailwind dark mode, React context, and system preference detection") and the "when" ("Use when users request 'add dark mode', 'theme toggle', 'dark theme', 'light mode switch', or 'color scheme'") with concrete trigger phrases. This is a direct match for the anchor-5 example pattern.

5 / 5

Trigger Term Quality

Five quoted, natural trigger phrases are provided: "add dark mode", "theme toggle", "dark theme", "light mode switch", and "color scheme" — these are exactly what users would say, with synonym coverage across the domain. It clearly matches anchor 5 (comprehensive natural terms including synonyms) rather than anchor 4, since only peripheral variants like "night mode" are absent.

5 / 5

Distinctiveness Conflict Risk

Dark/light mode theming is a clear niche and most triggers ("add dark mode", "theme toggle") are distinct, but the trigger "color scheme" is generic enough to overlap with general styling, design-system, or data-visualization theming skills. This matches anchor 4 (mostly distinct, minor overlap risk with closely related skills) rather than anchor 5's minimal conflict risk.

4 / 5

Total

18

/

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

skill_md_line_count

SKILL.md is long (595 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/dark-mode-implementer/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.