Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add planetabhi/design-like
Or install specific skill: npx add-skill https://github.com/planetabhi/design-like
# Description
Helps Claude install and use brand-specific design skills for popular product brands (Apple, Linear, Stripe, Shopify, Notion, Figma, Spotify, Slack, Discord, IBM, Salesforce) by running the design-like CLI to generate Agent Skills and IDE configuration so code and UI match the chosen brand’s design language.
# SKILL.md
name: installing-brand-design-skills
description: Helps Claude install and use brand-specific design skills for popular product brands (Apple, Linear, Stripe, Shopify, Notion, Figma, Spotify, Slack, Discord, IBM, Salesforce) by running the design-like CLI to generate Agent Skills and IDE configuration so code and UI match the chosen brand’s design language.
Main Instructions
Use this skill when the user wants code and UI that closely follow the visual language of a specific product brand (for example Apple, Airbnb, Linear, or Stripe) and is working in a project where they can run CLI commands.
This skill centers around the design-like CLI, which generates brand-specific Agent Skills and IDE configuration files. These give Claude and other coding agents concrete tokens, components, and guidelines so they can design like the selected brand.
When the user expresses a desire for brand-consistent UI, or mentions one of the supported brands, follow the steps below.
Step-by-Step Guidance
- Confirm context and brand
- Ask the user which brand they want to design like (for example: Apple, Airbnb, Linear, Shopify, Stripe, Notion, Figma, Spotify, Slack, Discord, IBM, Salesforce).
- Ask which IDE or agent environment they are using (for example: Claude Code, Cursor, VS Code, Antigravity).
-
Verify they can run
npxcommands in their project directory. -
Guide the user to install the brand design skill
- Instruct the user to navigate to their project root in a terminal.
- Have them run the
design-likeCLI with the chosen brand:
npx design-like <brand>
- If they are unsure which brand to pick, suggest a few options based on their product style and audience.
- If they prefer an interactive flow, they can run:
npx design-like
and select a brand from the prompt.
- Explain supported IDEs and where files are generated
- Explain that
design-likedetects the IDE or agent environment and writes files into the appropriate folders:- Claude Code:
.claude/skills/ - Cursor:
.cursor/rules/ - VS Code:
.vscode/instructions/ - Antigravity:
.agent/skills/
- Claude Code:
- Mention that the tool can also target a specific IDE explicitly using:
npx design-like <brand> --ide <claude|cursor|vscode|antigravity|all>
- Help the user choose options and flags
- If the user wants to install into a specific directory (for example a monorepo app), suggest:
npx design-like <brand> --target path/to/app
- Recommend
--forceonly when they explicitly want to overwrite any existing design-like files:
npx design-like <brand> --force
-
If they want to preview what will be written without applying changes (if supported), suggest using
--dry-runor the equivalent option documented in the repository. -
Verify installation and explain what was created
- After the user runs the command, ask them to confirm that new files were created under their IDE’s configuration directory.
- Explain that
design-liketypically creates:- An Agent Skill file
SKILL.mddescribing how to design like the chosen brand. - A
tokens.json(or similar) file containing design tokens (colors, typography, spacing, etc.). - IDE-specific rule or instruction files (for example
.mdcrules for Cursor or.instructions.mdfor VS Code).
- An Agent Skill file
-
Encourage the user to keep these files under version control so teammates get the same design guidance.
-
Use the brand design guidance in your coding session
- Once the brand design skill is installed, pay careful attention to its guidance:
- Follow the brand’s color, typography, spacing, and motion tokens whenever you propose UI.
- Use the recommended component patterns (buttons, cards, inputs, etc.).
- Respect the brand’s accessibility, contrast, and layout guidelines.
-
When generating code, reference the specific brand tokens and examples provided by the installed skill instead of inventing your own design system.
-
Suggest brand-consistent improvements proactively
- When reviewing or authoring components, suggest refactors that bring them closer to the installed brand’s patterns.
- Offer to convert existing generic components to use the brand’s tokens, border radii, shadows, and motion curves.
- If the user switches brands or wants to compare options, guide them to run the CLI again with a different brand and discuss trade-offs.
Examples
- Example 1: Setting up Apple-style UI in a new project
- User: “I want this app to look like Apple’s design language.”
- Claude:
- Confirms they can run CLI commands in the project.
- Asks which IDE they are using.
- Guides them to run:
npx design-like apple
4. Explains where files were written for their IDE.
5. Starts generating components and layouts that follow the Apple design skill’s tokens and guidelines.
- Example 2: Applying Linear’s style in Cursor
- User: “I’m using Cursor and I’d love my dashboard to feel like Linear.”
- Claude:
- Asks the user to open a terminal at the project root.
- Instructs them to run:
npx design-like linear --ide cursor
3. Explains that this will create a Cursor rule file under `.cursor/rules/`.
4. Uses the installed Linear design guidance while proposing React components, Tailwind classes, or CSS.
Best Practices
- Clarify the brand and environment early
-
Always confirm the desired brand and IDE/agent environment before giving installation commands or design recommendations.
-
Align generated UI with installed tokens
- After installation, consistently reference the brand’s tokens and component patterns when proposing code.
-
Avoid mixing arbitrary styles that conflict with the installed brand design.
-
Keep the user’s repo structure in mind
-
When suggesting
--target, make sure the path matches the user’s actual app directory (for exampleapps/webin a monorepo). -
Encourage version control
-
Recommend committing the generated skills and tokens so other collaborators and agents share the same design language.
-
Be transparent about limitations
- If the user cannot run CLI commands (for example in a restricted environment), explain that
design-likeworks best when it can write files to the project, and offer to approximate the brand style manually using your knowledge of the brand’s design patterns.
# README.md
design-like
Brand specific design skills for AI coding agents.
npx design-like apple
Available Brands
apple · airbnb · linear · shopify · stripe · notion · figma · spotify · slack · discord · ibm · salesforce
Supported IDEs
| IDE | Path |
|---|---|
| Claude Code | .claude/skills/ |
| Cursor | .cursor/rules/ |
| VSCode | .vscode/instructions/ |
| Antigravity | .agent/skills/ |
Usage
npx design-like <brand> # Install a brand
npx design-like # Interactive mode
npx design-like list # List brands
Options
| Flag | Description |
|---|---|
--target <dir> |
Install to custom directory |
--ide <name> |
Target: claude, cursor, vscode, antigravity, all |
--force |
Overwrite existing |
Install as a Skill
You can also install this repository as an Agent Skill via skills.sh:
npx skills add planetabhi/design-like
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.