design-system

A set of frontend design rules for page layouts, CSS, and user-interface components, including hierarchy, spacing, typography, color contrast, tables, and dark mode.

In plain words
What is it for?
Use it when creating or changing frontend templates, CSS, or interface components.
Why use it?
It gives the agent consistent visual rules to follow instead of making each interface decision from scratch.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/xsovad06/sova/design-system
Any agent
npx skills add xsovad06/sova --skill design-system
Clone the repo
git clone --depth 1 https://github.com/xsovad06/sova

Made for: Claude Code, Codex.

Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 508 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00040 $0.00508
Opus 5 $0.00020 $0.00254
Sonnet 5 $0.00008 $0.00102
Haiku 4.5 $0.00004 $0.00051

Measured 2d ago against content hash a5efe8f9bd15, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

design-system scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/design-system/SKILL.md · 52 lines

What it actually says

Design System Conventions

When creating or modifying frontend templates, CSS, or UI components, follow these conventions.

Visual Hierarchy

  • Establish clear heading hierarchy (h1 > h2 > h3) with distinct sizes
  • Use whitespace to separate logical sections -- generous padding over cramped layouts
  • Primary actions must be visually distinct from secondary actions (size, color, weight)
  • Data tables: header row visually distinct, alternating row backgrounds for readability

Typography

  • Limit to 2 font families maximum (one for headings, one for body)
  • Body text: 14-16px minimum, 1.5-1.6 line height
  • Do not use font weights below 400 for body text
  • Headings: use weight contrast (600-700) rather than excessive size

Spacing

  • Use a consistent spacing scale (4px base: 4, 8, 12, 16, 24, 32, 48)
  • Containers: minimum 16px padding on all sides
  • Between sections: minimum 24px gap
  • Between related items: 8-12px gap

Color

  • Maintain WCAG AA contrast ratios (4.5:1 for text, 3:1 for large text)
  • Use semantic color names in CSS (--color-primary, --color-danger) not raw values
  • Status indicators: green=success, yellow=warning, red=error, blue=info
  • Dark mode: never use pure black (#000) backgrounds -- use dark grays

Anti-Slop Rules

  • No centered-everything layouts -- use left-aligned text with intentional centering
  • No generic card grids without hierarchy -- vary card sizes to show importance
  • No walls of same-sized buttons -- establish visual priority
  • No unstyled form elements -- every input needs focus states and consistent borders
  • Animations: subtle and purposeful (150-300ms transitions), never decorative

Responsive

  • Mobile-first: design for smallest viewport, enhance for larger
  • Touch targets: minimum 44x44px on mobile
  • Do not hide critical information behind hover states on touch devices
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 52 lines · 40 tokens per session scan A a5efe8f9bd15

Subscribe to this mod's changes

design-system is a skill published in the GitHub repository xsovad06/sova (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 40 tokens to every session and 508 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

creative-design

Use when creating new UIs from scratch — landing pages, marketing sites, prototypes, or any greenfield frontend work where no existing design system applies. Also triggers for portfolio sites, product launches, campaign pages, microsites, or any page where visual distinction and memorability matter as much as…

yves-s/just-ship · 103 tokens

design-guide

Paperclip UI design system guide for building consistent, reusable frontend components. Use when creating new UI components, modifying existing ones, adding pages or features to the frontend, styling UI elements, or when you need to understand the design language and conventions. Covers: component creation, design…

paperclipai/paperclip · 105 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

material-ui-tailwind

Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.

mui/material-ui · 67 tokens

author-component

Create or review Blazor components (.razor files) with correct architecture. USE FOR: writing new Blazor components that do NOT involve JavaScript interop, implementing parameters and EventCallback, RenderFragment slots, component lifecycle (OnInitializedAsync, OnParametersSet), async patterns, IAsyncDisposable…

dotnet/skills · 148 tokens

obsidian-layout-adjustment

Workflow for working with the user on changing how Obsidian looks using CSS snippets. Use this whenever the user asks to restyle Obsidian, tune a vault's visual layout, adjust tabs, sidebars, note surfaces, properties, backlinks, graph panes, file explorer rows, icons, links, shadows, active states, or CSS snippets.…

Ar9av/obsidian-wiki · 115 tokens