builder-design-system/SKILL.md
Apply the Autonomous Agent Builder design system to the autonomous-agent-builder codebase. Use when building or restyling Builder dashboard pages, adding or auditing primitive components, generating theme presets, wiring status language, motion hooks, or validating a screen against the locked Builder design system.
npx skillsauth add ingpoc/skills builder-design-systemInstall 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.
You are applying the Autonomous Agent Builder design system v0.5 to the autonomous-agent-builder codebase. This skill bundles the locked tokens, themes, primitive APIs, page patterns, and status language into a deterministic playbook.
Use this skill when the user asks you to:
| File | Use |
|---|---|
| tokens.css | Single source of truth for color, type, spacing, radii, shadows, status colors. Drop into frontend/src/index.css or import alongside it. |
| themes.json | Six locked theme presets — calm, operator, sage, ember, midnight, paper. Each declares hue, density, radius, mode. |
| components.md | Primitive component API contracts — core (StatusPill, Surface, Eyebrow, Tabs, Button, StatusDot, Code, Kbd, Meter, Stat, Input, BrandMark) + editorial (EditorialContent, KnowledgeCard, KnowledgeEditorialSummary, MemorySidebar, RelatedSidebar, TagCloud, EmptyState, SectionLabel). |
| patterns.md | Page-level patterns — page intro, three-column chrome, condense-on-scroll, configurable design-system drawer, Settings page hierarchy, command palette, status pill rules, Motion choreography (GSAP) with named recipes and data-* hooks. |
| status-language.md | Status taxonomy + tone mapping, plus the memory-type tones (decision / pattern / correction). |
var(--*) tokens or oklch() with the system's hue/lightness scale. New accents must be one of the 9 hues in themes.json.status-language.md and the StatusPill / StatusDot primitives.components.md for buttons, surfaces, tabs, dots, pills, eyebrows, code, kbd, editorial blocks, knowledge cards, tag clouds, drawers, empty states, section labels. Never hand-roll equivalents.
3a. Motion is part of the contract. When building a List+Detail, Stream, or Dashboard page, attach the right data-* hooks (data-board-section, data-agent-stage, data-kpi, data-cost-bar, data-stagger) so the page picks up the system's choreography automatically. Every new tween must respect prefers-reduced-motion and clearProps: "all".patterns.md — Eyebrow + display heading + 60ch lede paragraph + content. No exceptions on top-level pages.--density and multiply paddings/heights inside primitives. Don't fork primitives per density.data-theme="dark" on <html> — never hard-code dark hex values in components.tweaks.jsx model: preset cards with mini previews, advanced controls for hue/chroma/density/radius/mode/display face, live CSS-variable updates, and a reset path back to presets. Do not replace it with a static theme picker.When asked to build or modify a page in the codebase:
tokens.css, components.md, patterns.md. Don't guess.<div> a button, never bare-color a status.status-language.md.patterns.md.Apply these before page-level styling:
Agent chat for operator-to-Builder-Agent text and realtime voice. Use Run trace for task/run inspection: prompt, thinking, tool calls, tool args/results, gates, approvals, logs, diffs, cost, runtime, model, duration, and stop reason.EditorialContent; never expose final prose as raw pre text.The configurable design system is modeled by the reference src/tweaks.jsx. It is a live operator control, not just internal CSS:
id, name, tagline, hue, density, radius, mode, fontDisplay, and fontUi.hue, accent chroma, density, radius, mode, and display face independently.null for "follow preset" overrides so reset is deterministic.At minimum the active theme writes:
:root {
--accent-hue: <hue>;
--accent-chroma: <chroma>;
--density: <density>;
--radius-base: <radius>px;
}
:root[data-theme="dark"] { /* dark token overrides */ }
All primitives derive every visual from these knobs + the static token base. To add a new theme: append to themes.json with a unique id, name, tagline, hue, density, radius, mode, and font metadata. Avoid adding per-page theme conditionals.
If you must add a new primitive (rare):
var(--*) tokens for color, spacing, radius, shadow.--density for any vertical padding or height.data-theme="dark" automatically by using semantic tokens (--fg, --bg, --surface, --line) — never raw hex.components.md with its API contract before merging.A page or component is done when:
status-language.md (and memory types from the memory-type tones table)EditorialContentKnowledgeCard; all drawers use MemorySidebar / RelatedSidebarpatterns.md → Motion choreography) and respects prefers-reduced-motion#[0-9a-f]{3,8} — should be empty)--density is respected on any custom height/paddingApp.tsx and require a product decision)If a user asks for one of the above, complete the design work and clearly call out the non-design changes for them to handle separately.
devops
Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.
tools
Design or review CLIs so both coding agents and humans can use them reliably: dual-audience output, non-interactive paths, layered help, machine-readable data, predictable flags, safe mutations, and actionable errors. Use when building a CLI, adding commands, writing --help, or when the user mentions agents, terminals, automation-friendly CLIs, JSON output, or headless usage.
tools
Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read/write commands, return stable JSON, manage auth, and pair with a companion skill.
development
Use when configuring apps to use z.ai GLM 4.7 proxy instead of standard Anthropic API. Works with any frontend (Next.js, Vite) or backend (Python, Node.js) framework.