Review Srp

Review codebase for SRP (Single Responsibility) and boundaries Use when this capability is needed.

tomevault-io Updated

File contents

SRP / boundaries review — responsibilities & layering

Review the target codebase for SRP violations and unclear module boundaries.

Scope

Interpret $ARGUMENTS (diff/path/repo) and start from the most user-facing entrypoints.

What to look for

  • One function/module doing orchestration + business logic + IO + formatting
  • Utilities that perform process termination or global side effects
  • UI components mixing data fetching + transformation + rendering
  • Cross-package coupling where a lower layer knows too much about an upper layer

Output format

  1. Hotspots (modules/functions with too many reasons to change)
    • Evidence: file path + responsibility list
  2. Boundary fixes
    • Suggested split into modules (pure vs side-effect)
    • What becomes public API vs internal
  3. Smallest safe refactor (minimal files/lines)

$ARGUMENTS


Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/yida29--archrip--review-srp commit 324f64a722

Frequently asked questions

npx skillmds@latest add tomevault-io/review-srp