Back to list
nickabeelee

design-system-token-enforcer

by nickabeelee

A web application for espresso enthusiasts that logs espresso brews, beans, accessories, and helps baristas reach their full potential and waste less by tuning to the perfect shot faster.

0🍴 0📅 Jan 25, 2026

SKILL.md


name: design-system-token-enforcer description: Enforce design system token usage in espresso-engineered-1 frontend UI work. Use when creating or editing Svelte components, layout sections, typography, spacing, colors, surfaces, or buttons, especially when introducing new UI components or section headers.

Design System Token Enforcer

Overview

Use existing design tokens and UI patterns instead of hardcoded values. Align new component structure and header styles with established patterns (notably the bean detail section header).

Workflow

  1. Locate token sources and patterns.
  2. Map every new style or layout decision to a token or established pattern.
  3. Add missing tokens upstream only when necessary.
  4. Call out any intentional exceptions.

Token Sources (required)

Read references/ui-token-sources.md before editing UI components.

Checklist

  • Use typography tokens (textStyles.*) for headers, labels, and helper text.
  • Use spacing/gap tokens (spacing.*, gap.*, layoutSpacing.*) for layout.
  • Use surface/card tokens (card, sectionSurface, pageSurface) for backgrounds and borders.
  • Use color tokens (colorCss.*) for text, borders, and backgrounds.
  • Match section headers to the bean detail section-title-area pattern unless told otherwise.

If Tokens Are Missing

  • Add a token upstream in frontend/src/lib/ui/** and use it.
  • Avoid hardcoded values unless explicitly required; document the exception.

Output Expectations

  • Reference the token source used for key visual decisions.
  • Keep styles consistent with existing component patterns.

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon