← 返回
未分类

Design Agent

Design consultation skill for AI agents. Invoke when another agent, skill, or user requests design review, design tokens, or UI美化 (UI beautification). Provid...
用于AI代理的设计咨询技能。当其他代理、技能或用户请求设计审查、设计令牌或UI美化时调用,提供相应的设计建议。
defineagain defineagain 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 298
下载
💾 0
安装
1
版本
#css#design#latest#tokens#ui

概述

Design Agent — Structured Design for AI Outputs

What This Skill Does

When another agent or skill produces UI output, it can call this skill to get a structured design brief — real design tokens, color systems, typography, spacing — that transforms generic AI output into distinctive, intentional design.

Design Prompt Sources

Use these tools to generate a DESIGN.md for a given project or style:

ToolUse
------
design-extractor.comPaste any URL → structured DESIGN.md with tokens
design/promptsBrowse 31+ rendered design styles, grab AI prompts
typeui.shnpx typeui.sh pull [style] — CLI, 57+ design skills
awesome-design-mdReal DESIGN.md files from Stripe, Linear, Vercel etc.

Core Design System (defaults — override per project)

Stored in references/design-tokens.md:

  • Color palette (hex + use)
  • Typography scale
  • Spacing system
  • Component patterns
  • Animation/transition defaults

Workflow

Another agent requests design improvement
         │
         ▼
1. Identify the output medium (HTML/React/Newsletter/PDF/etc.)
2. Identify the target aesthetic or reference site
3. Use design-extractor.com or typeui.sh to generate design tokens
4. Merge with references/design-tokens.md base system
5. Write a DESIGN.md into the project or skill directory
6. Downstream agents read DESIGN.md → apply consistently

VLM Review Loop (MANDATORY before finalising)

Before any design is marked complete, run it through a VLM review iteration:

Step 1 — Generate initial output

Apply design tokens → produce HTML/React/PDF/etc.

Step 2 — Capture screenshot

Use canvas tool to snapshot the rendered output:

canvas(action=snapshot, node=<target>, width=1280)

Step 3 — VLM review

Send the snapshot to the vision model with the design brief:

Review this against the DESIGN.md tokens:
- Are colors consistent with the palette?
- Is typography on-scale (no arbitrary sizes)?
- Is spacing on the 8px grid?
- Are component states correct (hover, active)?
- Any visual anti-patterns (orphaned text, broken hierarchy)?
Flag specific issues and suggested fixes.

Step 4 — Iterate

If VLM flags issues → apply fixes → resnapshot → re-review.

Repeat until VLM returns "design is consistent with tokens" or all flagged issues resolved.

Step 5 — Final sign-off

Only mark complete when VLM confirms token consistency.

Log iteration count in the DESIGN.md.

Iteration log:
- v1: Initial render — 3 issues flagged (orphaned h3, wrong accent color, spacing off grid)
- v2: Fixed accent + orphaned h3 — spacing still off
- v3: All clear. Approved.

VLM Review Prompts (by output type)

HTML/Newsletter:

Check: color palette, typographic hierarchy, spacing grid alignment,
component borders, dark/light mode if applicable. Flag any ad-hoc values.

PDF (rendered as screenshot):

Check: font sizes on scale, line spacing, margin consistency,
image placement, page break handling. Note any text overflow or orphans.

React/UI Component:

Check: button/input sizes match tokens, color applied from palette,
hover/active states visible, spacing between elements on grid.

Creating a Project DESIGN.md

# Extract design from a reference URL
# (use design-extractor.com manually, paste result into project)

# Or pull a known style from typeui
npx typeui.sh pull minimal    # clean typographic
npx typeui.sh pull editorial  # magazine/longform
npx typeui.sh pull brutalist  # high contrast, raw
npx typeui.sh pull luxury     # dark, gold accents

Design Review Checklist (before shipping UI)

  • [ ] Colors match design tokens (no ad-hoc hex values)
  • [ ] Typography uses defined scale (no arbitrary font sizes)
  • [ ] Spacing follows the system (8px grid or defined scale)
  • [ ] Component states covered (hover, active, disabled, error)
  • [ ] Dark mode / light mode if applicable
  • [ ] Responsive breakpoints defined
  • [ ] Animation durations defined (no magic numbers like 0.3s without tokens)

Integration with Other Skills

This skill is designed to be called by other skills. Any skill that produces visual output should reference this skill before generating UI.

See references/integration-guide.md for how other skills should call design-agent.

Key Files

FilePurpose
------
references/design-tokens.mdBase design token system
references/integration-guide.mdHow other skills call design-agent
assets/design-prompt-template.mdDESIGN.md template for new projects
assets/example-design-standards/Example extracted from Vercel/Linear/Stripe

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 00:14 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Roleplay Agent

defineagain
通过定义角色当前的需求、障碍和瞬间前的背景,创建情感驱动的角色扮演场景,生成自然、演员导向的...
★ 0 📥 610
design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 438 📥 118,541
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 337 📥 95,221