[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M757NWNKX0Z2861YA7ZB3BE4":3,"skill-same:01M757NWNKX0Z2861YA7ZB3BE4":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M757NWNKX0Z2861YA7ZB3BE4","atomic-design",null,"Brad Frost's atomic design methodology (atoms → molecules → organisms → templates → pages) for architecting scalable, multi-platform design systems — use when structuring a component library, mapping tokens to components, organizing Figma\u002Fcode component trees, or deciding the right level of abstraction for a UI element.","jpoindexter\u002FVanta","jpoindexter","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2729617?v=4","01M72VRRYY1CP7RPF3B7GHH0CR","01M757GWDBT6RD147ZZ79N4MEX",4,"MIT","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fdesign-system-skills\u002Fatomic-design\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: atomic-design\ndescription: Brad Frost's atomic design methodology (atoms → molecules → organisms → templates → pages) for architecting scalable, multi-platform design systems — use when structuring a component library, mapping tokens to components, organizing Figma\u002Fcode component trees, or deciding the right level of abstraction for a UI element.\ntags: [design-systems, atomic-design, architecture]\n---\n# Atomic Design — methodology for building scalable design systems\n\nAtomic design is a mental model for **decomposing interfaces into reusable, composable parts** and reassembling them into screens. It is not a folder structure you copy blindly; it is a vocabulary for talking about *granularity* and *composition* so designers and engineers agree on what a \"component\" is and where it lives. Use it to make a design system legible, not to satisfy a taxonomy.\n\nThe core insight: interfaces are not pages, they are **systems of components**. Build the system, and pages fall out of it. The five stages give you a shared language for the spectrum from raw style primitive to fully-composed screen.\n\n## The five stages\n\n| Stage | Definition | Composable? | UI examples (cross-platform) |\n|-------|-----------|-------------|------------------------------|\n| **Atoms** | Smallest functional UI units; can't be broken down without losing meaning. | Building blocks | Button, input, label, icon, checkbox, avatar, badge, spinner, switch, a single `Text` style |\n| **Molecules** | A small group of atoms bonded into a unit with one job. | Atoms → 1 unit | Search field (input + button + label), form field (label + input + error), list row (avatar + title + chevron), tag chip with remove icon |\n| **Organisms** | Relatively complex, self-contained sections made of molecules\u002Fatoms. | Molecules → section | Nav bar, card, comment thread, product tile, data table, bottom tab bar, settings group |\n| **Templates** | Page-level layout: organisms arranged into a structure, **placeholder content only**. | Layout skeleton | Article layout, dashboard grid, checkout scaffold, master-detail split |\n| **Pages** | A template filled with **real, representative content** — the highest-fidelity artifact. | Instance | The actual article, a populated dashboard, a real product page |\n\n### Atoms\nThe irreducible primitives. An atom has a single responsibility and no internal layout decisions about *other* components. A `Button` is an atom; a button *with an icon and a dropdown* is not. Atoms are where your **design tokens** become visible — an atom is the smallest place a color, font size, radius, or spacing token gets applied.\n\n> Litmus test: if removing a child element changes *what the thing fundamentally is*, you've gone below the atom. A label without its text is still a label; a search field without its input is no longer a search field.\n\n### Molecules\nAtoms doing one job together. The classic example is a search form: a `label` atom + `input` atom + `button` atom become a `SearchField` molecule. Molecules are the \"do one thing well\" layer — they encapsulate a small interaction (enter a query, toggle a setting, pick a date) and become genuinely reusable. Most of your *useful* reusable components live here and at the organism level.\n\n### Organisms\nDistinct, recognizable sections of an interface. A `Header` organism might contain a logo atom, a `SearchField` molecule, and a `NavList` molecule. Organisms can contain other organisms. They are where layout, responsive behavior, and meaningful state (loading, empty, error) tend to concentrate. On native platforms, a `BottomTabBar` or a `NavigationStack` header is an organism.\n\n### Templates\nTemplates strip out real content and show **structure**: where the header goes, how the grid flows, what stacks on mobile. They are the design-system equivalent of a wireframe made of real organisms. Templates answer \"how is this page laid out and how does it reflow?\" without committing to copy or data. In code, a template is often a layout component or a route's skeleton (e.g. a Next.js `layout.tsx`, an `ArticleLayout` with named slots).\n\n### Pages\nTemplates with real, representative content plugged in — including the *edge cases* that break naive designs: the 40-character name, the empty list, the 3,000-comment thread, the right-to-left locale. Pages are where you **validate the system against reality**. If a page looks wrong, you fix the template or the organisms, not the page. Pages are instances, not new components.\n\n## The chemistry analogy — and its limits\n\nThe atoms\u002Fmolecules\u002Forganisms metaphor is a *teaching device*, not a law. Its value: it conveys **hierarchy and composition** at a glance and gives non-overloaded names (unlike \"component,\" \"module,\" \"widget,\" which mean ten things). Its limits, which you must hold honestly:\n\n- **The boundaries are fuzzy.** Is a labeled input an atom or a molecule? Reasonable teams disagree. Don't litigate it — pick a convention and document it.\n- **It implies strict containment that real UIs violate.** Organisms contain organisms; molecules sometimes wrap a single atom. Chemistry doesn't, UIs do. That's fine.\n- **It says nothing about *behavior, state, or data*** — only structure. A design system also needs token architecture, state conventions, and accessibility rules the metaphor doesn't address.\n- **The five buckets are not five folders by mandate.** Many mature systems collapse to three tiers (primitives \u002F components \u002F patterns) or use feature folders. The metaphor is the thinking tool; the file layout is a separate decision.\n\nTreat the five stages as a **spectrum of granularity**, and the names as shorthand for points on it. Don't force every component to declare a stage on its birth certificate.\n\n## Atomic design ↔ design tokens\n\nTokens and atomic design are complementary layers, not competitors. Tokens are the **sub-atomic** layer — the values atoms consume.\n\n- **Atoms ↔ tokens.** An atom is the first place a token is *applied*. `Button` reads `color.action.primary`, `space.inset.md`, `radius.button`, `font.label`. The atom is the contract between the token system and the rendered pixel.\n- **Use the W3C DTCG token format** (`$value` \u002F `$type`, JSON) so tokens are tool-agnostic and transformable (Style Dictionary, Tokens Studio). Three semantic tiers:\n  - **Primitive \u002F global** — raw values: `color.blue.600 = #2563EB`, `space.4 = 16px`. Never referenced directly by components.\n  - **Semantic \u002F alias** — intent: `color.action.primary → {color.blue.600}`, `color.text.error`. Components reference *these*.\n  - **Component-scoped** (optional) — `button.background.default → {color.action.primary}`. Use only when a component needs to diverge; over-using this tier explodes the token count.\n\n```json\n{\n  \"color\": {\n    \"blue\":   { \"600\": { \"$value\": \"#2563EB\", \"$type\": \"color\" } },\n    \"action\": { \"primary\": { \"$value\": \"{color.blue.600}\", \"$type\": \"color\" } }\n  },\n  \"space\": { \"4\": { \"$value\": \"16px\", \"$type\": \"dimension\" } }\n}\n```\n\n**Cross-platform payoff:** one token source → Style Dictionary emits CSS custom properties for web, Swift\u002FCompose constants for iOS\u002FAndroid, and JSON for desktop (Tauri\u002FElectron). Atoms on every platform read the *same* semantic tokens, so a brand-color change is one edit, not N.\n\n## Atomic design ↔ code\n\nThe metaphor maps to **composition over inheritance**. You don't subclass a `Button` into a `SearchButton`; you *compose* a `Button` atom inside a `SearchField` molecule. Modern component patterns enforce this:\n\n- **Headless \u002F primitive components** (Radix, React Aria, Ark UI, Headless UI) give you unstyled, accessible *behavior* atoms. You apply tokens via styling. This separates the hard part (a11y, keyboard, focus, ARIA) from the easy part (looks).\n- **Slots \u002F compound components** are how molecules and organisms compose without prop-drilling. A `Card` exposes `Card.Header`, `Card.Body`, `Card.Footer`; a `Dialog` uses `Trigger`\u002F`Content`\u002F`Title`. This is composition made literal.\n- **Component-driven development**: build atoms → molecules → organisms in isolation, document and test each in **Storybook** (one story per state per level), then assemble. CDD + atomic design are the same idea from two directions.\n\n```tsx\n\u002F\u002F Atom — single concern, consumes tokens, no layout of others\nexport function Button({ variant = \"primary\", ...props }: ButtonProps) { \u002F* ... *\u002F }\n\n\u002F\u002F Molecule — composes atoms for one job\nexport function SearchField({ onSearch }: SearchFieldProps) {\n  return (\n    \u003Cform role=\"search\" onSubmit={\u002F* ... *\u002F}>\n      \u003CLabel htmlFor=\"q\">Search\u003C\u002FLabel>\n      \u003CInput id=\"q\" name=\"q\" \u002F>\n      \u003CButton type=\"submit\">\u003CIcon name=\"search\" \u002F>\u003C\u002FButton>\n    \u003C\u002Fform>\n  );\n}\n\n\u002F\u002F Organism — composes molecules + atoms into a section\nexport function Header() {\n  return \u003Cheader>\u003CLogo \u002F>\u003CSearchField onSearch={\u002F* ... *\u002F} \u002F>\u003CNavList \u002F>\u003C\u002Fheader>;\n}\n```\n\n## Naming & organization\n\nName by **what it is**, not where it sits (`SearchField`, not `Molecule_03`). Keep the atomic stage out of the import path if you can — consumers should write `import { SearchField } from \"@\u002Fui\u002Fsearch-field\"`, not care that it's a molecule. Two viable layouts:\n\n```\n# Strict atomic (good for teaching, design-eng handoff parity with Figma)\nui\u002F\n  atoms\u002F      button\u002F  input\u002F  icon\u002F\n  molecules\u002F  search-field\u002F  form-field\u002F\n  organisms\u002F  header\u002F  data-table\u002F\n  templates\u002F  article-layout\u002F\n\n# Tiered + feature (scales better past ~100 components)\nui\u002F\n  primitives\u002F   # atoms: button, input, icon\n  components\u002F    # molecules + simple organisms\n  patterns\u002F      # complex organisms + templates\nfeatures\u002F\n  checkout\u002F      # screen-specific compositions live with the feature\n```\n\nFiles `kebab-case`, components `PascalCase`. Co-locate `component.tsx`, `component.stories.tsx`, `component.test.tsx`, and tokens\u002Fstyles. **Mirror this structure in Figma** (see below) so a designer and an engineer point at the same node.\n\n## Templates vs pages — why both exist\n\nThis distinction is the most-skipped and most-valuable part. **Templates verify structure; pages verify reality.**\n- A template proves the *layout system* works: reflow, grid, slot order, responsive breakpoints — with neutral placeholder content.\n- A page proves the *content system* works: real strings, real data volumes, real edge cases. Pages surface the bugs templates hide (overflow, truncation, empty states, pluralization, RTL).\n\nIf you only build pages, you can't reuse layout. If you only build templates, you ship designs that shatter on real data. Build both; let page failures drive fixes *upstream* into templates and organisms.\n\n## How it relates to other models\n\n- **ITCSS (Inverted Triangle CSS):** a *CSS specificity* architecture (settings → tools → generic → elements → objects → components → utilities). Orthogonal to atomic design — ITCSS organizes *stylesheets*, atomic design organizes *components*. They coexist: tokens live in ITCSS \"settings,\" atoms in \"components.\"\n- **Material Design \u002F HIG \u002F Fluent:** platform design *languages* with their own component sets. Material 3's tokens and components map cleanly onto atomic thinking — Material \"components\" are largely your molecules\u002Forganisms, Material tokens are your sub-atomic layer. Atomic design is the *methodology*; Material\u002FHIG\u002FFluent are *specific systems* you can structure atomically.\n- **Design Tokens (DTCG):** the sub-atomic layer (above). Complement, not alternative.\n- **Component-Driven Development:** same philosophy, build-order emphasis.\n\n## When atomic design breaks down\n\nThe failure mode is **taxonomy worship** — spending energy on \"is this a molecule or organism?\" instead of shipping. Watch for:\n\n- **Over-nesting.** A `Button` atom inside a `ButtonGroup` molecule inside a `Toolbar` organism inside a `Header` organism inside a `Page`… five layers of indirection to change a padding value. Flatten.\n- **Premature abstraction.** Don't promote something to a shared atom\u002Fmolecule on first sight. **Rule of 3: a thing earns a place in the system only after 3 real, concrete uses.** Before that it's a local component in the feature folder. Abstracting at use #1 bakes in the wrong API.\n- **Bucket-arguing.** If two people disagree which stage something is, the answer rarely matters — pick one, document it, move on.\n- **Premature templates.** Don't build a template library before you have organisms worth arranging.\n\nWhen the metaphor causes more meetings than it saves, drop to three tiers (primitives \u002F components \u002F patterns) and keep the *composition discipline*. The discipline is the value; the five Greek-derived nouns are not.\n\n## Bottom-up vs top-down\n\n- **Bottom-up (atoms → pages):** purest atomic approach. Strong, reusable foundation; risk of building atoms nobody needs and stalling before delivering a screen.\n- **Top-down (page → decompose):** start from a real screen the business needs, **extract** atoms\u002Fmolecules as you find repetition. Faster to ship, system grows from proven need (aligns with Rule of 3).\n- **Recommended: middle-out.** Design 2–3 real key screens (top-down) to discover the *actual* vocabulary, then build the atoms\u002Fmolecules those screens proved you need (bottom-up), assembling outward. You get reuse without speculative abstraction.\n\n## Governance hooks\n\nA design system is a product with users (your other teams). Wire in:\n- **Contribution path:** how a feature team proposes a new shared component; who reviews; the Rule-of-3 promotion gate from feature-local → shared.\n- **Versioning:** semver the library; document breaking changes; codemods for renames.\n- **Deprecation:** mark, warn (lint rule \u002F console), migrate, remove on a schedule.\n- **Source of truth:** tokens in one DTCG repo; Figma variables synced from it (or vice-versa via Tokens Studio) so design and code can't drift.\n- **Storybook as the docs + visual-regression gate** (Chromatic or equivalent) on every level.\n\n## Worked example — decomposing a Settings screen\n\nA mobile\u002Fdesktop **Account Settings** screen:\n\n- **Atoms:** `Text` (heading\u002Fbody styles), `Switch`, `Input`, `Button`, `Avatar`, `Icon`, `Divider`.\n- **Molecules:** `SettingRow` (label + description + `Switch`), `FormField` (label + `Input` + helper\u002Ferror), `AvatarUpload` (`Avatar` + `Button`).\n- **Organisms:** `ProfileSection` (`AvatarUpload` + two `FormField`s), `NotificationsGroup` (header + N `SettingRow`s), `DangerZone` (warning text + destructive `Button`).\n- **Template:** `SettingsLayout` — a master-detail split on desktop\u002Ftablet (nav rail + scrollable panel), single scroll column on mobile, organisms slotted in order, **placeholder labels**.\n- **Page:** the real screen for a real user — actual name, avatar, the *empty* \"no connected devices\" state, a 60-character display name that must truncate, and the RTL mirror. Bugs found here push fixes into `SettingRow` (truncation) or `SettingsLayout` (reflow), never into the page itself.\n\n## Figma ↔ code parity\n\n- **Figma components = atoms\u002Fmolecules**; **component sets with variants = an atom's states** (`Button` set: variant × size × state). **Nested instances = composition** (a `SearchField` component places `Input` + `Button` instances) — the literal Figma analog of molecules composing atoms.\n- **Figma Variables ↔ DTCG tokens.** Map Figma variable collections to your token tiers (primitive \u002F semantic). Sync with Tokens Studio so the same `color.action.primary` exists in design and code.\n- **Mirror the naming and structure** across Figma pages and the repo so `Header \u002F NavList \u002F SearchField` resolves to the same thing in both tools — this is what makes handoff frictionless and keeps the system from forking into a \"design version\" and a \"code version.\"\n\n**The through-line:** tokens → atoms → molecules → organisms → templates → pages is one continuous composition chain, expressed identically in your token files, your Figma tree, and your component code. Keep those three in sync and the methodology pays for itself; let them drift and the metaphor becomes decoration.\n","# Atomic Design — methodology for building scalable design systems\n\nAtomic design is a mental model for **decomposing interfaces into reusable, composable parts** and reassembling them into screens. It is not a folder structure you copy blindly; it is a vocabulary for talking about *granularity* and *composition* so designers and engineers agree on what a \"component\" is and where it lives. Use it to make a design system legible, not to satisfy a taxonomy.\n\nThe core insight: interfaces are not pages, they are **systems of components**. Build the system, and pages fall out of it. The five stages give you a shared language for the spectrum from raw style primitive to fully-composed screen.\n\n## The five stages\n\n| Stage | Definition | Composable? | UI examples (cross-platform) |\n|-------|-----------|-------------|------------------------------|\n| **Atoms** | Smallest functional UI units; can't be broken down without losing meaning. | Building blocks | Button, input, label, icon, checkbox, avatar, badge, spinner, switch, a single `Text` style |\n| **Molecules** | A small group of atoms bonded into a unit with one job. | Atoms → 1 unit | Search field (input + button + label), form field (label + input + error), list row (avatar + title + chevron), tag chip with remove icon |\n| **Organisms** | Relatively complex, self-contained sections made of molecules\u002Fatoms. | Molecules → section | Nav bar, card, comment thread, product tile, data table, bottom tab bar, settings group |\n| **Templates** | Page-level layout: organisms arranged into a structure, **placeholder content only**. | Layout skeleton | Article layout, dashboard grid, checkout scaffold, master-detail split |\n| **Pages** | A template filled with **real, representative content** — the highest-fidelity artifact. | Instance | The actual article, a populated dashboard, a real product page |\n\n### Atoms\nThe irreducible primitives. An atom has a single responsibility and no internal layout decisions about *other* components. A `Button` is an atom; a button *with an icon and a dropdown* is not. Atoms are where your **design tokens** become visible — an atom is the smallest place a color, font size, radius, or spacing token gets applied.\n\n> Litmus test: if removing a child element changes *what the thing fundamentally is*, you've gone below the atom. A label without its text is still a label; a search field without its input is no longer a search field.\n\n### Molecules\nAtoms doing one job together. The classic example is a search form: a `label` atom + `input` atom + `button` atom become a `SearchField` molecule. Molecules are the \"do one thing well\" layer — they encapsulate a small interaction (enter a query, toggle a setting, pick a date) and become genuinely reusable. Most of your *useful* reusable components live here and at the organism level.\n\n### Organisms\nDistinct, recognizable sections of an interface. A `Header` organism might contain a logo atom, a `SearchField` molecule, and a `NavList` molecule. Organisms can contain other organisms. They are where layout, responsive behavior, and meaningful state (loading, empty, error) tend to concentrate. On native platforms, a `BottomTabBar` or a `NavigationStack` header is an organism.\n\n### Templates\nTemplates strip out real content and show **structure**: where the header goes, how the grid flows, what stacks on mobile. They are the design-system equivalent of a wireframe made of real organisms. Templates answer \"how is this page laid out and how does it reflow?\" without committing to copy or data. In code, a template is often a layout component or a route's skeleton (e.g. a Next.js `layout.tsx`, an `ArticleLayout` with named slots).\n\n### Pages\nTemplates with real, representative content plugged in — including the *edge cases* that break naive designs: the 40-character name, the empty list, the 3,000-comment thread, the right-to-left locale. Pages are where you **validate the system against reality**. If a page looks wrong, you fix the template or the organisms, not the page. Pages are instances, not new components.\n\n## The chemistry analogy — and its limits\n\nThe atoms\u002Fmolecules\u002Forganisms metaphor is a *teaching device*, not a law. Its value: it conveys **hierarchy and composition** at a glance and gives non-overloaded names (unlike \"component,\" \"module,\" \"widget,\" which mean ten things). Its limits, which you must hold honestly:\n\n- **The boundaries are fuzzy.** Is a labeled input an atom or a molecule? Reasonable teams disagree. Don't litigate it — pick a convention and document it.\n- **It implies strict containment that real UIs violate.** Organisms contain organisms; molecules sometimes wrap a single atom. Chemistry doesn't, UIs do. That's fine.\n- **It says nothing about *behavior, state, or data*** — only structure. A design system also needs token architecture, state conventions, and accessibility rules the metaphor doesn't address.\n- **The five buckets are not five folders by mandate.** Many mature systems collapse to three tiers (primitives \u002F components \u002F patterns) or use feature folders. The metaphor is the thinking tool; the file layout is a separate decision.\n\nTreat the five stages as a **spectrum of granularity**, and the names as shorthand for points on it. Don't force every component to declare a stage on its birth certificate.\n\n## Atomic design ↔ design tokens\n\nTokens and atomic design are complementary layers, not competitors. Tokens are the **sub-atomic** layer — the values atoms consume.\n\n- **Atoms ↔ tokens.** An atom is the first place a token is *applied*. `Button` reads `color.action.primary`, `space.inset.md`, `radius.button`, `font.label`. The atom is the contract between the token system and the rendered pixel.\n- **Use the W3C DTCG token format** (`$value` \u002F `$type`, JSON) so tokens are tool-agnostic and transformable (Style Dictionary, Tokens Studio). Three semantic tiers:\n  - **Primitive \u002F global** — raw values: `color.blue.600 = #2563EB`, `space.4 = 16px`. Never referenced directly by components.\n  - **Semantic \u002F alias** — intent: `color.action.primary → {color.blue.600}`, `color.text.error`. Components reference *these*.\n  - **Component-scoped** (optional) — `button.background.default → {color.action.primary}`. Use only when a component needs to diverge; over-using this tier explodes the token count.\n\n```json\n{\n  \"color\": {\n    \"blue\":   { \"600\": { \"$value\": \"#2563EB\", \"$type\": \"color\" } },\n    \"action\": { \"primary\": { \"$value\": \"{color.blue.600}\", \"$type\": \"color\" } }\n  },\n  \"space\": { \"4\": { \"$value\": \"16px\", \"$type\": \"dimension\" } }\n}\n```\n\n**Cross-platform payoff:** one token source → Style Dictionary emits CSS custom properties for web, Swift\u002FCompose constants for iOS\u002FAndroid, and JSON for desktop (Tauri\u002FElectron). Atoms on every platform read the *same* semantic tokens, so a brand-color change is one edit, not N.\n\n## Atomic design ↔ code\n\nThe metaphor maps to **composition over inheritance**. You don't subclass a `Button` into a `SearchButton`; you *compose* a `Button` atom inside a `SearchField` molecule. Modern component patterns enforce this:\n\n- **Headless \u002F primitive components** (Radix, React Aria, Ark UI, Headless UI) give you unstyled, accessible *behavior* atoms. You apply tokens via styling. This separates the hard part (a11y, keyboard, focus, ARIA) from the easy part (looks).\n- **Slots \u002F compound components** are how molecules and organisms compose without prop-drilling. A `Card` exposes `Card.Header`, `Card.Body`, `Card.Footer`; a `Dialog` uses `Trigger`\u002F`Content`\u002F`Title`. This is composition made literal.\n- **Component-driven development**: build atoms → molecules → organisms in isolation, document and test each in **Storybook** (one story per state per level), then assemble. CDD + atomic design are the same idea from two directions.\n\n```tsx\n\u002F\u002F Atom — single concern, consumes tokens, no layout of others\nexport function Button({ variant = \"primary\", ...props }: ButtonProps) { \u002F* ... *\u002F }\n\n\u002F\u002F Molecule — composes atoms for one job\nexport function SearchField({ onSearch }: SearchFieldProps) {\n  return (\n    \u003Cform role=\"search\" onSubmit={\u002F* ... *\u002F}>\n      \u003CLabel htmlFor=\"q\">Search\u003C\u002FLabel>\n      \u003CInput id=\"q\" name=\"q\" \u002F>\n      \u003CButton type=\"submit\">\u003CIcon name=\"search\" \u002F>\u003C\u002FButton>\n    \u003C\u002Fform>\n  );\n}\n\n\u002F\u002F Organism — composes molecules + atoms into a section\nexport function Header() {\n  return \u003Cheader>\u003CLogo \u002F>\u003CSearchField onSearch={\u002F* ... *\u002F} \u002F>\u003CNavList \u002F>\u003C\u002Fheader>;\n}\n```\n\n## Naming & organization\n\nName by **what it is**, not where it sits (`SearchField`, not `Molecule_03`). Keep the atomic stage out of the import path if you can — consumers should write `import { SearchField } from \"@\u002Fui\u002Fsearch-field\"`, not care that it's a molecule. Two viable layouts:\n\n```\n# Strict atomic (good for teaching, design-eng handoff parity with Figma)\nui\u002F\n  atoms\u002F      button\u002F  input\u002F  icon\u002F\n  molecules\u002F  search-field\u002F  form-field\u002F\n  organisms\u002F  header\u002F  data-table\u002F\n  templates\u002F  article-layout\u002F\n\n# Tiered + feature (scales better past ~100 components)\nui\u002F\n  primitives\u002F   # atoms: button, input, icon\n  components\u002F    # molecules + simple organisms\n  patterns\u002F      # complex organisms + templates\nfeatures\u002F\n  checkout\u002F      # screen-specific compositions live with the feature\n```\n\nFiles `kebab-case`, components `PascalCase`. Co-locate `component.tsx`, `component.stories.tsx`, `component.test.tsx`, and tokens\u002Fstyles. **Mirror this structure in Figma** (see below) so a designer and an engineer point at the same node.\n\n## Templates vs pages — why both exist\n\nThis distinction is the most-skipped and most-valuable part. **Templates verify structure; pages verify reality.**\n- A template proves the *layout system* works: reflow, grid, slot order, responsive breakpoints — with neutral placeholder content.\n- A page proves the *content system* works: real strings, real data volumes, real edge cases. Pages surface the bugs templates hide (overflow, truncation, empty states, pluralization, RTL).\n\nIf you only build pages, you can't reuse layout. If you only build templates, you ship designs that shatter on real data. Build both; let page failures drive fixes *upstream* into templates and organisms.\n\n## How it relates to other models\n\n- **ITCSS (Inverted Triangle CSS):** a *CSS specificity* architecture (settings → tools → generic → elements → objects → components → utilities). Orthogonal to atomic design — ITCSS organizes *stylesheets*, atomic design organizes *components*. They coexist: tokens live in ITCSS \"settings,\" atoms in \"components.\"\n- **Material Design \u002F HIG \u002F Fluent:** platform design *languages* with their own component sets. Material 3's tokens and components map cleanly onto atomic thinking — Material \"components\" are largely your molecules\u002Forganisms, Material tokens are your sub-atomic layer. Atomic design is the *methodology*; Material\u002FHIG\u002FFluent are *specific systems* you can structure atomically.\n- **Design Tokens (DTCG):** the sub-atomic layer (above). Complement, not alternative.\n- **Component-Driven Development:** same philosophy, build-order emphasis.\n\n## When atomic design breaks down\n\nThe failure mode is **taxonomy worship** — spending energy on \"is this a molecule or organism?\" instead of shipping. Watch for:\n\n- **Over-nesting.** A `Button` atom inside a `ButtonGroup` molecule inside a `Toolbar` organism inside a `Header` organism inside a `Page`… five layers of indirection to change a padding value. Flatten.\n- **Premature abstraction.** Don't promote something to a shared atom\u002Fmolecule on first sight. **Rule of 3: a thing earns a place in the system only after 3 real, concrete uses.** Before that it's a local component in the feature folder. Abstracting at use #1 bakes in the wrong API.\n- **Bucket-arguing.** If two people disagree which stage something is, the answer rarely matters — pick one, document it, move on.\n- **Premature templates.** Don't build a template library before you have organisms worth arranging.\n\nWhen the metaphor causes more meetings than it saves, drop to three tiers (primitives \u002F components \u002F patterns) and keep the *composition discipline*. The discipline is the value; the five Greek-derived nouns are not.\n\n## Bottom-up vs top-down\n\n- **Bottom-up (atoms → pages):** purest atomic approach. Strong, reusable foundation; risk of building atoms nobody needs and stalling before delivering a screen.\n- **Top-down (page → decompose):** start from a real screen the business needs, **extract** atoms\u002Fmolecules as you find repetition. Faster to ship, system grows from proven need (aligns with Rule of 3).\n- **Recommended: middle-out.** Design 2–3 real key screens (top-down) to discover the *actual* vocabulary, then build the atoms\u002Fmolecules those screens proved you need (bottom-up), assembling outward. You get reuse without speculative abstraction.\n\n## Governance hooks\n\nA design system is a product with users (your other teams). Wire in:\n- **Contribution path:** how a feature team proposes a new shared component; who reviews; the Rule-of-3 promotion gate from feature-local → shared.\n- **Versioning:** semver the library; document breaking changes; codemods for renames.\n- **Deprecation:** mark, warn (lint rule \u002F console), migrate, remove on a schedule.\n- **Source of truth:** tokens in one DTCG repo; Figma variables synced from it (or vice-versa via Tokens Studio) so design and code can't drift.\n- **Storybook as the docs + visual-regression gate** (Chromatic or equivalent) on every level.\n\n## Worked example — decomposing a Settings screen\n\nA mobile\u002Fdesktop **Account Settings** screen:\n\n- **Atoms:** `Text` (heading\u002Fbody styles), `Switch`, `Input`, `Button`, `Avatar`, `Icon`, `Divider`.\n- **Molecules:** `SettingRow` (label + description + `Switch`), `FormField` (label + `Input` + helper\u002Ferror), `AvatarUpload` (`Avatar` + `Button`).\n- **Organisms:** `ProfileSection` (`AvatarUpload` + two `FormField`s), `NotificationsGroup` (header + N `SettingRow`s), `DangerZone` (warning text + destructive `Button`).\n- **Template:** `SettingsLayout` — a master-detail split on desktop\u002Ftablet (nav rail + scrollable panel), single scroll column on mobile, organisms slotted in order, **placeholder labels**.\n- **Page:** the real screen for a real user — actual name, avatar, the *empty* \"no connected devices\" state, a 60-character display name that must truncate, and the RTL mirror. Bugs found here push fixes into `SettingRow` (truncation) or `SettingsLayout` (reflow), never into the page itself.\n\n## Figma ↔ code parity\n\n- **Figma components = atoms\u002Fmolecules**; **component sets with variants = an atom's states** (`Button` set: variant × size × state). **Nested instances = composition** (a `SearchField` component places `Input` + `Button` instances) — the literal Figma analog of molecules composing atoms.\n- **Figma Variables ↔ DTCG tokens.** Map Figma variable collections to your token tiers (primitive \u002F semantic). Sync with Tokens Studio so the same `color.action.primary` exists in design and code.\n- **Mirror the naming and structure** across Figma pages and the repo so `Header \u002F NavList \u002F SearchField` resolves to the same thing in both tools — this is what makes handoff frictionless and keeps the system from forking into a \"design version\" and a \"code version.\"\n\n**The through-line:** tokens → atoms → molecules → organisms → templates → pages is one continuous composition chain, expressed identically in your token files, your Figma tree, and your component code. Keep those three in sync and the methodology pays for itself; let them drift and the metaphor becomes decoration.\n",{"name":5,"tags":23,"description":7},[24,5,25],"design-systems","architecture","main","4911ae44bbb35beef4511ba298475ba5a82b7e1c","design-system-skills\u002Fatomic-design",0,"https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta","https:\u002F\u002Fdocs.vanta.theft.studio","https:\u002F\u002Fgithub.com\u002Fjpoindexter","jason.theft.studio","Just some guy trying to build stuff","2026-11-12 17:11:35",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add jpoindexter\u002FVanta --skill atomic-design",{"tool":42,"command":43},"bunx","bunx skills add jpoindexter\u002FVanta --skill atomic-design",{"tool":45,"command":46},"pnpm","pnpm dlx skills add jpoindexter\u002FVanta --skill atomic-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fdesign-system-skills\u002Fatomic-design\u002FSKILL.md",true,[],[51,58,65,72,79,85],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7582PEM7XM8B98VFRDV0C0J","write-changelog","Turn a range of commits into a user-facing changelog","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fsrc\u002Fmigrate\u002F__fixtures__\u002Fopenclaw\u002Fskills\u002Fwrite-changelog\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7582KTQJMP5Y7GS83MS1C7Z","debug-flaky-test","Reproduce and isolate a flaky test before fixing it","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fsrc\u002Fmigrate\u002F__fixtures__\u002Fopenclaw\u002Fskills\u002Fdebug-flaky-test\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7582HG7XFM4Z5NGG1YFECT8","triage-incident","First 10 minutes of an incident — stabilize, then diagnose","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fsrc\u002Fmigrate\u002F__fixtures__\u002Fhermes\u002Fskills\u002Ftriage-incident\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7582DQABK7A96XHMB770KQZ","writing-plans","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M7582BBK8H0HGSXKK08FCXJ1","vanta-port-adapter","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Fvanta-port-adapter\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M75828P8PX5XSBMJ2BVVDA9Y","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Ftest-driven-development\u002FSKILL.md",[],[]]