生活与工具
#design
n8n-design-system
Guidelines on using Design System styles and components. Use when working on .vue files in packages/frontend. Triggers for tasks that include component architecture, styling, UI changes, or feature work.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=n8n-io-n8n-agents-skills-design-system-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name n8n:design-system description Guidelines on using Design System styles and components. Use when working on .vue files in packages/frontend. Triggers for tasks that include component architecture, styling, UI changes, or feature work. Design System Comprehensive guide for building, styling, and using components in the frontend. When to Apply Reference these guidelines when: Working on .{vue|css|scss} files in packages/frontend Adding new components to packages/frontend/@n8n/design-system Refactoring styles for Vue components Implementing new UI components or features Reviewing changes to UI Rules Follow guidelines in packages/frontend/@n8n/design-system/src/styleguide/*.mdx ALWAYS use CSS variables for styles from packages/frontend/@n8n/design-system/src/css/_tokens.scss or packages/frontend/@n8n/design-system/src/css/_primitives.scss . Use hard-coded values only when no suitable tokens. ALWAYS prefer using existing components from packages/frontend/@n8n/design-system/src/components . Prefer components that aren't marked @deprecated . Use light-dark() when alternating colors for ligh/dark mode If you need to add hover/active alpha behavior to solid components, prefer color-mix() with explicit percentages. When working with animations or transitions, ALWAYS prefer using mixins from packages/frontend/@n8n/design-system/src/css/mixins/motion.scss When reviewing animations, follow the guides in rules/web-animation-guidelines.md When reviewing UI changes or adding new components, follow rules/web-interface-guidelines.md Storybook Stories ALWAYS add new stories to packages/frontend/@n8n/design-system . Every story must use one of these title categories: Style Guide : styles, tokens, and utilities Core : components used across the app Areas/<Product area> : patterns and components for a specific product area, for example Areas/Settings or Areas/Assistant Experimental : beta components that require caution The last title segment is the component name and MUST be PascalCase ( Core/EmptyState , not Core/empty-state ). Category prefixes are unrestricted. Examples "Add a modal dialog for confirming workflow deletion" → Use N8nDialog "Add a dropdown to select workflow status" → Use N8nDropdown or N8nSelect "Add button with + icon to add new tiem" → Wrap N8nButton with iconOnly prop with N8nTooltip and wrap in N8nTooltip . Use N8nIcon and proper aria-label. "Add a destructive action button" → use N8nButton with variant="destructive" "Make background color white/black" → Use var(--background--surface) for white on light mode and "black" on dark mode "Animate the title in gracefully" -> Use fade-in-up mixin from motion.scss with var(--duration--base)
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |