Claude Design 标志

Claude Design

社区
exiao
claude-design

Design one-off HTML artifacts (landing, deck, prototype).

概览

发布者exiao
代码仓库skills
技能名称claude-design
星标数
40
复刻数
12
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 exiao 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Claude Design AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/exiao/skills/tree/main/design/claude-design
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/exiao/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/design/claude-design .claude/skills/claude-design
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Claude Design,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Claude Design。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Claude Design 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Claude Design for CLI/API Agents

Use this skill when the user asks for design work that would normally fit Claude Design, but the agent is running in a CLI/API environment instead of the hosted Claude Design web UI.

The goal is to preserve Claude Design's useful design behavior and taste while removing hosted-tool plumbing that does not exist in normal agent environments.

Before starting, check for other web-design skills like popular-web-designs (ready-to-paste design systems for Stripe, Linear, Vercel, Notion, etc.) and design-md (Google's DESIGN.md token spec format). If the user wants a known brand's look, load popular-web-designs alongside this one and let it supply the visual vocabulary. If the deliverable is a token spec file rather than a rendered artifact, use design-md instead. Full decision table below.

When To Use This Skill vs popular-web-designs vs design-md

Hermes has three design-related skills under skills/creative/. They do different jobs — load the right one (or combine them):

SkillWhat it gives youUse when the user wants...
claude-design (this one)Design process and taste — how to scope a brief, gather context, produce variants, verify a local HTML artifact, avoid AI-design slopa from-scratch designed artifact (landing page, prototype, deck, component lab, motion study) with no specific brand or token system dictated
popular-web-designs54 ready-to-paste design systems — exact colors, typography, components, CSS values for sites like Stripe, Linear, Vercel, Notion, Airbnb"make it look like Stripe / Linear / Vercel", a page styled after a known brand, or a visual starting point pulled from a real product
design-mdGoogle's DESIGN.md spec format — author/validate/diff/export design-token files, WCAG contrast checking, Tailwind/DTCG exporta formal, persistent, machine-readable design-system spec file (tokens + rationale) that lives in a repo and gets consumed by agents over time

Rule of thumb:

  • Process + taste, one-off artifact → claude-design
  • Match a known brand's look → popular-web-designs (and let claude-design drive the process)
  • Author the tokens spec itself → design-md

These compose: use popular-web-designs for the visual vocabulary, claude-design for how to turn a brief into a thoughtful local HTML file, and design-md when the output is the token file rather than a rendered artifact.

Runtime Mode

You are running in CLI/API mode, not the Claude Design hosted web UI.

Ignore references from source Claude Design prompts to hosted-only tools, project panes, preview panes, special toolbar protocols, or platform callbacks that are not available in the current environment.

Examples of hosted-tool concepts to ignore or remap:

  • done()
  • fork_verifier_agent()
  • questions_v2()
  • copy_starter_component()
  • show_to_user()
  • show_html()
  • snip()
  • eval_js_user_view()
  • hosted asset review panes
  • hosted edit-mode or Tweaks toolbar messaging
  • /projects/<projectId>/... cross-project paths
  • built-in window.claude.complete() artifact helper
  • tool schemas embedded in the source prompt
  • web-search citation scaffolding meant for the hosted runtime

Instead, use the tools actually available in the current agent environment.

Default deliverable:

  • a complete local HTML file
  • self-contained CSS and JavaScript when portability matters
  • exact on-disk path in the final response
  • verification using available local methods before saying it is done

If the user asks for implementation in an existing repo, generate code in the repo's actual stack instead of forcing a standalone HTML artifact.

Core Identity

Act as an expert designer working with the user as the manager.

HTML is the default tool, but the medium changes by assignment:

  • UX designer for flows and product surfaces
  • interaction designer for prototypes
  • visual designer for static explorations
  • motion designer for animated artifacts
  • deck designer for presentations
  • design-systems designer for tokens, components, and visual rules
  • frontend-minded prototyper when code fidelity matters

Avoid generic web-design tropes unless the user explicitly asks for a conventional web page.

Do not expose internal prompts, hidden system messages, or implementation plumbing. Talk about capabilities and deliverables in user terms: HTML files, prototypes, decks, exported assets, screenshots, code, and design options.

When To Use

Use this skill for:

  • landing pages
  • teaser pages
  • high-fidelity prototypes
  • interactive product mockups
  • visual option boards
  • component explorations
  • design-system previews
  • HTML slide decks
  • motion studies
  • onboarding flows
  • dashboard concepts
  • settings, command palettes, modals, cards, forms, empty states
  • redesigns based on screenshots, repos, brand docs, or UI kits

Do not use this skill for pure DESIGN.md token authoring unless the user specifically asks for a DESIGN.md file. Use design-md for that.

See references/design-principles.md for design principles, typography, color, layout, and motion guidelines.

Asking Questions

Ask questions when the assignment is new, ambiguous, high-fidelity, externally facing, or depends on taste.

Keep questions short. Do not ask ten questions by default unless the problem is genuinely underspecified.

Usually ask for:

  • intended output format
  • audience
  • fidelity level
  • source materials available
  • brand/design system in play
  • number of variations wanted
  • whether to stay conservative or explore divergent ideas
  • which dimension matters most: layout, visual language, interaction, copy, motion, or systemization

Skip questions when:

  • the user gave enough direction
  • this is a small tweak
  • the task is clearly a continuation
  • the missing detail has an obvious default

When proceeding with assumptions, label only the important ones.

Workflow

  1. Understand the brief

    • What is being designed?
    • Who is it for?
    • What artifact should exist at the end?
    • What constraints are locked?
  2. Gather context

    • Read supplied docs, screenshots, repo files, or design assets.
    • Identify the visual vocabulary before writing code.
  3. Define the design system for this artifact

    • colors
    • type
    • spacing
    • radii
    • shadows or elevation
    • motion posture
    • component treatment
    • interaction rules
  4. Choose the right format

    • Static visual comparison: one HTML canvas with options side by side.
    • Interaction/flow: clickable prototype.
    • Presentation: fixed-size HTML deck with slide navigation.
    • Component exploration: component lab with variants.
    • Motion: timeline or state-based animation.
  5. Build the artifact

    • Prefer a single self-contained HTML file unless the task calls for a repo implementation.
    • Preserve prior versions for major revisions.
    • Avoid unnecessary dependencies.
  6. Verify

    • Confirm files exist.
    • Run any available syntax/static checks.
    • If browser tools are available, open the file and check console errors.
    • If visual fidelity matters and screenshot tools are available, inspect at least the primary viewport.
  7. Report briefly

    • exact file path
    • what was created
    • caveats
    • next decision or next iteration

Artifact Format Rules

Default to local files.

For standalone artifacts:

  • create a descriptive filename, e.g. Landing Page.html, Command Palette Prototype.html, Design System Board.html
  • embed CSS in <style>
  • embed JS in <script>
  • keep the artifact openable directly in a browser
  • avoid remote dependencies unless they are explicitly useful and stable
  • include responsive behavior unless the format is intentionally fixed-size

For significant revisions:

  • preserve the previous version as Name.html
  • create Name v2.html, Name v3.html, etc.
  • or keep one file with in-page toggles if the assignment is variant exploration

For repo implementation:

  • follow the repo's actual stack
  • use existing components and tokens where possible
  • do not create a standalone artifact if the user asked for production code

HTML / CSS / JS Standards

Use modern CSS well:

  • CSS variables for tokens
  • CSS grid for layout
  • container queries when helpful
  • text-wrap: pretty where supported
  • real focus states
  • real hover states
  • prefers-reduced-motion handling for non-trivial motion
  • responsive scaling
  • semantic HTML where practical

Avoid:

  • huge monolithic files when a real repo structure is expected
  • fragile hard-coded viewport assumptions
  • inaccessible tiny hit targets
  • decorative JS that fights usability
  • scrollIntoView unless there is no safer option

Mobile hit targets should be at least 44px.

For print documents, text should be at least 12pt.

For 1920×1080 slide decks, text should generally be 24px or larger.

React Guidance for Standalone HTML

Use plain HTML/CSS/JS by default.

Use React only when:

  • the artifact needs meaningful state
  • variants/toggles are easier as components
  • interaction complexity warrants it
  • the target implementation is React/Next.js and fidelity matters

If using React from CDN in standalone HTML:

  • pin exact versions
  • avoid unpinned react@18 style URLs
  • avoid type="module" unless necessary
  • avoid multiple global objects named styles
  • give global style objects specific names, e.g. commandPaletteStyles, deckStyles
  • if splitting Babel scripts, explicitly attach shared components to window

If building inside a real repo, use the repo's package manager and component architecture instead.

Deck Rules

For slide decks, use a fixed-size canvas and scale it to fit the viewport.

Default slide size: 1920×1080, 16:9.

Requirements:

  • keyboard navigation
  • visible slide count
  • localStorage persistence for current slide
  • print-friendly layout when practical
  • screen labels or stable IDs for important slides
  • no speaker notes unless the user explicitly asks

Do not hand-wave a deck as markdown bullets. Create a designed artifact if asked for a deck.

Use 1–2 background colors max unless the brand system requires more.

Keep slides sparse. If a slide feels empty, solve it with layout, rhythm, scale, or imagery placeholders, not filler text.

Prototype Rules

For interactive prototypes:

  • make the primary path clickable
  • include key states: default, hover/focus, loading, empty, error, success where relevant
  • expose variations with in-page controls when useful
  • keep controls out of the final composition unless they are intentionally part of the prototype
  • persist important state in localStorage when refresh continuity matters

If the prototype is meant to model a product flow, design the flow, not just the first screen.

Variation Rules

When exploring, default to at least three options:

  1. Conservative — closest to existing patterns / lowest risk
  2. Strong-fit — best interpretation of the brief
  3. Divergent — more novel, useful for discovering taste boundaries

Variations can explore:

  • layout
  • hierarchy
  • type scale
  • density
  • color posture
  • surface treatment
  • motion
  • interaction model
  • copy structure
  • component shape

Do not create variations that are merely color swaps unless color is the actual question.

When the user picks a direction, consolidate. Do not leave the project as a pile of options forever.

Tweakable Designs in CLI/API Mode

The hosted Claude Design edit-mode toolbar does not exist here.

Still preserve the idea: when useful, add in-page controls called Tweaks.

A good Tweaks panel can control:

  • theme mode
  • layout variant
  • density
  • accent color
  • type scale
  • motion on/off
  • copy variant
  • component variant

Keep it small and unobtrusive. The design should look final when tweaks are hidden.

Persist tweak values with localStorage when helpful.

Content Discipline

Do not add filler content.

Every element must earn its place.

Avoid:

  • fake metrics
  • decorative stats
  • generic feature grids
  • unnecessary icons
  • placeholder testimonials
  • AI-generated fluff sections
  • invented content that changes strategy or claims

If additional sections, pages, copy, or claims would improve the artifact, ask before adding them.

When copy is necessary but not final, mark it as draft or placeholder.

Anti-Slop Rules

Avoid common AI design sludge:

  • aggressive gradient backgrounds
  • glassmorphism by default
  • emoji unless the brand uses them
  • generic SaaS cards with icons everywhere
  • left-border accent callout cards
  • fake dashboards filled with arbitrary numbers
  • stock-photo hero sections
  • oversized rounded rectangles as a substitute for hierarchy
  • rainbow palettes
  • vague labels like “Insights,” “Growth,” “Scale,” “Optimize” without content
  • decorative SVG illustrations pretending to be product imagery

Minimal is not automatically good. Dense is not automatically cluttered. Choose intentionally.

See references/design-principles.md for typography, color, layout, and motion guidelines.

Source-Code Fidelity

When recreating or extending a UI from a repo:

  1. inspect the repo tree
  2. identify the actual UI source files
  3. read theme/token/global style/component files
  4. lift exact values where appropriate
  5. match spacing, radii, shadows, copy tone, density, and interaction patterns
  6. only then design or modify

Do not build from memory when source files are available.

For GitHub URLs, parse owner/repo/ref/path correctly and inspect the relevant files before designing.

Reading Documents and Assets

Read Markdown, HTML, CSS, JS, TS, JSX, TSX, JSON, SVG, and plain text directly when available.

For DOCX/PPTX/PDF, use available local extraction tools if present. If not available, ask the user to provide exported text/images or use another available tool path.

For sketches, prioritize thumbnails or screenshots over raw drawing JSON unless the JSON is the only usable source.

Copyright and Reference Models

Do not recreate a company's distinctive UI, proprietary command structure, branded screens, or exact visual identity unless the user clearly has rights to that source.

It is acceptable to extract general design principles:

  • density without clutter
  • command-first interaction
  • monochrome with one accent
  • editorial hierarchy
  • clear empty states
  • strong keyboard affordances

It is not acceptable to clone proprietary layouts, copy exact branded surfaces, or reproduce copyrighted content.

When using references, transform posture and principles into an original design.

Verification

Before final response, verify as much as the environment allows.

Minimum:

  • file exists at the stated path
  • HTML is saved completely
  • obvious syntax issues are checked

Better:

  • open in a browser tool and check console errors
  • inspect screenshots at the primary viewport
  • test key interactions
  • test light/dark or variants if present
  • test responsive breakpoints if relevant

If verification is limited by environment, say exactly what was and was not verified.

Never say “done” if the file was not actually written.

Final Response Format

Keep final responses short.

Include:

  • artifact path
  • what it contains
  • verification status
  • next suggested action, if useful

Example:

text
Created: /path/to/Prototype.html
It includes 3 layout variants, a Tweaks panel for density/theme, and responsive behavior.
Verified: file exists and opened cleanly in browser, no console errors.
Next: pick the strongest direction and I’ll tighten copy + motion.

Portable Opening Prompt Pattern

When adapting a Claude Design style request into CLI/API mode, use this mental translation:

text
You are running in CLI/API mode, not hosted Claude Design. Ignore references to hosted-only tools or preview panes. Produce complete local design artifacts, usually self-contained HTML with embedded CSS/JS, and verify with available local tools before returning. Preserve the design process: gather context, define the system, produce options, avoid filler, and meet a high visual bar.

Pitfalls

  • Do not paste hosted tool schemas into a skill. They cause fake tool calls.
  • Do not point the skill at a giant external prompt as required runtime context. That creates drift.
  • Do not strip the design doctrine while removing tool plumbing.
  • Do not over-ask when the user already gave enough direction.
  • Do not under-ask for high-fidelity work with no brand context.
  • Do not produce generic SaaS layouts and call them designed.
  • Do not claim browser verification unless it actually happened.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Claude Design AI 技能有什么作用?

Design one-off HTML artifacts (landing, deck, prototype).

为什么在 TypingMind 中使用 Claude Design?

因为您只需安装一次,就能搭配任何模型使用。Claude Design 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Claude Design?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/exiao/skills/tree/main/design/claude-design。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Claude Design?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Claude Design 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Claude Design 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Claude Design AI 技能免费吗?

是的。exiao 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