design-system
What it does
This skill looks after a team's design system, including its tokens, components and patterns. It is for design system owners and teams who want their interfaces to stay consistent.
When to use it
- βWhen you want to check a design system for naming inconsistencies or hardcoded values.
- βWhen a component needs documentation covering its variants, states and accessibility notes.
- βWhen you want a new pattern designed so that it fits the existing system.
Skill link
https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/design/skills/design-system/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βAudit our design system for inconsistent naming and hardcoded colors in the components.β
5 new skills a week. 1 minute to read.
How it works
The agent checks the system's tokens, components and patterns for problems and gaps. It then writes documentation or proposes a new pattern that follows the existing rules.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
/design-system
If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.
Manage your design system β audit for consistency, document components, or design new patterns.
Usage
/design-system audit # Full system audit
/design-system document [component] # Document a component
/design-system extend [pattern] # Design a new component or pattern
Components of a Design System
Design Tokens
Atomic values that define the visual language:
- Colors (brand, semantic, neutral)
- Typography (scale, weights, line heights)
- Spacing (scale, component padding)
- Borders (radius, width)
- Shadows (elevation levels)
- Motion (durations, easings)
Components
Reusable UI elements with defined:
- Variants (primary, secondary, ghost)
- States (default, hover, active, disabled, loading, error)
- Sizes (sm, md, lg)
- Behavior (interactions, animations)
- Accessibility (ARIA, keyboard)
Patterns
Common UI solutions combining components:
- Forms (input groups, validation, submission)
- Navigation (sidebar, tabs, breadcrumbs)
- Data display (tables, cards, lists)
- Feedback (toasts, modals, inline messages)
Principles
- Consistency over creativity β The system exists so teams don't reinvent the wheel
- Flexibility within constraints β Components should be composable, not rigid
- Document everything β If it's not documented, it doesn't exist
- Version and migrate β Breaking changes need migration paths
Output β Audit
## Design System Audit
### Summary
**Components reviewed:** [X] | **Issues found:** [X] | **Score:** [X/100]
### Naming Consistency
| Issue | Components | Recommendation |
|-------|------------|----------------|
| [Inconsistent naming] | [List] | [Standard to adopt] |
### Token Coverage
| Category | Defined | Hardcoded Values Found |
|----------|---------|----------------------|
| Colors | [X] | [X] instances of hardcoded hex |
| Spacing | [X] | [X] instances of arbitrary values |
| Typography | [X] | [X] instances of custom fonts/sizes |
### Component Completeness
| Component | States | Variants | Docs | Score |
|-----------|--------|----------|------|-------|
| Button | β
| β
| β οΈ | 8/10 |
| Input | β
| β οΈ | β | 5/10 |
### Priority Actions
1. [Most impactful improvement]
2. [Second priority]
3. [Third priority]
Output β Document
## Component: [Name]
### Description
[What this component is and when to use it]
### Variants
| Variant | Use When |
|---------|----------|
| [Primary] | [Main actions] |
| [Secondary] | [Supporting actions] |
### Props / Properties
| Property | Type | Default | Description |
|----------|------|---------|-------------|
| [prop] | [type] | [default] | [description] |
### States
| State | Visual | Behavior |
|-------|--------|----------|
| Default | [description] | β |
| Hover | [description] | [interaction] |
| Active | [description] | [interaction] |
| Disabled | [description] | Non-interactive |
| Loading | [description] | [animation] |
### Accessibility
- **Role**: [ARIA role]
- **Keyboard**: [Tab, Enter, Escape behavior]
- **Screen reader**: [Announced as...]
### Do's and Don'ts
| β
Do | β Don't |
|------|---------|
| [Best practice] | [Anti-pattern] |
### Code Example
[Framework-appropriate code snippet]
Output β Extend
## New Component: [Name]
### Problem
[What user need or gap this component addresses]
### Existing Patterns
| Related Component | Similarity | Why It's Not Enough |
|-------------------|-----------|---------------------|
| [Component] | [What's shared] | [What's missing] |
### Proposed Design
#### API / Props
| Property | Type | Default | Description |
|----------|------|---------|-------------|
| [prop] | [type] | [default] | [description] |
#### Variants
| Variant | Use When | Visual |
|---------|----------|--------|
| [Variant] | [Scenario] | [Description] |
#### States
| State | Behavior | Notes |
|-------|----------|-------|
| Default | [Description] | β |
| Hover | [Description] | [Interaction] |
| Disabled | [Description] | Non-interactive |
| Loading | [Description] | [Animation] |
#### Tokens Used
- Colors: [Which tokens]
- Spacing: [Which tokens]
- Typography: [Which tokens]
### Accessibility
- **Role**: [ARIA role]
- **Keyboard**: [Expected interactions]
- **Screen reader**: [Announced as...]
### Open Questions
- [Decision that needs design rev
FAQ
What parts make up a design system?
Design tokens such as colors and spacing, components with their variants and states, and patterns such as forms and navigation.
What is the main principle?
Consistency over creativity, so teams do not reinvent the same parts.
Can it document a single component?
Yes. It can document one component's variants, states and accessibility notes.
Details
Original description by the author
Audit, document, or extend your design system. Use when checking for naming inconsistencies or hardcoded values across components, writing documentation for a component's variants, states, and accessibility notes, or designing a new pattern that fits the existing system.
repo: TencentCloud/Octop
Popularity
- GitHub stars
- 11k
- Ranking position
- #11638
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
polite-greeting
11kHelps your agent open a conversation with a short, friendly and polite greeting, then move quickly to what you need.
medical-source-failover
11kHelps your agent find trusted Chinese medical guidelines, drug information and public health documents when a main source is blocked, slow or hard to read.
cowork-plugin-customizer
11kHelps your agent tailor an existing Claude plugin to an organization's tools and workflows, by replacing placeholders and adjusting skills and settings.
create-cowork-plugin
11kHelps your agent build a new Claude plugin from scratch through guided questions, covering skills, agents, hooks and a ready-to-install package.
Similar skills
canvas
394kLets your agent show a hosted visual widget on a connected Mac panel, then hide the panel or move it to another page.
control-ui
394kHelps your agent organize and troubleshoot the OpenClaw Control UI, including sessions, dashboards, and connected Gateways.
diagram-maker
394kHelps your agent create clear diagrams as SVG, HTML, or editable Excalidraw files for processes, system architecture, and whiteboard sketches.