Token导航 LogoToken导航TokenDH.com
前端设计执行命令github未标认证来源可访问许可证需确认审计通过

evanflow-design-interface埃文流设计界面

Agent Skill

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

总安装

190

周安装

8

GitHub Stars

337

下载量

67
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/evanklem/evanflow --skill evanflow-design-interface

简介

evanflow-design-interface 采用"设计两次"原则,生成不同方案并比较合成最优接口。

  • 适用于 API 表面、模块接口等设计决策场景,确保公共接口简洁且深度合理。
  • 使用时需收集需求、生成备选方案,并通过 adapter、seam 等概念评估可维护性。
  • 安装前请确认仓库权限和维护状态,避免仅堆砌装饰元素,应聚焦核心交互和问题解决。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

EvanFlow: Design an Interface

Source principle: "Design It Twice" from John Ousterhout's *A Philosophy of Software Design*. Your first idea is unlikely to be the best. Generate radically different designs, compare, synthesize.

Vocabulary

See evanflow meta-skill. Key terms: interface, depth, module, adapter.

When to Use

  • Designing a new API surface (tRPC router, service interface, public function set)
  • Refactor changes a public interface — design before implementing
  • Stuck on the shape of a module
  • The team disagrees on the right interface

The Flow

1. Gather Requirements

  • What problem does this module solve?
  • Who are the callers? (other modules, external users, tests)
  • Key operations
  • Constraints (performance, compatibility, existing project patterns from CONTEXT.md)
  • What should be hidden vs. exposed

2. Spawn Parallel Sub-Agents (Design It Twice — actually 3+)

Dispatch 3+ Explore or general-purpose agents simultaneously (single message, multiple Agent tool calls). Each gets a radically different constraint:

  • Agent 1: "Minimize method count — aim for 1–3 methods max."
  • Agent 2: "Maximize flexibility — support many use cases."
  • Agent 3: "Optimize for the most common case (specify what that is)."
  • (Optional) Agent 4: "Take inspiration from."

Each returns:

  1. Interface signature (types, methods, params)
  2. Usage example (how the caller actually uses it)
  3. What the design hides internally
  4. Trade-offs

3. Present Designs Sequentially

Show each design separately so the user can absorb each before comparison. No tables yet — let each design stand on its own.

4. Compare

After all designs are shown, compare on:

  • Interface simplicity: fewer methods, simpler params
  • General-purpose vs. specialized: flexibility vs. focus
  • Implementation efficiency: does the shape allow efficient internals or force awkward ones?
  • Depth: small interface hiding significant complexity (good) vs. large interface with thin implementation (bad)
  • Ease of correct use vs. ease of misuse

Discuss in prose. Highlight where designs diverge most.

5. Synthesize

Often the best design combines insights from multiple options. Ask:

  • "Which design best fits the primary use case?"
  • "Any elements from other designs worth incorporating?"

6. Embedded Grill on the Synthesis

Before committing to the design:

  • "What's the simplest way a caller could misuse this?"
  • "What test would force this interface to change unnecessarily? Does that test exist or would we write it?"
  • "Is the interface still simple after we incorporate the borrowed elements, or did the synthesis bloat it?"
  • "Apply the deletion test to internal helper modules implied by this design."

Hard Rules

  • Don't let sub-agents converge. Enforce radical difference. If agents return similar designs, re-spawn with sharper constraints.
  • Don't skip comparison. The value is in the contrast.
  • Don't implement. This skill is purely about interface shape. Implementation goes through evanflow-writing-plans + evanflow-tdd.
  • Don't evaluate based on implementation effort. Evaluate on interface quality.
  • Never auto-commit. Even a design doc gets staged, not committed.

Hand-offs

  • Design chosen → evanflow-writing-plans (the plan implements the design)
  • Design reveals architecture concerns → evanflow-improve-architecture first
  • New domain terms emerged → evanflow-glossary to update CONTEXT.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Codex

37.48%
按下载量换算25

Claude

28.18%
按下载量换算19

Cursor

16.93%
按下载量换算11

Gemini CLI

9.56%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/evanklem/evanflow --skill evanflow-design-interface 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills