Skip to content
Skill

Design an interface

Generates several radically different interface designs for a module and compares them

Design an interface is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
34
Last commit
License
MIT
Listing updated

Similar skills

About Design an interface

This deprecated skill guides an agent through the "design it twice" approach to API and module design. It gathers requirements on the problem, callers and key operations, then has the agent produce multiple sharply different interface candidates, each with a signature, a usage example, what it hides and its trade-offs.

The workflow presents each candidate in turn, then compares them on simplicity, generality versus specialization, implementation efficiency, depth of the interface, and how easy correct use is compared with misuse. The comparison is written as prose and highlights where the designs diverge, after which the agent helps combine the strongest ideas into one choice.

The skill is written for the agent to run parallel sub-agents, one per design constraint, and it expects a description of the module's purpose and its callers. The frontmatter notes that the skill is deprecated in favor of a newer prototyping skill and should only be invoked when a user explicitly asks for it.

When your agent uses it

DEPRECATED. Prefer `/prototype` for design exploration and runnable UI variations. Do not use unless user explicitly says `/design-an-interface` or asks for legacy skill.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (2 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the frontend-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add redpanda-data/ui-harness
/plugin install frontend-skills@ui-harness

Or copy only this skill to ~/.claude/skills/design-an-interface:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/redpanda-data/ui-harness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/design-an-interface &&
cp -R "$tmp/design-an-interface" ~/.claude/skills/design-an-interface &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/design-an-interface inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/design-an-interface to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/redpanda-data/ui-harness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/design-an-interface &&
cp -R "$tmp/design-an-interface" ~/.agents/skills/design-an-interface &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/design-an-interface inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/design-an-interface to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/redpanda-data/ui-harness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/design-an-interface &&
cp -R "$tmp/design-an-interface" ~/.cursor/skills/design-an-interface &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/design-an-interface inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/redpanda-data/ui-harness.git --path design-an-interface

Or copy the folder to ~/.gemini/skills/design-an-interface yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/design-an-interface:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/redpanda-data/ui-harness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/design-an-interface &&
cp -R "$tmp/design-an-interface" ~/.copilot/skills/design-an-interface &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/design-an-interface inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/redpanda-data/ui-harness.git

Then copy ui-harness/design-an-interface into your agent's skills folder as design-an-interface. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Requirements gathering
Asks about the problem, callers, key operations, constraints and what to hide versus expose.
Parallel divergent designs
Spawns several sub-agents, each constrained to a different design approach.
Side-by-side comparison
Evaluates candidate interfaces on simplicity, generality, efficiency and misuse resistance.
Synthesis step
Helps merge the best elements of the candidate designs into a final choice.

Good for

  • Explore several API shapes for a new module before writing code
  • Compare a minimal interface against a more flexible one
  • Decide which parts of a module's interface to hide from callers

Design an interface FAQ

Is Design an interface still recommended?

No. Its description marks it as deprecated, recommends the /prototype skill instead, and says to use it only when a user explicitly asks for /design-an-interface or the legacy skill.

What does Design an interface produce?

For each candidate design it describes an interface signature, a usage example, what the design hides and its trade-offs, followed by a comparison.

How do I install Design an interface in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/design-an-interface to use it in all your projects, or to .claude/skills/design-an-interface in one project. Or install the frontend-skills plugin, which includes it: /plugin marketplace add redpanda-data/ui-harness, then /plugin install frontend-skills@ui-harness.

Does Design an interface run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Design an interface?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Design an interface?

The closest alternatives to Design an interface are Interface design, Oracle codebase design, Principle exhaust the design space, API and interface design and Architect.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from redpanda-data/ui-harness

  1. Guides an agent through design exploration and stress-testing before any code is written

    • Open source
    • 34 GitHub stars
    • Developer tools
  2. Makes the agent reply in terse, fragment-style text when asked to be brief

    • Open source
    • 34 GitHub stars
    • Developer tools
  3. Generates Codex hooks.json and AGENTS.md from an existing Claude Code hook setup

    • Open source
    • 34 GitHub stars
    • Developer tools
  4. Groups local changes into conventional commits and pushes the branch to origin

    • Open source
    • 34 GitHub stars
    • Developer tools
  5. Commits changes in categorized conventional commits, pushes, and opens a pull request

    • Open source
    • 34 GitHub stars
    • Developer tools
  6. Reviews code changes for unjustified surface area before commit, push or merge

    • Open source
    • 34 GitHub stars
    • Developer tools