Token导航 LogoToken导航

Agent Skill · 研究检索

design-for-ai(AI 设计)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

design-for-ai 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 41,004。

总安装 1,224周安装 50GitHub Stars 144下载 392核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:design-for-ai(AI 设计)
来源仓库:https://github.com/ryanthedev/design-for-ai
仓库路径:skills/design-for-ai
安装命令:
npx skills add https://github.com/ryanthedev/design-for-ai --skill design-for-ai
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ryanthedev/design-for-ai --skill design-for-ai

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

专为 AI 时代重新定义视觉设计准则,兼顾美学与功能性双重目标。适合审核现有设计是否符合机器可读要求,或新建面向自动化系统的界面。包含目的性、简洁性、一致性等八大核心原则指导具体实践。需根据 CHECKER/APPLIER 两种模式灵活切换,适应不同工作场景需求。

design-for-ai 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/design-for-ai

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ryanthedev/design-for-ai --skill design-for-ai;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

design-for-ai 怎么安装?

在终端执行 npx skills add https://github.com/ryanthedev/design-for-ai --skill design-for-ai。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

design-for-ai 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

design-for-ai 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

design-for-ai 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

design-for-ai 用的人多吗?

公开数据是累计安装 1,224 次,近一周安装 50 次,下载 392 次,GitHub 144 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

design-for-ai 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
design-for-ai

AI 设计 · 本页

1,224144只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Design for AI — Visual Design Principles

Based on principles from *Design for Hackers* by David Kadavy

Modes of Operation

This skill operates in two modes: CHECKER (audit existing designs) and APPLIER (build from scratch). Choose based on context.


CHECKER Mode: Reviewing an Existing Design

Run through these checks in order. Stop and investigate when a check fails.

Phase 0: Context Before auditing, ask: What is this design for? Who is the audience? What framework/constraints exist? What aesthetic direction was intended?

1. Purpose and Foundation

  • Design has a clearly articulated purpose driving all decisions
  • Visual design and information design work together (~75% of credibility signals)
  • Level of polish is appropriate to context (not over- or under-designed)
  • Style is grounded in current tech/culture, not surface-copying a trend
  • See references/chapter-01-why-design-matters.md, references/chapter-02-purpose-of-design.md

Issues found? → Run /exam for detailed diagnosis or /design to establish foundations.

2. Typography

  • Typeface is appropriate for rendering medium (screen vs print)
  • Body text passes squint test (even gray texture, no dark blotches)
  • No fake bold, fake italic, or stretched/compressed type
  • Font pairing uses compatible letter structures or deliberate extreme contrast
  • Max two font families; one serif + one sans-serif
  • Proper typographic characters (smart quotes, real dashes, no double spaces)
  • See references/chapter-03-typography.md, references/appendix-fonts-and-typography.md

Issues found? → Run /fonts for typography selection and configuration.

3. Proportions and Layout

  • Major element sizes relate through identifiable ratios (2:3, 3:4, golden)
  • Margins create geometric relationship between content and container
  • Size progressions follow a consistent scale factor (e.g., multiply by 0.75)
  • See references/chapter-05-proportions.md

Issues found? → Run /exam for detailed diagnosis.

4. Composition

  • One element is clearly dominant (visual anchor / entry point)
  • Eye is guided through composition by directional forces
  • Foreground/background depth relationship exists
  • Similarity creates cohesion (recurring shapes, colors, textures)
  • Contrast supports intended hierarchy
  • See references/chapter-06-composition.md

Issues found? → Run /exam for detailed diagnosis.

5. Visual Hierarchy

  • White space follows proportional system (not arbitrary pixel values)
  • Type sizes differ by meaningful amounts (skip steps in scale)
  • Ornamentation is minimal — used only when space/weight/size/color are insufficient
  • Tables have no unnecessary rule lines (Tufte 1+1=3)
  • See references/chapter-07-visual-hierarchy.md

Issues found? → Run /exam for detailed diagnosis.

6. Color

  • Palette follows identifiable color wheel relationship
  • No information conveyed by color alone (colorblindness: ~10% of males)
  • Functional colors follow conventions (red=error, green=success, blue=link)
  • Warm/cool relationships create depth (warm advances, cool recedes)
  • Shadows use hue-shifted colors, not pure black
  • Data viz uses perceptually uniform colors (Lab/Colorbrewer, not raw HSL)
  • See references/chapter-08-color-science.md, references/chapter-09-color-theory.md

