Carbon layout
Skill leesum-in/carbon-design-system-skills/skills/carbon-layout
IBM Carbon `@carbon/layout` package guidance. Use for spacing scale tokens — `$spacing-01..09`, `$layout-01..07` — density choices, padding/margin token mapping, fluid spacing across breakpoints, the `mini-units()` function, and Sass/JS layout token exports. Skip for the 16-column grid system itself (carbon-grid), semantic theme background tokens (carbon-themes), or non-Carbon spacing systems.From its SKILL.md
npx -y skills add leesum-in/carbon-design-system-skills --skill carbon-layoutAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.6 KB, as published. Nobody here has run it
Carbon Layout
Use this skill when a task depends on the @carbon/layout package or package-based Carbon spacing tokens.
Workflow
- Inspect whether the project imports
@carbon/layoutor maps Carbon spacing into local utilities. - Use
references/source-index.mdto locate spacing and package references. - Read only the needed topic docs under
references/. - Verify spacing scale consistency, component padding, margins, density, and responsive layout units.
- Use
carbon-gridwhen the issue is column grid behavior.
Reference Lookup
- Start with
references/source-index.md. - Use spacing docs for scale decisions and package files for import/API details.
- If the topic is ambiguous, run the
rg -nsearch command shown in the index.
Boundaries
Use this skill for @carbon/layout and spacing package usage. Use carbon-foundations for package-free layout judgment and carbon-grid for the 16 column grid.
References
references/source-index.md: source files and notes for Carbon layout package guidance.references/: topic-first Carbon references, organized as<topic>/guidelines/and<topic>/specs/.