Design System
Automates design system component generation and documentation from Figma designs, ensuring consistency across your frontend.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add design-system npx -- -y @trustedskills/design-system
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"design-system": {
"command": "npx",
"args": [
"-y",
"@trustedskills/design-system"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automates the generation and documentation of design system components from Figma designs, specifically for frontend development at Sentry. It leverages core components from @sentry/scraps to ensure consistent styling, responsive design, and maintainability across the codebase. The skill provides implementations for layout primitives (Container, Flex, Grid, Stack) and typography primitives (Text, Heading).
When to use it
- When building frontend applications that require a consistent design system.
- To quickly generate reusable UI components from Figma designs.
- To ensure adherence to established styling guidelines and best practices within the
@sentry/scrapscomponent library. - For developers needing reference documentation on available props for layout and typography components.
Key capabilities
- Layout Component Generation: Creates Container, Flex, Grid, and Stack layout primitives.
- Typography Component Generation: Generates Text and Heading typography primitives.
- Prop Documentation: Provides detailed information on supported props for each component, with references to implementation files.
- Core Component Usage Enforcement: Promotes the use of
@sentry/scrapscomponents over custom styled components (e.g., using Emotion). - Inheritance: Flex, Grid, and Stack components inherit all properties from the Container component.
Example prompts
- "Generate a Flex layout with horizontal direction and centered alignment."
- "Show me the available props for the Container component."
- "Create a heading primitive using the 'primary' surface variant."
Tips & gotchas
- Prioritize Core Components: Always use components from
@sentry/scrapsinstead of creating custom styled components. - Container Inheritance: Remember that Flex, Grid, and Stack inherit all Container props, providing a wide range of styling options.
- Prop Documentation Reference: Consult the implementation files (linked in the documentation) for complete lists of supported props and their types.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🏢 Official
Published by the company or team that built the technology.