web-design-system-foundation

web-design-system-foundation is a skill for Claude Code, Codex from makifbaysal/tasktrooper. It costs 77 tokens per session (5,694 once invoked), scanned A, original, Apache-2.0.

A starting plan for creating a web design system: shared style values, folders, and reusable interface components. A design system is a common set of rules and building blocks used across an app.

In plain words
What is it for?
Use it before building pages in a new web app that has no existing component library or design tokens. It covers the initial structure needed for reusable interface elements.
Why use it?
It prevents each page from inventing its own colours, spacing, and components. This makes later screens more consistent and easier to assemble.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before building pages in a new web app that has no existing component library or design tokens. It covers the initial structure needed for reusable interface elements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/makifbaysal/tasktrooper/web-design-system-foundation
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.

Any agent
npx skills add makifbaysal/tasktrooper --skill web-design-system-foundation
Clone the repo
git clone --depth 1 https://github.com/makifbaysal/tasktrooper

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for web-design-system-foundation

README.md
[![agentmods](https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/web-design-system-foundation/github.svg)](https://agentmods.dev/skills/makifbaysal/tasktrooper/web-design-system-foundation)
Your own site
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/web-design-system-foundation"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/web-design-system-foundation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web-design-system-foundation

Your own site · 80×15
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/web-design-system-foundation"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/web-design-system-foundation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,694 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00077 $0.05694
Opus 5.5 $0.00031 $0.02278
Sonnet 5.5 $0.00015 $0.01139
Haiku 4.5 $0.00008 $0.00569

Measured 4d ago against content hash 41596b792f96, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

web-design-system-foundation 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 4d 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.

catalog/agents/frontend-developer/skills/web-design-system-foundation/SKILL.md · 383 lines

How it starts

The opening of the file, as written. The whole thing — 383 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web Design System Foundation

Overview

A page built before tokens, a cn() helper, and the atomic folders exist turns into hex colors, one-off spacing, and a component library that never forms. This skill lays that foundation once, in order, so every page after it is composition, not invention.

Core principle: Lay the foundation before the first page section — tokens, folders, and the first atoms come before any feature work.

Detect first

get_design_system with files: true for this repository before anything else. When it returns a design system, the direction is already decided and approved: skip the design direction below and materialize it instead. Write every file in files verbatim at its path — DESIGN.md, design/tokens.json, design/tokens.css, design/INVENTORY.md; each carries a generated-file header and is never edited by hand, never transcribed. Then build the token block in step (c) on them: @import "../design/tokens.css"; right after @import "tailwindcss";, and every value in the step (c) block points at the generated variable by role instead of holding a value — each token is a CSS variable named by its path (color.light.primary → --color-light-primary), so --primary: var(--color-light-primary) in :root, --primary: var(--color-dark-primary) in .dark, --font-sans: var(--font-family-sans) in @theme. A generated name that already is a Tailwind theme variable (--radius-md, --shadow-sm, --font-weight-semibold) is used as it is: drop the step (c) line that would define it a second time, never point it at itself. src/components/INVENTORY.md lists the repository's components under the names design/INVENTORY.md gives them. A token block that already exists but differs keeps its structure and gets its values pointed at the generated variables. Only an empty answer leaves the direction to you.

Greenfield (use this skill) vs existing (map and follow component-composition, never restructure):

  • grep -r "@theme\|:root" src/index.css (v4) or tailwind.config.* theme.extend.colors (v3) — tokens defined?
  • ls src/components — do atoms/molecules/organisms/templates already exist, or a components.json (shadcn already initialized)?
  • cat src/components/INVENTORY.md present → library exists, reuse it.
  • Tailwind major: grep '"tailwindcss"' package.json (^4 → @theme; ^3 → config + CSS vars).

Read the full file on GitHub · 383 lines

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. 4d ago Changed · +2 lines · +35 tokens per session 41596b792f96
  2. 8d ago First seen · 381 lines · 42 tokens per session scan A 0a2dbff5312f

Subscribe to this mod's changes

web-design-system-foundation is a skill published in the GitHub repository makifbaysal/tasktrooper (113 stars, last pushed yesterday), licensed Apache-2.0. It adds 77 tokens to every session and 5,694 once invoked, about $0.0003 per session on Opus 5.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-10-05.

Related

Other skills, from other repositories

web-prototype

General-purpose desktop web prototype. Single self-contained HTML file built by copying the seed assets/template.html and pasting section layouts from references/layouts.md. Default for any landing / marketing / docs / SaaS page when no more specific skill matches.

nexu-io/open-design · 59 tokens

design-critique

Give a structured product design critique — user job clarity, hierarchy, affordance, error states, accessibility, and consistency — focused on what to change, in what order, and why.

paperclipai/paperclip · 42 tokens

web-prototype-taste-brutalist

Swiss industrial-print web prototype. Newsprint canvas, monolithic black grotesque, viewport-bleeding numerals, hairline grid dividers, hazard-red accent, ASCII syntax decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Swiss Industrial Print mode).

nexu-io/open-design · 70 tokens

web-design

Penguin visual language for generated web pages and app UIs — GitHub-style simplicity with a single blue accent, light and pure-black dark themes, design tokens, component and chat-interface recipes, plus an opt-in warm paper editorial theme.

Prism-Shadow/penguin-harness · 51 tokens

mockuplm

Create visual UX mockups using HTML/CSS files (.mockup.html). Use when the user wants to design UI, wireframes, visual layouts, or plan features visually.

nimbalyst/nimbalyst · 39 tokens

moai-design-tools

Design tool integration specialist covering Figma MCP, Pencil renderer, and Pencil-to-code export. Use when fetching design context from Figma, rendering Pencil designs, or exporting to React/Tailwind code.

modu-ai/moai-adk · 45 tokens