Issues found? → Run /color for color system building.

7. SEO and Discoverability

  • Content in semantic HTML (not locked in images/canvas)
  • Unique, keyphrase-rich title tags on every page
  • Human-readable URLs with keywords
  • Proper heading hierarchy (single H1, logical H2-H6)
  • See references/chapter-04-technology-and-culture.md

8. Motion and Interaction

  • Animations are purposeful (guide attention, show state change, provide feedback)
  • All interactive elements have proper states (hover, focus, active, disabled, loading, error, success)
  • Focus management works for keyboard navigation;:focus-visible used
  • Loading states exist (optimistic UI, skeletons, or spinners)
  • See references/motion.md, references/interaction.md

Issues found? → Run /flow for motion, interaction, and responsive implementation.

9. Responsive Design

  • Layout is fluid with content-driven breakpoints
  • Touch targets meet minimum 44x44px
  • Typography and spacing scale fluidly (clamp())
  • Interface adapts to context, not just shrinks
  • See references/responsive.md

Issues found? → Run /flow for responsive implementation.

10. Design Identity

  • Design has intentional aesthetic, not default/generic
  • No common AI design tells (cyan-on-dark, card-everything, glassmorphism, bounce easing)
  • Design has memorable character traceable to purpose
  • See references/ai-tells.md

Issues found? → Run /brand to strip AI tells and add character.


APPLIER Mode: Creating or Guiding Design

Follow this sequence when building a design from scratch or making major changes.

Phase 0: Context Gather design context: purpose, audience, aesthetic direction, constraints, references and anti-references. Run /design if not yet established.

Phase 1: Foundation (before any visual work)

  1. Define purpose: what should users feel, do, trust?
  2. Create user personas (name, occupation, quote, needs)
  3. Define primary use cases
  4. Create wireframes (layout only, no visual styling)
  5. Assess competitive context to right-size design investment
  • Read references/chapter-01-why-design-matters.md, references/chapter-02-purpose-of-design.md

Gate: Purpose defined and personas created before proceeding to Phase 2.

Phase 2: Structure 6. Choose a proportional system (2:3, 3:4, or golden ratio) 7. Derive canvas, content area, and margins from that ratio 8. Build a proportional type scale (e.g., 5, 7, 9, 12, 16, 21, 28, 37, 50, 67 at 3:4) 9. Set up grid for element placement

  • Read references/chapter-05-proportions.md

Gate: Proportional system chosen and type scale defined before proceeding to Phase 3.

Phase 3: Typography 10. Select body font matched to rendering medium (sans-serif for web body) 11. Identify letter structure (humanist, geometric, realist) 12. If pairing, match structures for harmony or use extreme contrast 13. Set leading 1.2-1.4em, ragged right for web, proper typographic characters

  • Read references/chapter-03-typography.md, references/appendix-fonts-and-typography.md

Gate: Font selection finalized and type scale applied before proceeding to Phase 4.

Phase 4: Composition and Hierarchy 14. Establish one dominant element as visual anchor 15. Build hierarchy: white space first, then weight, size, color, ornamentation (one at a time) 16. Create foreground/background depth layers 17. Guide eye with directional forces (alignment, progressive sizing) 18. Ensure similarity (shape language, repeating motifs)

  • Read references/chapter-06-composition.md, references/chapter-07-visual-hierarchy.md

Gate: Visual hierarchy established with clear dominance before proceeding to Phase 5.

Phase 5: Color 19. Choose background appropriate to content density (white for content-heavy) 20. Select base hue matching desired mood 21. Build palette using color wheel (monochromatic, analogous, complementary, etc.) 22. Assign functional colors (errors, success, links, CTAs) 23. Use warm/cool for depth; hue-shifted shadows, not pure black 24. Test for colorblindness; add redundant cues (shape, text, position)

  • Read references/chapter-08-color-science.md, references/chapter-09-color-theory.md

Gate: Color palette defined and accessibility tested before proceeding to Phase 6.

Phase 6: SEO and Technical 25. Semantic HTML with proper heading hierarchy 26. Unique title tags, descriptive URLs, meta descriptions 27. Descriptive image filenames and alt text 28. CSS3 native effects over image hacks

  • Read references/chapter-04-technology-and-culture.md

