smithery/bchapuis

module-depth

Reviews modules for depth vs shallowness. Use when designing APIs, reviewing class interfaces, or evaluating abstraction value.

Installation

$ npx skills add smithery/bchapuis --skill module-depth

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/bchapuis.

npx skills add smithery/bchapuis

Browse all from smithery/bchapuis

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsRead, Grep, Glob

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,221 B
  • docs SUMMARY.md 147 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Module Depth Reviewer

Deep modules provide powerful functionality behind simple interfaces.

Deep vs Shallow

  • Deep (good): Few methods, minimal parameters → hides significant complexity
  • Shallow (bad): Many methods, many parameters → little actual functionality

Examples of deep: Unix file I/O (5 calls hide tremendous complexity), TCP sockets, garbage collectors.

Signs of Shallow Modules

  • Pass-through methods (same signature delegation)
  • Decorators adding no real value
  • Over-decomposition into tiny classes
  • Parameter explosion

Evaluation Criteria

Interface: Public method count, parameters per method, concepts callers must understand Implementation: What complexity is hidden? Real work or mostly delegation? Information Hiding: Implementation details visible? Can it change without affecting callers?

Output

Per module: interface complexity, functionality depth, assessment. Recommendations: combine shallow modules, simplify interfaces, hide more complexity.