Install any skill in seconds. Free to start, no credit card required.
Get Started Free →evgeniiperov/design-an-interface
Generate multiple radically different interface designs for a module using parallel sub-agents.
Passed 9 of 22 test cases with the skill, and 10 of 22 without it.
2 fixed7 passed either way10 still failing3 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
Design an interface for an in-app notification dispatch module in Swift. Show me a minimal method design, a highly flexible design, and a common-case optimized design.
| Checked | Without skill | With skill |
|---|---|---|
| Each design variant displays interface signature, caller usage, and internal hidden details. | Missed | Passed |
| The response compares the variants across simplicity and general-purpose capabilities using prose. | Passed | Passed |
The instructions your model reads when the skill loads.
Based on "Design It Twice" from "A Philosophy of Software Design": your first idea is unlikely to be the best. Generate multiple radically different designs, then compare.
Before designing, understand:
Ask: "What does this module need to do? Who will use it?"
Spawn 3+ sub-agents simultaneously using Task tool. Each must produce a radically different approach.
Prompt template for each sub-agent:
Design an interface for: [module description]
Requirements: [gathered requirements]
Constraints for this design: [assign a different constraint to each agent]
- Agent 1: "Minimize method count - aim for 1-3 methods max"
- Agent 2: "Maximize flexibility - support many use cases"
- Agent 3: "Optimize for the most common case"
- Agent 4: "Take inspiration from [specific paradigm/library]"
Output format:
1. Interface signature (types/methods)
2. Usage example (how caller uses it)
3. What this design hides internally
4. Trade-offs of this approach
test cases passed, vs 10 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.