.agent/skills/design-system-expert/SKILL.md
Active workflow skill for design token and visual consistency planning, research, and implementation support. Grounded in the DTCG standard, three-tier token model, and CSS custom properties with live-standards-first doctrine. Use when the working agent needs design system expertise for active tasks — distinct from the design-system-reviewer, which is a read-only assessment specialist.
npx skillsauth add oaknational/oak-open-curriculum-ecosystem design-system-expertInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Active workflow skill for design token and visual consistency work. This skill supports the working agent during tasks that involve DTCG JSON authoring, token build pipelines, CSS custom property generation, theme structure, or token consumption patterns — it does not replace the design-system-reviewer, which provides independent read-only assessment.
Use this skill when the working agent needs to:
design-system-revieweraccessibility-expertreact-component-expertmcp-expertcode-reviewertest-reviewerThis skill follows the ADR-129 standard doctrine hierarchy:
| Document | Purpose |
|----------|---------|
| docs/architecture/architectural-decisions/148-design-token-architecture.md | DTCG JSON, three-tier model, packages/design/, delivery path |
| docs/governance/design-token-practice.md | Source format, tier model, build pipeline, consumption |
| docs/architecture/architectural-decisions/149-frontend-specialist-reviewer-gateway-cluster.md | Cluster definition and MCP boundary rule |
| Document | Load when |
|----------|-----------|
| docs/architecture/architectural-decisions/147-browser-accessibility-as-blocking-quality-gate.md | Token contrast values affect a11y compliance |
| docs/governance/accessibility-practice.md | Theme-aware testing requirements |
| docs/architecture/architectural-decisions/041-workspace-structure-option-a.md | packages/design/ topology and dependency direction |
| docs/architecture/architectural-decisions/141-mcp-apps-standard-primary.md | Token delivery to MCP App views |
| docs/architecture/architectural-decisions/129-domain-specialist-capability-pattern.md | Understanding the triplet pattern |
Determine whether you are working at the source level (DTCG JSON), build level (pipeline/transforms), output level (CSS custom properties), or consumption level (component styles).
Use WebFetch to consult the DTCG specification (https://www.designtokens.org/TR/2025.10/format/) for token format questions. Consult Style Dictionary docs for build pipeline patterns. Consult the CSS Custom Properties spec (https://www.w3.org/TR/css-variables-1/) for naming, scoping, inheritance, and var() behaviour.
Enforce strict referencing direction: component → semantic → palette. When authoring tokens, name them appropriately for their tier:
navy-900, oak-green, spacing-4)text-primary, bg-surface, gap-md)button-primary-bg, card-border-radius)Themes override semantic tokens only. The palette is invariant. Check that all themes define the same semantic token set.
For MCP App views: token CSS is bundled into index.html via Vite. For other consumers: CSS is imported through their build systems.
design-system-reviewer for independent assessment.tools
When and how to use git worktrees for isolated work.
documentation
TSDoc and documentation workflow for canonical source comments, README updates, and ADR touchpoints.
development
Structured debugging workflow: reproduce, isolate, hypothesise, verify, fix, regression test.
data-ai
Load the shared thorough start-right workflow from `.agent/skills/start-right-thorough/shared/start-right-thorough.md`.