What problem does it solve?
First interface design ideas are rarely the best, yet teams often commit to them without exploring alternatives. This Skill applies the "Design It Twice" principle from "A Philosophy of Software Design" to force exploration of radically different API shapes before committing to one.
Core Features & Use Cases
- Parallel Design Generation: Spawns 3+ sub-agents simultaneously, each constrained to produce a radically different interface (minimal methods, maximum flexibility, common-case optimization, paradigm-inspired).
- Structured Comparison: Evaluates designs on interface simplicity, generality, implementation efficiency, module depth, and ease of correct use versus misuse.
- Synthesis Guidance: Helps combine the strongest elements from multiple designs into a final interface.
- Use Case: When designing a new caching module, use this Skill to generate four contrasting interfaces, compare their trade-offs in prose, and select or synthesize the best shape before writing any implementation.
Quick Start
Ask the agent to design the interface for your module twice using the api-shape-explorer approach, describing what the module does and who will call it.