SuperDesign helps you (1) find design inspirations/styles and (2) generate/iterate design drafts on an infinite canvas.
.superdesign/init/When .superdesign/init/ directory doesn't exist or is empty, you MUST automatically:
.superdesign/init/ directoryhttps://raw.githubusercontent.com/superdesigndev/superdesign-skill/main/skills/superdesign/INIT.md
Do NOT ask the user to do this manually — just do it.
If .superdesign/init/ exists, you MUST read ALL files in this directory FIRST before any design task:
components.md — shared UI primitives with full source codelayouts.md — shared layout components (nav, sidebar, header, footer)routes.md — page/route mappingtheme.md — design tokens, CSS variables, Tailwind configpages.md — page component dependency trees (which files each page needs)extractable-components.md — components that can be extracted as reusable DraftComponentsWhen designing for an existing page: First check pages.md for the page's complete dependency tree. Every file in that tree MUST be passed as --context-file. Then also add globals.css, tailwind.config, and design-system.md.
IMPORTANT: Before running ANY superdesign command, you MUST ensure the CLI is installed and logged in.
Follow these steps in order — do NOT skip any step:
```
superdesign --version
```
```
npm install -g @superdesign/cli@latest
```
superdesign --help). If you see an auth/login error, run:```
superdesign login
```
Wait for login to complete successfully before proceeding.
> Never assume the user is already logged in. Always verify login first.
MUST MANDATORY Fetch fresh guidelines below:
https://raw.githubusercontent.com/superdesigndev/superdesign-skill/main/skills/superdesign/SUPERDESIGN.md
Action accordingly based on instruction in the SUPERDESIGN.md
共 1 个版本