superdesign
Superdesign是一个专注于前端UI/UX设计的智能代理,提供专业的设计建议和解决方案,提升用户体验。
npx skills add superdesigndev/superdesign-skill --skill superdesignBefore / After 效果对比
1 组在没有Superdesign设计代理之前,UI/UX设计流程通常涉及设计师手动使用设计工具(如Figma, Sketch),进行大量的迭代、沟通和修改。从需求到初稿,再到最终实现,整个过程耗时较长,且可能存在设计与开发脱节的问题。
使用Superdesign设计代理后,可以通过AI驱动的方式快速生成设计草稿、分析现有UI并提出改进建议。AI能够理解上下文,并根据指令生成符合设计原则和用户体验的UI,大大加速了设计迭代周期,并提高了设计与开发的协同效率。
description SKILL.md
name: superdesign description: > Superdesign is a design agent specialized in frontend UI/UX design. Use this skill before implementing any UI that requires design thinking. Common commands: superdesign create-project --title "X" (setup project), superdesign create-design-draft --project-id --title "Current UI" -p "Faithfully reproduce..." --context-file src/Component.tsx (faithful reproduction), superdesign iterate-design-draft --draft-id -p "dark theme" -p "minimal" --mode branch --context-file src/Component.tsx (design variations), superdesign execute-flow-pages --draft-id --pages '[...]' --context-file src/Component.tsx (extend to more pages), superdesign create-component --project-id --name "NavBar" --html-file /tmp/navbar.html --props '[...]' (extract reusable component), superdesign update-component --component-id --html-file /tmp/navbar.html (update existing component), superdesign list-components --project-id (list existing components). Supports line ranges: --context-file path:startLine:endLine metadata: author: superdesign version: "0.0.2"
SuperDesign helps you (1) find design inspirations/styles and (2) generate/iterate design drafts on an infinite canvas.
Core scenarios (what this skill handles)
- superdesign init — Analyze the repo and build UI context to
.superdesign/init/ - Help me design X (feature/page/flow)
- Set design system
- Help me improve design of X
Init: Repo Analysis
When .superdesign/init/ directory doesn't exist or is empty, you MUST automatically:
- Create the
.superdesign/init/directory - Fetch the init prompt from the URL below
- Follow the prompt instructions to analyze the repo and write context files
https://raw.githubusercontent.com/superdesigndev/superdesign-skill/main/skills/superdesign/INIT.md
Do NOT ask the user to do this manually — just do it.
Mandatory Init Files
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 DraftComponents
When 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.
Superdesign CLI (MUST run before any command)
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:
-
Check if CLI is already installed:
superdesign --version- If the command succeeds (prints a version), skip installation and go to step 2.
- If the command fails (not found), install the CLI:
npm install -g @superdesign/cli@latest
-
Check login status by running any command (e.g.
superdesign --help). If you see an auth/login error, run:superdesign loginWait for login to complete successfully before proceeding.
-
Only after login succeeds, run your intended superdesign commands.
Never assume the user is already logged in. Always verify login first.
How it works
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
forum用户评价 (0)
发表评价
暂无评价,来写第一条吧
统计数据
用户评分
为此 Skill 评分