design.prototype
Skill by safe-global
Creates a Storybook UI prototype from a PRD-style description using the shadcn/ui components already installed in the project. It is for developers and designers working in the safe-global monorepo who want a prototype story.
Install design.prototype
Built from the published package, never by AI.
git clone --depth 1 https://github.com/safe-global/safe-wallet-monorepo /tmp/safe-wallet-monorepo && mkdir -p ~/.claude/skills && cp -r /tmp/safe-wallet-monorepo/.agents/skills/design.prototype ~/.claude/skills/design-prototypeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/safe-global/safe-wallet-monorepo /tmp/safe-wallet-monorepo && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/safe-wallet-monorepo/.agents/skills/design.prototype ~/.gemini/antigravity-cli/skills/design-prototypeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill creates a Storybook UI prototype from a PRD-style input. It uses only shadcn/ui components from packages/views/src/components/ui/, with a subtle, calm visual tone and a clear hierarchy. Before building, it gathers the target story name, Storybook port, variants and any component constraints, then plans priority levels and groups related settings into sections.
The skill writes a React component under apps/web/src/features/design-system/prototypes and a matching Storybook story under the stories/prototypes folder. It then navigates to the story in a browser, waits, and takes a full-page screenshot, capturing each variant. It ends by running the web type-check and Storybook commands. The source is written for the safe-global monorepo and for users who invoke /design.prototype or ask for a prototype Storybook story.
Written from the project's SKILL.md and checked against it.
What it can do
- Requirements gatheringAsks for the story name, Storybook port, variants and component constraints when they are missing.
- Hierarchy and clusteringDefines 3 to 4 priority levels and groups related settings into sections with headings.
- Component creationWrites a prototype React component using only shadcn/ui components from the ui folder.
- Story creationWrites a Storybook story file with a Default story and the Design System/Prototypes title.
- Screenshot captureOpens the story in the browser and takes full-page screenshots of each variant.
- VerificationRuns the web type-check and Storybook commands through yarn.
What you need
- Storybook set up in the apps/web workspace
- shadcn/ui components installed in packages/views
- yarn to run the workspace commands
- Cursor browser extension for the screenshot step
Try asking
- /design.prototype a security hub page for viewing Safe transaction alerts
- Create a Storybook prototype story for a settings page from this PRD
- Build a prototype Storybook story with outline badges and a clear hierarchy
Good to know
- Uses only shadcn/ui components, with no custom colors or overrides on them.
- Paths and commands are specific to the safe-global monorepo layout.
- Screenshots rely on the cursor browser extension browser tools.
Security check
B- Allowed to use Write, Edit, Bash without limitsIn
SKILL.md
Checked automatically: .agents/skills/design.prototype/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditGlobGrepBashmcp__cursor-browser-extension__browser_navigatemcp__cursor-browser-extension__browser_wait_formcp__cursor-browser-extension__browser_take_screenshot
-
SKILL.md4 KB
Alternatives to design.prototype
All alternatives →Diagnoses slow React components and suggests targeted performance fixes. Built for developers who want to reduce re-renders or list lag in React UIs.
Diagnoses slow React components and suggests targeted performance fixes. Built for React developers who need to reduce re-renders, list lag, or expensive render work.
Designs masterclass-style lectures as slide courses with dense pages, long teacher narration and rare quizzes. Built for subjects where understanding matters more than hands-on practice.
Designs hands-on workshop courses in which the learner practises through exercise and quiz pages instead of watching. It suits workshops, bootcamp sessions and skills the learner should leave able to use.
Analyzes competition and develops market positioning strategies using Porter's Five Forces, Blue Ocean Strategy, and positioning maps. Useful for founders and teams evaluating competitors or preparing a startup or investor pitch.
Designs courses whose content depends on current or external facts. It researches the topic first, records each claim with its source, and builds the outline and pages from fetched material. Built for educators teaching time-sensitive subjects.
Compare with react-component-performance, react-component-performance or lecture-style
design.prototype: common questions
What does the design.prototype skill produce?
It produces a React prototype component and a matching Storybook story file, plus screenshots of the story. It then runs type-check and Storybook verification commands.
Can it use UI libraries other than shadcn/ui?
The source says it uses only shadcn/ui components and that component constraints beyond shadcn/ui must be supplied by the user. It does not mention other libraries.
Where are the generated files saved?
The component goes to apps/web/src/features/design-system/prototypes and the story goes to apps/web/src/features/design-system/stories/prototypes.
How do I install design.prototype?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is design.prototype free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is design.prototype safe to use?
It scores 74 of 100. Grades: maintenance A, licence C, quality A. Security check: grade B (allowed to use write, edit, bash without limits). Review the code before you install. How grades work.
What are alternatives to design.prototype?
Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.
