Design It Twice logo

Design It Twice

Community
etr
design-it-twice

Use before committing to a non-trivial module, service boundary, or public API - generate 2-3 divergent interface designs, compare them on depth/locality/seam, and recommend one

Overview

Publisheretr
Repositorygroundwork
Skill namedesign-it-twice
Stars
45
Forks
4
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by etr on GitHub. Read the source before you install it.

Installation

Install the Design It Twice AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/etr/groundwork/tree/main/skills/design-it-twice
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/etr/groundwork.git /tmp/groundwork
mkdir -p .claude/skills
cp -r /tmp/groundwork/skills/design-it-twice .claude/skills/design-it-twice
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Design It Twice in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Design It Twice on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Design It Twice is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Design It Twice

Overview

Your first interface is rarely your best (Design it twice, Ousterhout). Before you commit a module boundary, generate genuinely different designs and compare them — the cost of exploring on paper is trivial next to the cost of a shallow interface that Hyrum's Law then freezes into a contract.

Core principle: Aim for deep modules — a simple interface hiding substantial functionality. A design that merely forwards calls is shallow and usually a liability.

This is a build-time and architecture-time discipline. [[design-architecture]] and [[swarm-design-architecture]] invoke it for module boundaries; invoke it directly any time you're about to design a single non-trivial interface.

When to Use

  • A new module, service boundary, or public API
  • A refactor that reshapes an existing interface many callers depend on
  • Any seam where a future change is likely to land and you want it to land in one place

Skip for trivial or single-call-site code, or interfaces fully dictated by an existing contract.

Process

1. Frame the problem space

Before generating alternatives, write down the constraints, dependencies, the dominant use case, and a rough code sketch of the interface. Use the project's domain language (see [[domain-modeling]]). Vague framing yields vague designs.

Check the premise: What assumption makes this interface necessary? Could doing nothing, reusing an existing interface, or changing the boundary solve the underlying problem? Challenge inferred assumptions while keeping explicit user requirements fixed unless the user changes them. If no new interface is needed, recommend that and stop.

2. Generate 2–3 divergent designs

Each design optimizes one distinct goal — they must genuinely differ, not be three shades of the same idea:

LensOptimizes for
Minimize entry pointsFewest interfaces, maximum leverage per surface — a deep module
Maximize flexibilityReuse across the widest set of use cases
Optimize the common caseSimplest path for the dominant workflow
Isolate seamsCross-boundary dependencies behind ports & adapters

Orchestration: if the Agent/Task tool is available, fan out one agent per design in parallel, each with the same framing and a different lens. No agent teams or debate are needed — the designs are independent. If agents are unavailable, produce the designs sequentially yourself. Each brief returns the interface sketch plus its trade-offs.

3. Compare on three axes

  • Depth — functionality hidden behind the interface vs. surface exposed. Favor depth; mind Hyrum's Law on every exposed behavior.
  • Locality — where a likely future change concentrates (one module vs. scattered across callers).
  • Seam placement — whether boundaries fall where the system actually flexes.

4. Recommend, don't enumerate

Give an opinionated recommendation — which design solves the problem best and why — possibly a hybrid that grafts the best of two. A neutral menu pushes the judgment onto the reader and defeats the exercise.

Preserve the strongest unresolved objection, if any, and state what evidence would change the recommendation. Base confidence on evidence, not agreement among agents; if no substantive objection remains, say so without inventing one.

Named principles referenced here are defined in ${CLAUDE_PLUGIN_ROOT}/references/engineering-principles.md.

Rationalizations

ExcuseReality
"My first design is obviously right"That feeling is exactly when a second design most often beats it. Cost of checking is one sketch.
"Three designs is slower"Slower than reworking a shallow interface every caller already depends on? No.
"They'd all come out the same"Then your lenses aren't divergent. Force distinct optimization goals.
"I'll just present the options and let them pick"A menu without a recommendation is unfinished work. Take a position.

Red Flags

  • The alternatives differ only cosmetically (same interface, renamed)
  • A "design" that forwards calls with no functionality hidden (shallow module)
  • Comparing on taste rather than depth / locality / seam
  • Ending with "any of these could work" instead of a recommendation

Verification

  • Premise checked against simpler alternatives within explicit user requirements; stopped if no new interface is needed

If proceeding with a new interface:

  • Problem space framed: constraints, dominant use case, interface sketch
  • 2–3 designs, each optimizing a genuinely distinct goal
  • Compared explicitly on depth, locality, and seam placement
  • A single opinionated recommendation (or justified hybrid), with reasoning
  • Strongest unresolved objection preserved (or none identified), with evidence that would change the recommendation

Frequently asked questions

What does the Design It Twice AI skill do?

Use before committing to a non-trivial module, service boundary, or public API - generate 2-3 divergent interface designs, compare them on depth/locality/seam, and recommend one

Why use Design It Twice on TypingMind?

Because you install it once and use it with any model. Design It Twice is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Design It Twice in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/etr/groundwork/tree/main/skills/design-it-twice. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Design It Twice?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Design It Twice?

As many as you like. As long as a model supports skills, you can use Design It Twice with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Design It Twice AI skill free?

Yes. It is published on GitHub by etr under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