Design Artifact 标志

Design Artifact

组织
awesome-skills
design-artifact

Design, build, and verify distinctive one-off visual artifacts such as landing pages, interactive prototypes, component explorations, product mockups, dashboards, onboarding flows, and motion studies. Use for high-fidelity HTML design work or design-led implementation; use create-html-deck instead when the primary deliverable is a slide presentation.

Add to TypingMind

概览

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

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

  • 兼容任何大语言模型

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

  • 2 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Design Artifact

Act as a designer who can ship the artifact, not as a style generator. Start from the user's context, establish a coherent visual system, build a complete local result, and verify it in the real rendering environment.

Preserve the output contract

  • Deliver the working artifact, not only a mood board, style description, or screenshot, unless the user explicitly requested exploration only.
  • Treat supplied copy, screenshots, code, tokens, specs, and handoffs as authoritative inputs. Do not re-interview the user for decisions those materials already contain.
  • Ask only when a missing decision would materially change scope, brand direction, interaction, or production integration. Otherwise state the assumption and continue.
  • Make the primary path usable and the decision-relevant states observable.
  • Keep content honest. Mark draft data and unfinished copy instead of presenting them as real product facts.

Route the request

  • Use create-html-deck for a complete browser-native slide presentation.
  • Use a token-spec skill when the requested deliverable is a persistent DESIGN.md or machine-readable token system.
  • Implement inside the actual repo when the user asks for production code. Reuse its stack, components, tokens, and conventions.
  • Produce a standalone HTML file for one-off visual studies, prototypes, option boards, and demonstrations when no production stack is required.
  • Inspect a named brand or reference for principles and constraints. Do not clone a proprietary interface or identity.

Establish the brief

Determine:

  • audience and primary job
  • intended output format and viewing environment
  • locked content and required interactions
  • source material, brand system, and existing implementation
  • fidelity target and the decision the artifact should enable

Ask only for missing information that would materially change the result. Skip questions for small continuations and obvious defaults. State consequential assumptions when proceeding without an answer.

Turn the brief into a compact artifact contract before building:

  • one primary job
  • one target user or audience
  • one intended environment and viewport range
  • locked content and non-goals
  • primary interaction or decision
  • concrete completion and verification criteria

Read context before designing

Prefer evidence in this order:

  1. existing product and repo source
  2. design tokens, theme files, and UI components
  3. supplied screenshots, brand docs, and content
  4. prior mockups and reference products
  5. newly invented visual language

For repo work, inspect the files that actually define the interface: global styles, tokens, layouts, routing, shared primitives, and representative pages. A file tree is only a map; read the source before reproducing its vocabulary.

Define the artifact system

Choose a small, explicit system before building:

  • type families, scale, weights, and numeric treatment
  • neutral, surface, ink, border, accent, and semantic colors
  • spacing rhythm and layout grid
  • radii, borders, shadows, and elevation posture
  • component density and interaction rules
  • motion timing, easing, and reduced-motion behavior

Use existing tokens when available. When inventing a system, keep the palette and component vocabulary intentionally small.

Choose the right form

  • Static comparison: show alternatives side by side in one HTML canvas.
  • Interaction or workflow: build a clickable prototype with the primary path and key states.
  • Product screen: implement the actual layout hierarchy and decision-relevant data.
  • Component exploration: expose meaningful variants and states in a compact lab.
  • Motion study: make state transitions observable and controllable.

Use plain HTML, CSS, and JavaScript for portable standalone artifacts. Use React only when state, interaction complexity, or the target repo makes it useful. Pin any remote dependency and avoid adding one for decoration alone.

Build in passes

  1. Structure: establish the semantic hierarchy, content order, responsive layout, and primary path without decorative polish.
  2. System: apply the chosen type, color, spacing, border, elevation, and motion vocabulary consistently.
  3. States: implement the default, interaction, loading, empty, error, and completion states that matter to the brief.
  4. Polish: refine line breaks, density, alignment, crops, focus treatment, and transitions at the actual target viewports.
  5. Cleanup: remove filler copy, dead controls, abandoned variants, unused dependencies, and console noise.

Do not spend the polish pass compensating for a weak hierarchy. Fix structure first.

Explore and consolidate

