Design System

🏢Official
by getsentry · vlatest · Repository

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.

1

Run in terminal (recommended)

terminal
claude mcp add design-system npx -- -y @trustedskills/design-system
2

Or manually add to ~/.claude/settings.json

~/.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/scraps component 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/scraps components 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/scraps instead 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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
getsentry
Installs
50

🏢 Official

Published by the company or team that built the technology.