Evanflow design interface

From evanklem/evanflow · View interactive version

Evanflow design interface is an AI agent skill from the GitHub repository evanklem/evanflow. Design a module's interface using parallel sub-agents producing radically different designs ("design it twice"). Compare on depth, simplicity, and efficiency. Embedded grill on the synthesized choice. Use when designing a new API, exploring interface options, or deciding the shape of a refactor befo

How to use this skill

Skill file

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

The Flow

1. Gather Requirements

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:

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:

Discuss in prose. Highlight where designs diverge most.

5. Synthesize

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

6. Embedded Grill on the Synthesis

Before committing to the design:

Hard Rules

Hand-offs

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.