Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器unknown未标认证来源可访问许可证需确认审计未展示

design设计

Agent Skill

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

总安装

449

周安装

18

下载量

145
Local Agent

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

简介

design 用于辅助界面设计、视觉规范和布局优化。

  • 适合整理页面结构、生成 UI 方案或检查一致性。
  • 可改进组件层级和交互体验。design 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 需结合品牌系统和用户任务使用,避免堆砌装饰元素。
  • 涉及真实页面改动时应通过预览检查文本溢出和对齐。

SKILL.md

Design

Code, component, and API design evaluation.

Abstraction Quality

Naming

  • Does processData() actually process data?
  • Do names reveal intent?
  • Consistent vocabulary (don't mix "user" and "account" for same concept)?

Red flags:

  • Manager, Handler, Processor, Utils — often god classes
  • Single-letter names outside tight loops
  • Abbreviations that aren't universally known

Single Responsibility

  • One reason to change?
  • Can you describe the class without using "and"?

Test: "The {ClassName} is responsible for..." — if you need "and", split it.

Leaky Abstractions

  • Does implementation leak through interface?
  • Are internal data structures exposed?

Example leak:

// Leaky — exposes internal Map structure
class Cache {
  getAll(): Map<string, Value> { return this.internal; }
}

// Clean — hides implementation
class Cache {
  entries(): Array<[string, Value]> { return [...this.internal]; }
}

Tell, Don't Ask

  • Behavior on objects vs external orchestration?
  • Objects should do things, not just hold data

Ask (bad):

if (order.status === 'pending' && order.items.length > 0) {
  order.status = 'confirmed';
}

Tell (good):

order.confirm(); // Object owns its state transitions

SOLID Compliance

PrincipleQuestionViolation Signal
Single ResponsibilityOne reason to change?Class has multiple "and"s
Open/ClosedExtend without modifying?Switch statements on types
Liskov SubstitutionSubtypes substitutable?Instanceof checks
Interface SegregationClients use what they depend on?Empty method implementations
Dependency InversionDepend on abstractions?new ConcreteClass() in domain

API Design

Protocol Selection

ProtocolBest ForAvoid When
RESTCRUD, public APIs, cachingReal-time, complex queries
GraphQLFlexible queries, multi-clientSimple CRUD, N+1 risk
gRPCInternal services, performanceBrowser clients
WebSocket/SSEReal-time updatesRequest-response

Universal Principles

  1. Contract-First: Define API before implementation
  2. Consistency: Same patterns everywhere
  3. Evolvability: Version from day one
  4. DX: Clear errors, good docs

DX (Developer Experience)

  • Onboarding: Can a new dev understand in 15 minutes?
  • Error Messages: Actionable or cryptic?
  • Documentation: Matches reality?
  • Conventions: Consistent with ecosystem?

Guild Members for Design

Primary: Karman (naming/abstractions), Ace (DX), Burner (coupling) Secondary: Dijkstra (correctness), Vector (auth for APIs)

Output Format

## Design Review: {Component}

### Abstraction Quality
- {Finding 1}
- {Finding 2}

### SOLID Violations
- {Principle}: {violation}

### API Assessment (if applicable)
- {Finding}

### DX Friction Points
- {Point 1}

### Recommendations
1. {Action}
2. {Action}

Additional Resources

  • references/solid-gotchas.md — Common SOLID violations with fixes
  • references/api-rest.md — REST production gotchas
  • references/api-graphql.md — GraphQL N+1, complexity, caching traps
  • references/api-grpc.md — gRPC streaming, versioning gotchas

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Local Agent

84.58%
按下载量换算123

安全审计

暂无安全审计结果可展示。

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills