# Design an interface

> Design an interface is an open-source agent skill for developer tools. Generates several radically different interface designs for a module and compares them. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/redpanda-data/ui-harness/tree/main/design-an-interface
- **Repository:** https://github.com/redpanda-data/ui-harness
- **GitHub stars:** 34
- **License:** MIT
- **Skill name:** design-an-interface
- **Collection:** https://github.com/redpanda-data/ui-harness
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/redpanda-data/ui-harness/tree/HEAD/design-an-interface)
- [License: MIT](https://github.com/redpanda-data/ui-harness/tree/HEAD/design-an-interface)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Interface design](https://ai-powered.com/skills/interface-design): Interface design is an open-source agent skill for design and media.
- [Oracle codebase design](https://ai-powered.com/skills/oracle-codebase-design): Oracle codebase design is an open-source agent skill for developer tools.
- [Principle exhaust the design space](https://ai-powered.com/skills/principle-exhaust-the-design-space): Principle exhaust the design space is an open-source agent skill for developer tools.
- [API and interface design](https://ai-powered.com/skills/api-and-interface-design-ajyadav013): API and interface design is an open-source agent skill for design and media.
- [Architect](https://ai-powered.com/skills/architect-michael-denyer): Architect is an open-source agent skill for developer tools.
- [Brainstorming](https://ai-powered.com/skills/brainstorming-redpanda-data): Brainstorming is an open-source agent skill for developer tools.
- [Codebase design](https://ai-powered.com/skills/codebase-design): Codebase design is an open-source agent skill for design and media.
- [Codebase design](https://ai-powered.com/skills/codebase-design-evist0): Codebase design is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/design-an-interface
