← ClaudeAtlas

design-deep-moduleslisted

Apply the Deep Modules lens to software boundary decisions so callers rely on small, stable contracts while cohesive modules hide meaningful knowledge. Use when a task materially affects what callers must know, which decisions a module owns, dependency direction, public contracts, boundary enforcement, or whether a boundary should be preserved, deepened, merged, split, or delayed. Apply alongside planning, implementation, review, refactoring, or migration guidance when boundary quality is relevant, and as the primary Skill for explicit boundary design or assessment. Avoid for deployment topology alone, general review or local changes with no boundary concern, pure simplification with no boundary concern, visual-only work, or documentation that does not define architecture or public contracts.
hudrazine/velkross · ★ 1 · Code & Development · score 62
Install: claude install-skill hudrazine/velkross
# Design Deep Modules ## Objective Improve a cohesive boundary so callers rely on a small, stable contract while the module owns meaningful functionality, policy, coordination, validation, dependency handling, and change-prone decisions. Apply the lens within the primary task rather than redefining it. Treat review as input to a boundary decision, not as a search for more abstractions. Recommend the smallest durable change supported by evidence. ## Depth Standard Optimize for depth, not size. Judge the interface by the total knowledge required to use it correctly, including: - operations, types, events, options, and configuration - preconditions, side effects, failure semantics, and consistency guarantees - ordering, lifecycle, ownership, cleanup, and compatibility expectations - internal concepts or call sequences callers must reconstruct Judge the implementation by the useful, cohesive knowledge it hides. Count domain rules, workflows, algorithms, state transitions, integration differences, validation, authorization, retries, transactions, caching, observability, and recovery behavior as depth when they belong to the same abstraction. Require both depth and cohesion. Do not treat a small interface as justification for a god module, or a large file as proof that a boundary should be split. Do not confuse a deep module with a deployment topology. Apply the lens within a process, package, library, plugin, or service boundary without using it alone to justify distribu