Sdlc modular monolith architecture

From BlueSkyXN/Codex-is-all-you-need · View interactive version

Sdlc modular monolith architecture is an AI agent skill from the GitHub repository BlueSkyXN/Codex-is-all-you-need. Use to design modular monolith boundaries, module layout, dependency rules, shared/platform seams, and extraction triggers.

How to use this skill

Skill file

Modular Monolith Architecture

Use this skill to design or refine a modular monolith.

Use when

Inputs

Modularity and Coupling Heuristics.

Workflow

  1. Confirm why modular monolith is appropriate.
  2. Map domains to modules using business capability, data invariants, reasons to

change, and corroborating co-change evidence as cohesion signals.

  1. Classify material code, data, control, temporal, semantic, deployment,

runtime, and organizational coupling.

  1. Distinguish intentional coupling that protects a required constraint from

accidental coupling caused by leakage, implicit order, or unclear ownership.

  1. Define each module's internal layers.
  2. Define shared/platform boundaries.
  3. Define allowed and forbidden dependencies.
  4. Define public module interfaces.
  5. Define data ownership and migration boundaries.
  6. Define future extraction criteria for microservices.

Suggested structure

src/
  modules/
    <domain>/
      api/
      application/
      domain/
      infrastructure/
  shared/
  platform/

Validation

Check:

plan are explicit.

than hidden behind an interface or service boundary.

Output

Return:

  1. Modular monolith rationale
  2. Proposed directory structure
  3. Module responsibility map
  4. Dependency rules
  5. Data ownership rules
  6. Shared/platform rules
  7. Coupling assessment: coupling type, evidence, risk, and recommended seam
  8. Migration notes
  9. Future extraction triggers

Boundaries

Handoff

Use directory-spec via sdlc-spec-slice-writer, then sdlc-dev-handoff-planning for executable tasks.

Dev fallback: Dev can use SDLC / ADD / DDD / SDD materials when they exist, but dev can also continue without them when the task is clear, bounded, and testable from user request, issue, bug report, failing test, local diff, or repository evidence. Missing artifacts are risk/context, not automatic refusal.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.