gts-design-system-integration
GTS Design System Integration
Quick Workflow
- Identify the app type and current styling stack.
- Align dependencies and Tailwind v4 tooling.
- Set up one Tailwind css entrypoint and correct import order.
- Import GTS css once at the app root.
- Remove conflicting token/theme/global style sources.
- Apply GTS layout and typography patterns.
- For complex pages (for example configurator screens), compose reusable layout sections and variant-driven states.
- Validate build, lint, and visual output.
Load These References
- Always read
references/guidelines.md. - Always read
references/shadcn-compatibility.md. - Always read
references/tailwind-style-usage.md. - Always read
references/tailwind-utility-inventory.md. - Read
references/app-integration-playbook.mdfor app-specific steps.
Guardrails
- Treat
gts-central-libraryas the styling source of truth. - Keep app behavior and routing unchanged during migration.
- Keep local css minimal and app-specific.
- Avoid duplicate semantic variable systems.
- Keep Tailwind configuration modern (v4 syntax/tooling) and avoid legacy layering patterns.
- Prefer GTS components and token-backed values over one-off styles.
- For configurator implementations, model screen states as explicit variants (
summary,style,personalize, etc.) instead of duplicating near-identical page code. - Reuse existing primitives (
Header,USPBar,ActionBar,Button,SearchBar, token utilities) before introducing new components. - Keep configurator sections data-driven (accordion rows, swatches, option grids) so behavior and structure stay consistent across variants.
- Add Storybook coverage for each major layout state; do not create separate stories for transient interactive states (hover/focus/pressed).
Validation
Use the app's standard checks:
npm run build
npm run lint
Then verify representative screens for token resolution, spacing, typography, and color parity.
For gts-central-library itself, use:
bun run build
bun run lint
More from jonathanwillisdesign/gts-central-library
gts-library-workflows
Workflow guide for the GTS Central Library (components, icons, tokens, color conversion, token builds, and commit/push). Use when Codex is asked to perform or guide these tasks in this repo.
8vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
8implement-design
Translates Figma designs into production-ready code with 1:1 visual fidelity. Use when implementing UI from Figma files, when user mentions "implement design", "generate code", "implement component", "build Figma design", provides Figma URLs, or asks to build components matching Figma specs. Requires Figma MCP server connection.
7