architecture-paradigm-modular-monolith

architecture-paradigm-modular-monolith is a skill for Claude Code from athola/claude-night-market. It costs 31 tokens per session (901 once invoked), scanned A, original, MIT.

An architecture pattern that keeps an application as one deployable program while dividing its code into modules with clear internal boundaries.

In plain words
What is it for?
Use it to organize a growing application, define module interfaces, hide internal implementation details, and prepare for possible future service separation.
Why use it?
It reduces tangled dependencies in large codebases and can give teams ownership boundaries without the operational cost of many separate services.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the archetypes plugin — 15 skills shipped together

Good fit Use it to organize a growing application, define module interfaces, hide internal implementation details, and prepare for possible future service separation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/athola/claude-night-market/architecture-paradigm-modular-monolith
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add athola/claude-night-market --skill architecture-paradigm-modular-monolith
Clone the repo
git clone --depth 1 https://github.com/athola/claude-night-market

Made for: Claude Code.

Or install archetypes, the plugin that ships this one along with the rest of its 15 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for architecture-paradigm-modular-monolith

README.md
[![agentmods](https://agentmods.dev/badge/skills/athola/claude-night-market/architecture-paradigm-modular-monolith/github.svg)](https://agentmods.dev/skills/athola/claude-night-market/architecture-paradigm-modular-monolith)
Your own site
<a href="https://agentmods.dev/skills/athola/claude-night-market/architecture-paradigm-modular-monolith"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/architecture-paradigm-modular-monolith/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for architecture-paradigm-modular-monolith

Your own site · 80×15
<a href="https://agentmods.dev/skills/athola/claude-night-market/architecture-paradigm-modular-monolith"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/architecture-paradigm-modular-monolith.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 901 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00901
Opus 5 $0.00015 $0.00451
Sonnet 5 $0.00006 $0.00180
Haiku 4.5 $0.00003 $0.00090

Measured 9d ago against content hash b31325bb1710, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

architecture-paradigm-modular-monolith scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/archetypes/skills/architecture-paradigm-modular-monolith/SKILL.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

The Modular Monolith Paradigm

When To Use

  • Organizing large codebases into well-bounded modules
  • Teams wanting microservice boundaries without distributed complexity

When NOT To Use

  • Already distributed as microservices
  • Tiny applications where module boundaries add unnecessary complexity

When to Employ This Paradigm

  • When you desire team autonomy similar to that of microservices, but without the operational overhead of a distributed system.
  • When release velocity is slowed by tangled dependencies between internal modules.
  • When a monolithic architecture is simpler to operate today, but there is a clear need to evolve toward a service-based model in the future.

Adoption Steps

  1. Identify Modules: Define module boundaries that align with distinct business capabilities or Bounded Contexts from Domain-Driven Design.
  2. Encapsulate Internals: Use language-level visibility modifiers (e.g., public/private), separate packages, or namespaces to hide the implementation details of each module.
  3. Expose Public Contracts: Each module should expose its functionality through well-defined facades, APIs, or events. Forbid direct database table access or direct implementation calls between modules.
  4. Enforce Architectural Fitness: Implement automated tests that fail the build if forbidden dependencies or package references are introduced between modules.
  5. Plan for Evolution: Continuously track metrics such as change coupling and deployment scope to make informed decisions about if and when to split a module into a separate service.

Key Deliverables

  • An Architecture Decision Record (ADR) that maps module boundaries and defines the rules for any shared code.
  • Formal contract documentation (e.g., OpenAPI specs, event schemas) for every interaction point between modules.
  • Automated dependency checks and dedicated CI/CD jobs for each module to enforce boundaries.

Risks & Mitigations

  • Regression to a "Big Ball of Mud":
    • Mitigation: Without strict enforcement, module boundaries will inevitably erode. Treat any boundary violation as a build-breaking error and maintain a disciplined approach to code reviews.
  • Shared Database Hotspots:
    • Mitigation: High contention on a shared database can become a bottleneck. Introduce clear schema ownership, use view-based access to restrict data visibility, or implement data replication strategies to reduce coupling.

Read the full file on GitHub · 93 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 93 lines · 31 tokens per session scan A b31325bb1710

Subscribe to this mod's changes

architecture-paradigm-modular-monolith is a skill published in the GitHub repository athola/claude-night-market (337 stars, last pushed 2d ago), licensed MIT. It adds 31 tokens to every session and 901 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

distributed-feasibility-checker

Evaluate whether a system should adopt distributed architecture by systematically checking against the 8 Fallacies of Distributed Computing and assessing team/operational readiness. Use this skill whenever the user is considering microservices, debating monolith vs distributed, hearing "let's use microservices,"…

bookforge-ai/bookforge-skills · 86 tokens

architecture-decision-record

ADR templates in the Nygard format with context, decision, consequences, and alternatives. Use when writing ADRs, recording an architectural decision, or evaluating options.

yonatangross/orchestkit · 38 tokens

backend-clean-architecture

Use this skill when the user asks 'where does this code go', 'what layer', 'clean architecture', 'hexagonal', 'ports and adapters', 'domain layer', 'application layer', 'infrastructure layer', 'should this be in service or repository', or when designing or reviewing backend code organization. This skill enforces…

j4flmao/agent-skills · 118 tokens

mandu-security

Security best practices for Mandu applications. Use when implementing authentication, authorization, input validation, or protecting against common vulnerabilities. Triggers on guard, auth, CSRF, XSS, or security tasks.

konamgil/mandu · 46 tokens

mandu-slot

Mandu Slot API for writing business logic. Use when creating API handlers, implementing authentication guards, adding lifecycle hooks, or working with request/response context. Triggers on tasks involving Mandu.filling(), ctx.ok(), ctx.error(), .guard(), .get(), .post(), or slot files.

konamgil/mandu · 65 tokens

migration-evolution

Use when thinking through, reviewing, changing, or verifying data and contract evolution: schema migrations, expand-and-contract, resumable backfills, API or event compatibility, synchronization, CDC, reindexing, traffic cutover, or legacy integration. For outbox and inbox delivery use async-messaging; for transaction…

d4rkNinja/arcforge · 81 tokens