Build scalable design systems with design tokens, theming infrastructure, and component architecture patterns. Designers and developers benefit from consistent, reusable components. Apply to web and mobile apps, connecting to design tools like Figma and development frameworks like React.
claude skill add design-system-patternsThe Design System Patterns skill enables developers and designers to build scalable design systems by leveraging design tokens, theming infrastructure, and component architecture patterns. This advanced skill focuses on creating a cohesive and efficient design framework that can be easily maintained and adapted over time. By implementing this skill, teams can ensure consistency across applications, which is crucial for enhancing user experience and brand identity. One of the key benefits of utilizing the Design System Patterns skill is the potential for significant time savings in the design and development process. By establishing a robust design system, teams can reduce redundancy and streamline workflows, allowing for faster iterations and deployment of new features. Although the exact time savings are currently unknown, the structured approach to design can lead to more efficient collaboration between designers and developers, ultimately accelerating project timelines. This skill is particularly beneficial for advanced developers, product managers, and AI practitioners who are responsible for overseeing design and development workflows. It is ideal for those working in tech-focused departments where design consistency and scalability are paramount. For example, a product manager could leverage this skill to ensure that new features align with the established design system, while developers can quickly implement changes without needing to start from scratch. Implementing the Design System Patterns skill requires a solid understanding of design principles and front-end development practices. As the skill is classified as advanced, users should be prepared to invest at least two hours to set up and integrate the necessary components into their existing workflows. This skill fits seamlessly into AI-first workflows by allowing teams to automate design consistency checks and streamline the deployment of design updates, thereby enhancing overall productivity and effectiveness in delivering high-quality user interfaces.
1. **Define Requirements:** Start by listing your product’s UI elements (e.g., buttons, cards, forms) and brand values (e.g., accessibility, minimalism). Use [BRAND_VALUES] and [UI_ELEMENTS] in the prompt template. 2. **Generate Tokens & Components:** Run the prompt in an AI tool (e.g., ChatGPT, Claude) and review the output. Adjust tokens to match your brand (e.g., replace `#2E86C1` with your primary color). 3. **Prototype in Figma:** Import the AI-generated tokens into Figma. Use the tokens to create a component library with variants (e.g., button states). Enable auto-layout for responsive behavior. 4. **Implement in Code:** Export tokens as CSS variables or JSON. Build React components using the tokens (e.g., `StyledButton`). Wrap your app in a `ThemeProvider` for dynamic theming. 5. **Document & Share:** Publish the system in Storybook or Figma Dev Mode. Include usage guidelines (e.g., when to use primary vs. secondary buttons) and update the team via Slack/email. Tip: For mobile apps, test components on both iOS and Android to ensure consistency. Use Affinity Photo to create high-fidelity mockups for documentation if needed.
No install command available. Check the GitHub repository for manual installation instructions.
Copy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Design a scalable design system pattern for [PRODUCT_NAME] that includes: (1) a set of design tokens (colors, typography, spacing) aligned with [BRAND_VALUES], (2) a component architecture for [UI_ELEMENTS], and (3) theming infrastructure supporting [THEME_VARIANTS]. Use Figma for prototyping and React for implementation. Ensure the system supports both web and mobile platforms. Document the patterns in a way that both designers and developers can use them.
### Design System Pattern for Acme Corp’s SaaS Platform
**Design Tokens:**
- **Colors:** Primary (#2E86C1), Secondary (#F39C12), Error (#E74C3C), Success (#27AE60). Dark mode variants: #1A5276, #D68910, #C0392B, #1E8449.
- **Typography:** Headings (Inter Bold, 32px/1.2), Body (Inter Regular, 16px/1.5), Captions (Inter Light, 14px/1.4).
- **Spacing:** Base unit = 8px. Padding: S (8px), M (16px), L (24px), XL (32px).
**Component Architecture:**
1. **Buttons:** Primary (solid), Secondary (outline), Tertiary (text). All support hover, active, and disabled states. Icons optional.
2. **Cards:** Default (white bg), Elevated (shadow), Outline (border). Widths: S (280px), M (360px), L (480px).
3. **Forms:** Input fields with validation states (default, error, success). Labels use M spacing (16px).
4. **Navigation:** Sidebar (collapsible), Top bar (sticky), Mobile drawer.
**Theming Infrastructure:**
- **Light/Dark Mode:** Toggle in user settings. Tokens auto-switch based on preference.
- **Brand Themes:** "Acme Blue" (primary), "Emerald Green" (alternative), "Midnight Black" (dark).
- **Custom Themes:** Users can override tokens via JSON config (e.g., `theme.json`).
**Figma Prototype:**
- Created a master component library with variants for each component.
- Used auto-layout for responsive behavior (e.g., buttons expand to fill container).
- Added a "Design Tokens" page for easy reference.
**React Implementation:**
- Tokens exported as CSS variables: `--color-primary: #2E86C1;`
- Components built with Styled Components: `const Button = styled.button`
- Theming provider wraps the app: `<ThemeProvider theme={theme}>`
- Mobile support via media queries and touch-friendly padding.
**Documentation:**
- Published a Storybook site with live examples and code snippets.
- Added a Figma file link for designers to inspect and modify components.
- Included a migration guide for teams moving from legacy styles.Create stunning websites effortlessly with customizable templates and e-commerce tools.
Visualize user engagement with heatmaps and optimize designs through A/B testing.
The new way to create a website
Create and collaborate on interactive animations with powerful, user-friendly tools.
Create interactive prototypes with real-time collaboration and extensive component libraries.
Async video messaging for workplace communication
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan