design-an-interface

Generate multiple module interface designs with signatures and usage examples.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/mpsuesser/workspace --skill design-an-interface-mpsuesser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-an-interface
Source: https://github.com/mpsuesser/workspace/tree/main/dotconfig/pi/agent/skills/.deprecated/design-an-interface
Command: npx skills add https://github.com/mpsuesser/workspace --skill design-an-interface-mpsuesser

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you design a clean module interface by generating several radically different API shapes, so you can choose the one that balances simplicity, flexibility, and implementation fit.

Core Features & Use Cases

  • Parallel interface generation: Produces 3+ radically different interface designs for the same module goal using parallel sub-agents.
  • Consistent comparison: Presents each option with signature, usage example, hidden complexity, and trade-offs, then compares them using clear criteria.
  • “Design it twice” workflow: Works especially well when you want to explore interface options, compare module shapes, or explicitly avoid settling on the first idea.

Quick Start

Ask the skill to design an interface for your module description and constraints, then compare the generated API options to synthesize the most suitable design.

Frequently Asked Questions about design-an-interface

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design multiple API interfaces and compare trade-offs?

You can design multiple API interfaces by generating three or more radically different module shapes using parallel sub-agents. This process overcomes first-draft bias by comparing simplicity, flexibility, implementation efficiency, and correct-use ergonomics to select the optimal interface.

How do I avoid first-draft bias when designing software architecture?

To avoid first-draft bias in software architecture, use a design-it-twice workflow. This approach forces parallel generation of distinct interface constraints and structured outputs, enabling a prose-based comparison of trade-offs before settling on a module shape.

How do I compare module shapes based on flexibility and implementation efficiency?

You compare module shapes by evaluating each option against structured criteria. The comparison emphasizes simplicity, flexibility, implementation efficiency, depth, and correct-use ergonomics to determine the most suitable API design for your constraints.

How do I generate distinct API design options for the same module?

You generate distinct API design options by using parallel sub-agents to produce radically different interface shapes for the same module goal. Each option includes a signature, usage example, hidden complexity, and trade-offs for consistent evaluation.

When should I explore interface options instead of settling on the first idea?

You should explore interface options when designing a clean module interface that must balance simplicity, flexibility, and implementation fit. Exploring multiple alternatives prevents premature commitment and improves overall API shape decisions.

What criteria are used to evaluate different API shapes?

API shapes are evaluated using criteria that emphasize simplicity, flexibility, implementation efficiency, depth, and correct-use ergonomics. This structured comparison highlights hidden complexities and trade-offs to synthesize the most suitable module design.