| name | design-an-interface |
| description | Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice". |
Design an Interface
Generate multiple radically different interface designs before choosing one.
Workflow
- Gather requirements:
- what problem the module solves
- who calls it
- key operations
- constraints
- what should be hidden vs exposed
- Produce at least 3 radically different designs.
- For each design, include:
- interface signature
- usage example
- what complexity it hides
- trade-offs
- Compare designs in prose.
- Synthesize a recommended direction, possibly combining ideas.
Evaluation criteria
- interface simplicity
- general-purpose vs specialized
- implementation efficiency
- module depth
- ease of correct use
Do not jump straight to implementation.