图像生成
- 作者仓库星标 0
- 作者更新于 实时读取
- 作者仓库 skills-registry
- 领域
- 设计与多媒体
- 兼容 Agent
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- 信任分
- 88 / 100 · 社区维护
- 作者 / 版本 / 许可
- @tomevault-io · 未声明 license
- Token 消耗评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部 API Key
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 底层运行要求
- 无特殊要求
- 文件与系统权限
-
- 只读
- 允许写入 / 修改
- 网络行为
- 仅限本地
- 安装命令数
- 26 条
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: design-system-builder
description: Generates the full visual language (color palette, typography, spacing grid, elevation, interact…
category: 设计与多媒体
runtime: 无特殊运行时
---
# design-system-builder 输出预览
## PART A: 任务判断
- 适用问题:视觉内容、演示材料、信息图或设计交付。
- 输入要求:目标材料、限制条件、期望输出和验收方式。
- 证据边界:围绕“When to use / When NOT to use / Inputs”读取原文规则,不把推断写成作者承诺。
## PART B: 执行结果
- **01** 任务判断:确认你的需求是否属于视觉内容、演示材料、信息图或设计交付,并标出输入、限制和预期结果。
- **02** 执行计划:优先按“When to use / When NOT to use / Inputs”拆成步骤,说明每一步会读取什么、修改什么、产出什么。
- **03** 交付结果:给出可复制的命令、文件改动、检查清单或内容草稿,并说明如何继续迭代。
- **04** 风险边界:结合 读取文件、写入/修改文件、主要在本地完成、通常不需要额外 API Key 给出执行前确认项。
## Running Rules
- 读取文件、写入/修改文件;主要在本地完成;通常不需要额外 API Key。
- 先小样例验证,再放大到真实任务。
- 交付时同时给结果、检查口径和下一步迭代建议。 原文没有稳定的斜杠命令要求。安装验证后通常全局生效,直接在对话里点名这个 Skill 并描述任务即可。
告诉 Agent 目标文件或材料、期望结果、不可改范围、是否允许联网或执行命令。本 Skill 的权限画像是:读取文件、写入/修改文件。
先用一个小任务确认它会围绕“When to use / When NOT to use / Inputs”工作;涉及文件或命令时,先看 diff、日志、预览或测试结果。
检查最终产物是否包含明确结果、必要证据和下一步动作;如果输出泛泛而谈,就补充输入、边界和验收标准后重跑。
---
name: design-system-builder
description: Generates the full visual language (color palette, typography, spacing grid, elevation, interact…
category: 设计与多媒体
source: tomevault-io/skills-registry
---
# design-system-builder
## 什么时候使用
- 把设计与视觉方向的常用动作沉淀成 Agent 可调用的技能 适合处理界面、视觉、封面、信息图或演示材料交付,核心价值是把输入、判断、执行、验证和交付边界固定下来,避免 Agent 泛泛回答。 把任务拆成可执行、可检查、可继续迭代的步骤…
- 面向视觉内容、演示材料、信息图或设计交付,优先处理能明确输入、步骤和验收标准的工作。
## 需要提供什么
- 目标材料、目录范围、期望结果和不可改动内容。
- 是否允许联网、执行命令、读写文件或调用外部服务。
## 执行规则
- 围绕「When to use / When NOT to use / Inputs」组织步骤,不把推断写成作者事实。
- 读取文件、写入/修改文件;主要在本地完成;通常不需要额外 API Key。
- 先跑小样例,确认结果可检查后再扩大任务范围。
## 输出要求
- 给出最终产物、关键证据、验证方式和下一步动作。
- 信息不足时标记 unknown,不编造命令、平台或依赖。 作者原文负责流程事实;仓库文件负责来源和命令;流狐只补充适用场景、限制和质量判断。
skill "design-system-builder" {
输入层 -> 用户目标 + 目标文件 + 禁止范围 + 验收标准
上下文层 -> When to use / When NOT to use / Inputs
规则层 -> SKILL.md 触发条件 / 执行顺序 / 输出格式
运行层 -> 无特殊运行时 | 读取文件、写入/修改文件 | 主要在本地完成
安全层 -> 通常不需要额外 API Key + 小任务验证 + diff / 日志复核
输出层 -> 可复制结果 + 检查清单 + 下一步迭代
} design-system-builder
Applies a cohesive design system to the project. One skill, 8 moods, infinite variations.
When to use
- Right after
nextjs-scaffoldhas set up the project - When user wants to change the whole site's visual direction
- When restyling an existing site to a new mood
When NOT to use
- User wants one-off style changes (just edit the file directly)
- User has a detailed design spec from a designer (follow that instead)
Inputs
From site-plan.md:
mood(one of 8 - seereferences/palettes.md)vertical(for font fine-tuning)
Output
Updated files:
src/app/globals.css- palette + typography + spacing tokenssrc/lib/constants.ts- brand colors as constants (optional)- Design tokens documented in a comment block
The 8 moods
1. Warm luxury
- Palette: cream
#FDF8F0, gold#C9A96E, charcoal#2C2418, taupe#D4C5B2 - Fonts: Bodoni Moda (display) + Inter (body)
- Feel: fine dining, spa, boutique
2. Dark luxury
- Palette: near-black
#0A0A0A, gold#D4AF37, cream#F5F0E6, taupe#4A4035 - Fonts: Playfair Display (display) + Inter (body)
- Feel: cocktail bars, jewelers, fine dining
3. Coastal luxury
- Palette: white
#FEFEFE, deep navy#1B3A5B, sand#E8DCC4, seafoam#A8C8BF - Fonts: Cormorant Garamond (display) + Inter (body)
- Feel: resorts, seafood, yacht clubs
4. Earthy luxury
- Palette: deep forest
#2D3E2C, cream#F7F3E8, terracotta#C87E4F, moss#8B9A6B - Fonts: Playfair Display (display) + Inter (body)
- Feel: farm-to-table, wellness retreats, eco lodges
5. Modern minimal
- Palette: off-white
#FAFAFA, near-black#1A1A1A, single accent (electric blue#0057FFor neon green#00D8A8) - Fonts: Inter (single font, multiple weights) OR Space Grotesk
- Feel: SaaS, agencies, portfolios
6. Bold editorial
- Palette: pure white
#FFFFFF, pure black#000000, single vivid accent (magenta#EC008Cor electric yellow#FFD600) - Fonts: oversized serif like Fraunces or Canela (display) + Söhne or Inter (body)
- Feel: magazines, creative studios, restaurants with attitude
7. Playful
- Palette: pastel bright - peach
#FFB89C, mint#B4E4D0, butter#FFE699, dusty rose#EDA9B9 - Fonts: DM Serif Display or Fraunces Soft + Inter or DM Sans
- Feel: cafes, kids brands, casual dining, creator economy
8. Corporate
- Palette: navy
#0B2545, slate#5C6B7D, off-white#F4F6F8, accent blue#00B4D8 - Fonts: Inter (single) OR Source Sans Pro
- Feel: B2B SaaS, finance, healthcare, law
Procedure
Step 1: Read mood from site-plan.md
If no mood picked, ask AskUserQuestion with the 8 options. Show preview colors.
Step 2: Update globals.css
Replace the @theme inline block with the palette for the chosen mood. Keep the structure from nextjs-scaffold/templates/globals.css.template. Do NOT touch the force-override !important rules at the bottom.
Step 3: Update layout.tsx fonts
Replace the next/font/google imports to match the mood's font pairing. Use the variable: prop to wire them up to CSS vars.
Step 4: Add spacing + elevation tokens
In globals.css, add these tokens (8pt grid + 3-tier elevation):
@theme inline {
/* 8pt spacing grid */
--space-1: 0.25rem; /* 4px */
--space-2: 0.5rem; /* 8px */
--space-3: 1rem; /* 16px */
--space-4: 1.5rem; /* 24px */
--space-5: 2rem; /* 32px */
--space-6: 3rem; /* 48px */
--space-7: 4rem; /* 64px */
--space-8: 6rem; /* 96px */
--space-9: 8rem; /* 128px */
/* Elevation - adjust shadow color per mood */
--shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
--shadow-md: 0 4px 12px rgb(0 0 0 / 0.08);
--shadow-lg: 0 12px 24px rgb(0 0 0 / 0.12);
}
Step 5: Add interactive state matrix
For each mood, document the state colors in globals.css comments:
/*
* Interactive states for this mood (warm luxury):
* default: gold
* hover: gold-dark
* focus: gold + 2px ring
* active: gold-dark + slight scale
* disabled: gold at 40% opacity
*/
Step 6: Reduced motion
Already handled in template globals.css. Verify @media (prefers-reduced-motion: reduce) block exists.
Step 7: Typography scale
Default scale for display fonts (mood-dependent):
- Hero:
text-5xl sm:text-6xl md:text-7xl lg:text-8xl - Section heading:
text-3xl md:text-4xl lg:text-5xl - Subsection:
text-xl md:text-2xl - Body:
text-base(16px) withleading-relaxed - Small:
text-sm - Micro:
text-xs uppercase tracking-[0.2em](for labels)
Editorial mood uses LARGER sizes (text-7xl hero minimum). Minimal uses SMALLER (text-4xl hero max).
Gotchas
The font-override
!importantrules are non-negotiable - see nextjs-scaffold Step 5.Color ramp matters - always include light + dark variants of your accent color (gold + gold-dark). Single-tone accents look flat.
Don't use 8 colors - the palette limits each mood to 4-5 core colors for a reason. Adding more muddies the brand.
Test contrast - run the accessibility-performance skill to verify WCAG AA (4.5:1 for body text, 3:1 for large text and UI).
Fonts cost performance - each
next/font/googleimport adds a request. Stick to 2 families max (display + body). Add script only if the mood requires it.Scripts/cursive fonts look cheap unless done well. If using Dancing Script for a "luxury" brand, make sure it's sparingly (logo area only). Bodoni italic is a better substitute in most cases.
References
See references/palettes.md for full hex codes, Tailwind configs, and sample mood boards.
Source: avien19/pro-site-builder — distributed by TomeVault.
先判断是否适合
作者设计意图
作者的方法与取舍
边界和复核