Skip to content
youdede

Design Deep Module Interface

DevelopmentSkillv1.3.0

Design or improve a module interface by measuring caller knowledge, variation, failure semantics, locality, and test leverage. Use when a module is shallow, cross-file changes scatter, or the correct test seam is unclear.

Runs on

Scope
$npx @youdede/toolkit add design-deep-module-interface --target claude-code

What it does

Design a small stable interface that concentrates behavior, change, and testing behind one seam.

When it fires

  • design
  • planning
  • review

How it behaves

It does not measure depth by implementation size or reward code volume.

It does not create speculative abstraction for a single implementation with no observed variation.

It does not hide security, data, latency, or failure obligations merely to make an interface look small.

Version
1.3.0
Licence
RiskThis skill designs a small stable interface that concentrates behavior, change, and testing behind one seam; it does not measure depth by implementation size or reward code volume.
Medium
ModeHow it works: fixed rules, model instructions, or both.
Prompt only
Behaviour
Advises, never blocks
On failure
Stops and reports
LatencyThe skill designs a small stable interface that concentrates behavior, change, and testing behind one seam, using sequential evidence and verification steps.
Bounded
Data retentionWhether data remains after use and who manages its storage.
Managed by the runtime

Often used with

All in Development