Webdesign
它能做什么
在你现有的应用中设计和构建网页、仪表板和界面,使用其颜色和组件。它适用于希望界面精致而不千篇一律的开发者和创始人。
适用场景
- ✓当你的应用需要新的落地页或仪表板的时候。
- ✓当你想在选定之前比较几种设计方案的时候。
- ✓当你希望设计系统与设计工作保持同步的时候。
技能链接
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Webdesign/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我的应用设计一个落地页,要与我们现有的颜色和按钮风格相符。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能会在你应用的框架中以代码形式构建设计,复用其现有的设计令牌和组件。在展示之前,它会对渲染结果进行视觉检查,并且除非你要求,否则不会替换现有页面。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Webdesign
Design interfaces using DirectDesign for in-code work, or NativeDesign for artboard variants and design-system sync. Respect existing app tokens and components; redesign only when requested. Both paths share the aesthetic doctrine in References/FrontendDesignPhilosophy.md and the same quality loop.
Ideal State
- Every design lands as working code (or a picked artboard implemented) in the host app's framework, diffed against its existing tokens and components; a full redesign happens only when the user asked for one, and replacing existing UI otherwise is flagged and confirmed first.
- The result looks made for its subject and its host app, never like a generic AI page: a named register, none of the forbidden defaults in
References/FrontendDesignPhilosophy.md. - The path fits the ask: DirectDesign for in-code work, NativeDesign for comparing looks or design-system sync, and an ambiguous ask gets both paths offered by name, never routed silently.
- Nothing reaches the principal as a first draft (principal directive, 2026-09-17): before it is shown, the rendered result has an Interceptor capture and an ArtDirection critique that passed the bar, or a reported shortfall.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
DirectDesign (default, bundle direct) |
in-code UI design or a self-contained page; short ad-hoc design asks, "make a nice design", "do the design yourself", frontend aesthetics, brutalist/editorial/retro/maximalist UI | Intents/DirectDesign.md |
NativeDesign (bundle native) |
artboards, "show me variants", "give me a few directions", "pick a design", mockup, prototype, "claude design", /design, /design-sync, design-system sync |
Intents/NativeDesign.md |
DirectDesign fits one pass that lands as code in an existing codebase or as a self-contained page, including when claude.ai access is unavailable. NativeDesign fits when the principal should compare genuinely divergent looks side by side, review visually before implementation, or the job is design-system sync. Illustrations and logos go to Art: brand assets are authored SVG, never generated UI output.
Uncertain routing or the full reference loads bundle full. The direct bundle includes the full aesthetic reference and the DirectDesign intent, so its doctrine read is already satisfied; do not fetch the same bytes again. NativeDesign retains its original prerequisites and approvals.
| File | Read when |
|---|---|
References/CompleteGuide.md |
the loader fails, or the full bundle: integration-aware operation, preflight, the dated gotchas |
References/FrontendDesignPhilosophy.md |
any DirectDesign run or NativeDesign brief: the aesthetic doctrine, registers, type pairs, forbidden defaults |
References/InputFormats.md |
writing a design brief, importing a design system, choosing iterate vs restart |
References/ClaudeDesignCapabilities.md |
what Claude Design and /design can and cannot do, access, known limits |
References/SiteLaunch.md |
public-site builds and launch completion |
README.md |
the public-facing intro to the skill |
Setup.md |
first-time setup: Interceptor test context for the rendered check, and Claude Design access for NativeDesign |
Tool contract
Load context with the deterministic loader before executing an intent:
bun "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/LIFEOS/TOOLS/ContextLoad.ts" Webdesign load BUNDLE
It returns the selected instructions and their required sections with source hashes; follow every returned requirement. Use list to discover sections and bundles, and search "query" to search the indexed source; a failed search does not establish absence, so broaden it or load full. If the loader fails, read References/CompleteGuide.md and the relevant intent directly. Do not proceed with a partial load.
Verification and the quality loop:
- Browser evidence uses Interceptor's
verifybundle, including all its isolation and safety requirements. An unavailable verifier leaves the result explicitly unverified. - Capture the rendered page with
Tools/VerifyDesign.tsorskills/Interceptor/Tools/Capture.sh. Skill("ArtDirection")runs a direction council before new or large work; then the cross-vendor critique panel (skills/ArtDirection/Tools/Critique.ts) scores the capture against the rubric and names defects, and this skill iterates on those defects until the bar or reports the shortfall.- A file han
常见问题
它会重新设计我的整个网站吗?
只有当你要求完整重新设计时才会。替换现有页面会被标记,并先与你确认。
它会先给我看草稿吗?
不会。工作在展示前会通过截图和评审进行检查。
它能比较设计方案吗?
能。它可以为你生成多个设计变体进行比较。
详情
作者的原始描述
Designs and integrates web interfaces via DirectDesign (inline, Anthropic frontend-design philosophy, the default) or NativeDesign (/design artboards plus /design-sync design-system sync). USE WHEN web design, UI design, artboards, design variants, create prototype, design system, design sync, redesign site, mockup, landing page, dashboard design, design-to-code, frontend design, polish UI, design audit, brutalist/editorial/retro UI. NOT FOR illustrations/logos (Art), video (HyperFrames).
repo: danielmiessler/LifeOS
热度
- GitHub 星标
- 20k
- 排名
- #10475
- 许可证
- MIT
- 更新时间
- 2026/10/28
评论
- …