design-an-interface

Generates multiple radically different module interface designs using parallel sub-agents.

Updated Aug 3, 2026
One-click install
npx skills add https://github.com/shaahy/quicknav-desktop --skill design-an-interface-shaahy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: design-an-interface
Source: https://github.com/shaahy/quicknav-desktop/tree/main/A%20%E6%95%99%E7%A8%8B%E9%9B%86%E5%90%88/Matt%20Pocock%20Skills%20%E6%8A%80%E8%83%BD%E9%80%9F%E6%9F%A5/source-snapshot/skills/deprecated/design-an-interface
Command: npx skills add https://github.com/shaahy/quicknav-desktop --skill design-an-interface-shaahy

SYSTEM DOCUMENTATION & REQUIREMENTS

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 module shapes before committing. ## Core Features & Use Cases - Parallel Design Generation: Spawns 3+ sub-agents simultaneously, each constrained to produce a fundamentally different interface approach (minimal methods, maximum flexibility, common-case optimization). - Structured Comparison: Evaluates designs on interface simplicity, generality, implementation efficiency, module depth, and ease of correct use. - Synthesis Guidance: Helps combine the strongest elements from multiple designs into a final interface. - Use Case: When designing a new API or module, use this Skill to generate and compare several candidate signatures with usage examples before writing any implementation code. ## Quick Start Ask the AI to design an interface for your module using the design-an-interface skill, describing what the module does and who will call it.

Frequently Asked Questions about design-an-interface

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a better module interface before coding?▼

Generate several radically different interface candidates in parallel, each under a distinct constraint such as minimal method count or maximum flexibility. Then compare them on simplicity, depth, and ease of correct use before committing to one.

What is the Design It Twice principle in software design?▼

Design It Twice, from A Philosophy of Software Design, states that your first design idea is unlikely to be the best. It recommends producing multiple fundamentally different designs and comparing their trade-offs before choosing.

How do parallel sub-agents help with API design?▼

Each sub-agent receives a different design constraint, such as minimizing method count or optimizing the most common case. This forces genuinely divergent proposals rather than minor variations of one idea, making the comparison meaningful.

What makes a module interface deep versus shallow?▼

A deep module has a small interface hiding significant internal complexity, which is desirable. A shallow module has a large interface over thin implementation, which adds learning cost without hiding much complexity.

When should I not use parallel interface exploration?▼

Skip it for trivial modules with obvious shapes or when an established codebase pattern already dictates the interface. The technique targets genuinely uncertain design decisions, not implementation work.