Design an interface
Small, harness-neutral engineering skills for coding agents
npx -y skills add kevinb361/agent-skills --skill design-an-interfaceAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- 13 days oldThe repository was created 13 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Explore at least three materially different designs for a module, library, command, or service interface, compare their tradeoffs, and recommend one. Use when interface shape or module boundaries are the hard part.
SKILL.md
1.0 KB, as published. Nobody here has run it
Design an interface
Do not stop at the first plausible shape.
- Identify consumers, invariants, failure modes, lifecycle, and likely change axes.
- Produce at least three materially different designs. Differences must involve ownership, state, abstraction boundary, or misuse resistance—not renamed methods.
- Show a small usage example for each.
- Compare complexity, coupling, testability, observability, compatibility, misuse resistance, and migration cost.
- Recommend a default and explain why it fits the actual constraints.
- Record unresolved decisions that block implementation.
Favor deep modules: simple consumer-facing contracts that hide justified complexity. Avoid speculative generality and configuration knobs without a demonstrated consumer.