From ccube-fds-web-app-builder
Flagship Design System (FDS) knowledge for @lifesg/react-design-system — component catalogue, token reference, and Figma-to-FDS mapping heuristics. Use when implementing UI with FDS components or analysing which Figma elements can be fulfilled by FDS.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ccube-fds-web-app-builder:cc-design-system Ask about specific FDS components, token usage, or Figma element mappingAsk about specific FDS components, token usage, or Figma element mappingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides structured knowledge about the LifeSG Flagship Design System (FDS) for use during Figma-to-code translation and frontend implementation.
CATALOGUE-PROGRESS.mdresources/component-catalogue-content.mdresources/component-catalogue-core.mdresources/component-catalogue-feedback-indicators.mdresources/component-catalogue-form.mdresources/component-catalogue-navigation.mdresources/component-catalogue-overlays.mdresources/component-catalogue-selection-input.mdresources/component-catalogue.mdresources/foundations-tokens.mdresources/layout-composition-patterns.mdresources/theme-setup.mdThis skill provides structured knowledge about the LifeSG Flagship Design System (FDS) for use during Figma-to-code translation and frontend implementation.
This skill targets @lifesg/react-design-system v3.x (current stable).
| Version | npm tag | Storybook |
|---|---|---|
| v3 (stable, this skill) | ^3 | https://designsystem.life.gov.sg/react/index.html |
| v4 (alpha — not yet supported) | latest as of 2026-03 | https://designsystem.life.gov.sg/react/v4/index.html |
Before using this skill, determine the installed FDS version:
package.json in the project root.^3.x (or no version specifier on an older
project) → use resources/ (this skill's default folder) and the
v3 Storybook URL above.^4.x → the resources-v4/ folder is not
yet populated. Inform the user, then refer directly to the v4 Storybook
at https://designsystem.life.gov.sg/react/v4/index.html for component
API details. Do NOT use v3 resources for v4 projects — the
ThemeProvider API, CSS import steps, and styled-components peer
dependency have all changed.@lifesg/react-design-system
Online reference: https://designsystem.life.gov.sg/react/index.html
CRITICAL — Access method: Skill resource files live inside the agent-plugin directory, which is excluded from workspace search, grep, and codebase search by default. You MUST use
readFilewith the full resource path to access them. NEVER attempt to locate FDS components via workspace search — it will return nothing and lead you to wrongly conclude a component does not exist.
The component catalogue is split into one file per group, mirroring the Storybook left-hand sidebar. Load only the file(s) relevant to the components you need.
| Group | File | Contains (documented so far) |
|---|---|---|
| Index + quick lookup | resources/component-catalogue.md | Figma → FDS quick lookup table, Known FDS Gaps |
| Core | resources/component-catalogue-core.md | Layout, Typography |
| Content | resources/component-catalogue-content.md | Accordion, Card |
| Selection and input | resources/component-catalogue-selection-input.md | Button, Checkbox, RadioButton |
| Feedback indicators | resources/component-catalogue-feedback-indicators.md | Alert |
| Overlays | resources/component-catalogue-overlays.md | Modal (legacy), ModalV2 |
| Form | resources/component-catalogue-form.md | Input, Form.Input, Form.Select, Form.DateInput, Form.DateRangeInput, Form.Textarea, Form.MultiSelect, Form.Timepicker, and more |
resources/foundations-tokens.md: Design token reference — Colour,
Spacing, Font, and other foundation tokens for use in custom
styled-components.resources/theme-setup.md: Project setup, ThemeProvider wiring,
available theme presets, DSThemeProvider, and theme customisation.resources/layout-composition-patterns.md: Page-level aesthetic
patterns — page shell structure, spacing rhythm, visual hierarchy,
card composition, dashboard grids, table polish, and form layout
recipes. Read this after selecting components and before
writing or delegating page implementation.resources/component-catalogue.md — scan the
## Figma → FDS Quick Lookup table first to identify the candidate
component and its group.resources/foundations-tokens.md for token-based styling.resources/foundations-tokens.md — look up the Colour, Spacing,
or Font token table.${Colour["token-key"]} or ${Spacing["token-key"]} directly in
styled-components template literals.resources/layout-composition-patterns.md — identify the page
recipe that best matches the type of page being built (dashboard,
form, list/transaction).Layout.Section > Layout.Container > Layout.Content).resources/theme-setup.md — follow the four installation steps in
order.LifeSGTheme.light (not the bare
LifeSGTheme) to DSThemeProvider — the bare theme follows the user's
system prefers-color-scheme. There is no colorScheme prop.useDSTheme hook usage, refer to
the Dark Mode section in resources/theme-setup.md.The FDS decision order is:
resources/foundations-tokens.md)Any element that reaches step 4 or 5 MUST be flagged in the DS Coverage Plan.
npx claudepluginhub lifesg/ccube-agent-plugin-marketplace --plugin ccube-fds-web-app-builderCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.