design-an-interface
Installation
SKILL.md
Deprecated: prefer replacement named in description. Keep only for backward compatibility.
Design an Interface
Repo/code changes: run /deslop before commit, push, PR, or merge.
"Design It Twice" (A Philosophy of Software Design): first idea rare best. Generate radical different designs, compare.
Workflow
1. Gather Requirements
- Problem? Callers? Key ops? Constraints? Hide vs expose?
- Ask: "What does this module need to do? Who will use it?"
2. Generate Designs (Parallel Sub-Agents)
Spawn 3+ agents parallel. Each radical different approach, different constraint:
- Agent 1: min method count (1-3 max)
- Agent 2: max flexibility
- Agent 3: optimize common case
- Agent 4: inspiration from [specific paradigm]