When the visual direction is genuinely open, present three meaningfully different options:

  1. conservative: closest to existing patterns
  2. strong-fit: the best interpretation of the brief
  3. divergent: a useful challenge to the assumed direction

Vary composition, hierarchy, density, type, interaction, or motion—not merely color. Once the user chooses, consolidate into a single coherent result rather than leaving a gallery of unfinished options.

Build complete states

Implement the states needed to understand the experience:

  • default and focus/hover
  • loading when waiting is part of the flow
  • empty when absence changes the interface
  • error and recovery when failure matters
  • success or completion when the flow ends

Make the primary path operable. Use semantic HTML, visible focus states, at least 44px touch targets, and responsive behavior. Respect prefers-reduced-motion for non-trivial animation.

For optional in-page design controls, use a small Tweaks panel for meaningful dimensions such as density, theme, type scale, layout, or motion. Hide it cleanly and persist settings only when continuity helps.

Keep content honest

Every element must earn its place. Do not add:

  • invented metrics, testimonials, or product claims
  • generic feature grids used as filler
  • dashboards full of arbitrary data
  • icons that do not improve scanning
  • placeholder sections that change the user's strategy

Mark unfinished copy as draft. Ask before adding major sections or capabilities not present in the brief.

Avoid design sludge

Do not default to:

  • aggressive gradients or glassmorphism
  • rainbow palettes
  • oversized rounded cards as the only hierarchy
  • stock-photo heroes
  • decorative charts and SVG illustrations with no informational role
  • emoji outside an established brand language
  • vague labels such as “Insights,” “Growth,” or “Optimize” without precise content
  • endless equal-sized card grids

Minimal is not automatically refined, and dense is not automatically cluttered. Use typography, rhythm, alignment, contrast, and interruption intentionally.

Design by medium

Typography

Use hierarchy before boxes and decoration. Choose type to fit the artifact: editorial, product, technical, luxury, or data-heavy. Keep families and weights limited, preserve readable line lengths, and avoid tiny text that only works in a design screenshot.

Color

Prioritize contrast and semantic consistency. Use one primary accent unless the source system requires more. Reserve danger and success colors for actual states.

Layout

Optimize product interfaces for comprehension and action. Let marketing artifacts land one central idea per section. Show only data that helps the viewer decide.

Motion

Use motion to clarify continuity, state change, and loading. Do not delay the user, loop without purpose, or use animation to hide weak hierarchy.

Images and references

Use supplied imagery when possible. If real assets are unavailable, prefer strong type and layout over elaborate fake illustrations. Transform reference principles instead of reproducing distinctive proprietary screens.

Verify in the real environment

Before delivery:

  1. Confirm the expected files exist and open from their final paths.

  2. For a standalone HTML artifact, run the bundled structural check:

    bash
    python3 <skill-dir>/scripts/check_artifact.py /absolute/path/to/artifact.html

    For repo work, run the project's syntax, type, build, test, and lint checks that cover the changed surface.

  3. Open the artifact in a browser and check console and page errors.

  4. Exercise the primary interaction and key states.

  5. Inspect screenshots at the intended viewport and at least one narrower viewport.

  6. Check local assets, focus visibility, overflow, text wrapping, and responsive behavior.

  7. Verify theme, variation, or reduced-motion modes when provided.

  8. Distinguish structural success from visual success. Record both instead of treating a passing build as visual approval.

A passing build does not prove visual quality. Inspect the rendered composition. Never claim browser verification unless it actually happened.

Deliver

Report the exact artifact path, what it contains, the checks and viewports actually used, and any remaining caveat or remote dependency. Keep the handoff brief and lead with the result.

Attribution

Adapted from claude-design by BadTechBandit under the MIT License. This variant uses a neutral name, removes hosted-product plumbing, and routes slide-deck work to create-html-deck.

附带文件

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

常见问题

Design Artifact AI 技能有什么作用?

Design, build, and verify distinctive one-off visual artifacts such as landing pages, interactive prototypes, component explorations, product mockups, dashboards, onboarding flows, and motion studies. Use for high-fidelity HTML design work or design-led implementation; use create-html-deck instead when the primary deliverable is a slide presentation.

为什么在 TypingMind 中使用 Design Artifact?

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

如何在 TypingMind 中安装 Design Artifact?

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

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

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

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

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

Design Artifact AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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