Phase 7: Motion and Interaction 29. Define entry animations (staggered reveals, fade+translate) 30. Map state transitions (expand/collapse, show/hide, tab switches) 31. Add feedback (button press, form validation, loading) 32. Set timing (100ms micro, 300ms standard, 500ms complex) and easing (ease-out entries, ease-in exits) 33. Map all interaction states (default, hover, focus, active, disabled, loading, error, success) 34. Implement focus management and form validation

  • Read references/motion.md, references/interaction.md

Phase 8: Responsive 35. Mobile-first with min-width queries and content-driven breakpoints 36. Fluid typography and spacing with clamp() 37. Touch targets minimum 44x44px 38. Adapt interface for context — don't just shrink

  • Read references/responsive.md

Quick Commands

NeedCommandWhat it does
Set up design foundations/designPurpose, audience, aesthetic direction → saves to CLAUDE.md
Full design audit/examTheory-backed review — finds problems and explains WHY
Strip AI tells, add character/brandMake it intentionally designed, not generated
Typography help/fontsSelect, pair, configure fonts with theory backing
Color system/colorBuild palette from color science up
Motion + interaction + responsive/flowAdd movement, states, screen adaptation
Final quality pass/honeEvery principle checked, pixel-level

Symptom → Chapter

Symptom / QuestionGo ToWhy
"Design feels like a superficial veneer"references/chapter-01-why-design-matters.mdDesign as layered discipline, not decoration
"How much design investment does this need?"references/chapter-02-purpose-of-design.mdPersonas, use cases, wireframes, right-sizing
"Which font should I use?"references/chapter-03-typography.mdMedium-form relationship, squint test
"Design style feels like a copy" / SEOreferences/chapter-04-technology-and-culture.mdStyle from tech+culture; SEO as design
"How big should elements be?"references/chapter-05-proportions.mdProportional systems, Tschichold margins
"Layout is boring / nothing holds the eye"references/chapter-06-composition.mdDominance, direction, depth, contrast
"Can't tell what's important"references/chapter-07-visual-hierarchy.mdWhite space > weight > size > color
"Colors don't match / colorblindness"references/chapter-08-color-science.mdGamuts, perceptual uniformity, accessibility
"How do I choose a color palette?"references/chapter-09-color-theory.mdColor wheel schemes, mood, hue-shifted shadows
"Fonts don't look right together"references/appendix-fonts-and-typography.mdLetter structure, the n test, pairing

Anti-Rationalization Table

ExcuseRealityReference
"I'm not a designer, I just need it to work"Design IS how it works. 75% of credibility judgments are design-based (Fogg).Ch. 1
"I'll make it pretty at the end"Design-as-afterthought produces veneer. Purpose, medium, and aesthetics must be considered together from the start.Ch. 1-2
"I'll just use a nice template"Templates are other people's decisions for other contexts. Without understanding layers, you're copying surface patterns.Ch. 1
"Proportions don't matter for web/app design"Device screens themselves use these proportions (3:4, 2:3, 16:9). Proportional relationships are perceived subconsciously.Ch. 5
"I used a grid, so composition should be fine"A grid determines placement, not how the eye moves. You still need dominance, direction, and contrast.Ch. 6
"White space is wasted space"White space is the most powerful hierarchy signal. It communicates both importance and relationships.Ch. 7
"I need borders on my table cells"Alignment guides the eye just as effectively. Borders add visual noise via Tufte's 1+1=3.Ch. 7
"Color is subjective, there's no right answer"Color wheel relationships, psychological research, and cultural conventions provide objective frameworks that reliably outperform pure intuition.Ch. 9
"Garamond is a timeless classic, it works everywhere"Garamond is timeless for print. On screen at body sizes, its angled axis and subtle curves blur and create moire. Use Georgia.Ch. 3
"Nobody notices fake bold or straight quotes"Fake bold closes counters and looks clunky. Straight quotes signal amateur typography. Even non-designers sense something is "off."Appendix

平台分布

Codex

36.59%
按下载量换算143

Claude

30.78%
按下载量换算121

Cursor

20.72%
按下载量换算81

Gemini CLI

8.51%
按下载量换算33

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills