design-system

A project-specific way to manage visual styles: shared color and spacing values are copied into each app, while interface components belong to that app. It also defines a near-black dark theme and an app-specific accent color.

In plain words
What is it for?
Use it when adding or styling interface components, defining colors and spacing, or keeping several apps visually consistent.
Why use it?
It avoids styling conflicts caused by a shared UI package and keeps each app's components easy for its own styling tools to find and change.

Cursor rule for Cursor

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 rules/mission69b/t2000/design-system
Clone the repo
git clone --depth 1 https://github.com/mission69b/t2000

Made for: Cursor.

Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 344 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.00000 $0.00344
Opus 5 $0.00000 $0.00172
Sonnet 5 $0.00000 $0.00069
Haiku 4.5 $0.00000 $0.00034

Measured 2d ago against content hash 96bb093d03ea, 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.

.cursor/rules/design-system.mdc · 24 lines

What it actually says

Design System → .claude/skills/t2000-design-system/SKILL.md

The model in one line: share VALUES by copy-in (design-tokens/tokens.css, pure CSS variables only), own COMPONENTS per-app (shadcn in components/ui/), and never ship a shared UI/token package again — @t2000/ui was removed 2026-07-01 because it bundled a marketing global stylesheet and packaged primitives a consumer's Tailwind can't scan.

House look is the seamless near-black dark theme (--bg #08090a); the one per-app knob is --t2k-accent. Read semantic tokens (--bg/--bg-elevated/--border), never the raw --ds-gray-* palette, and never hardcode hex outside tokens.css.

Read the full model — adoption table, theme values, and the five rules — before styling any app: .claude/skills/t2000-design-system/SKILL.md.

(Content moved there 2026-07-24 from geist-ds.mdc — do not re-inline it here; this file is a pointer so Cursor and Claude Code cannot drift.)

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 · 24 lines · 0 tokens per session scan A 96bb093d03ea

Subscribe to this mod's changes

design-system is a cursor rule published in the GitHub repository mission69b/t2000 (23 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 344 tokens. 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-30.