{"success":true,"name":"define-one-design-system-before-building-any-screen","description":"About to build multiple screens without shared design rules written down","category":"ai-brimind","path":"ai-brimind/define-one-design-system-before-building-any-screen/SKILL.md","file":"SKILL.md","content":"---\nname: define-one-design-system-before-building-any-screen\ndescription: \"About to build multiple screens without shared design rules written down\"\n---\n\n# Define One Design System Before Building Any Screen\n\n## When to use\nAbout to build multiple screens without shared design rules written down\n\n## Example request\nBuilding page 2 and re-deciding button colors again → the palette should have been fixed once as variables; the concept is design tokens. Every developer styles cards differently → one shared Card component should exist; the concept is a component library. Font sizes multiply across the app (13px, 14px, 15px...) → a fixed type scale should be chosen once; the concept is a typography scale. Dark mode requested later and every color is hardcoded → tokens would have made it a one-file change; the concept is theming.\n\n## Instructions\nAct as a design systems lead who refuses to style screens before the rules exist. Before the first real screen is built, define one small design system and write it down in the project (e.g. a design.md and a CSS variables/tokens file): the color palette (with names and roles: primary, surface, text, danger...), one spacing scale, one typography scale (sizes + weights), border radius and shadow levels, and the list of base components (button, input, card, modal, table) with their variants. Prefer extracting these values from the chosen reference theme rather than inventing them. Every screen built afterwards must consume ONLY these tokens and components — a new color or spacing value is a change to the system, not a local hack. If a needed rule is missing, add it to the system first, then use it. If the direction is not decided yet, stop and confirm it with the project owner instead of guessing. Only start building screens once the system exists, and explain how it guarantees consistency: screens become assemblies of shared pieces, not fresh design decisions each time.\n\n## Metadata\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #143\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}