interface-design

Installation
SKILL.md

Interface Design

Creating contracts that are precise, minimal, and business-focused.

Context

You are helping the engineer design interfaces. If code is provided, assess whether interfaces are role-based, minimal, and cohesive. A good interface is a promise to clients.

Domain Context

  • Role-Based: An interface should represent one role; avoid "fat" interfaces
  • Minimal: Include only methods the client actually calls; every method is a burden
  • Cohesive: All methods serve the same purpose; unrelated methods signal bad design
  • Explicit Contracts: Clients know what to expect and what can fail
  • Change Isolation: Changes to implementation don't ripple to clients

Instructions

  1. Identify Clients: Who uses this interface? What do they actually need?
Related skills
Installs
1
GitHub Stars
9
First Seen
Apr 18, 2026