Skip to content
Skills Library
Programming · Building & coding

monolith

/monolith

Design and refactor Monolithic and Modular Monolithic architectures. Use when: design monolith, build modular monolith, enforce boundaries.

Repository
gabbe ↗
Licence
CC-BY-4.0
Last repository change
24.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.

Licence

CC-BY-4.0, otwarta.

What it does and when to use it

Design and refactor Monolithic and Modular Monolithic architectures. Use when: design monolith, build modular monolith, enforce boundaries.

Original author description

Design and refactor Monolithic and Modular Monolithic architectures. Use when: design monolith, build modular monolith, enforce boundaries.

How it works

  1. Goal
  2. Steps
  3. Security & Guardrails
Original SKILL.md headings · 25 lines, 211 words
SKILL.md preview
---
name: monolith
description: "Design and refactor Monolithic and Modular Monolithic architectures. Use when: design monolith, build modular monolith, enforce boundaries."
license: CC-BY-SA-4.0
metadata:
  source: "agents/skills/architecture/monolith.skill.md"
  tags: "architecture"
  core: "false"
  context_cost: "medium"
---
# monolith

## Goal
Design strictly structured Modular Monoliths or enforce clean boundaries within an existing monolithic codebase.

## Steps
1. **Module Definition**: Identify the core modules and define their public interfaces.
2. **Dependency Rules**: Establish strict visibility and dependency rules between modules (e.g., using ArchUnit or Dependency Cruiser).
3. **Implementation**: Ensure database transactions and code execution do not bypass module boundaries.
4. **Verification**: Run architecture linters to catch dependency violations (e.g., Module A importing internal classes of Module B).

## Security & Guardrails

### 1. Skill Security
- **Governance Evasion**: Prevent the agent from disabling the CI architectural linters (e.g., `dependency-cruiser.json`) in order to resolve boundary violations.
- **God-Class Creation**: Prevent the agent from merging domains into single "God Objects" to avoid compilation errors.

### 2. System Integration Security
- **Shared Memory Poisoning**: If the monolith uses global state or a shared cache, strictly partition keys by module domain.
- **Privilege Escalation**: Ensure all modules enforce authorization explicitly; one module cannot assume another module has pre-authorized a request.

### 3. LLM & Agent Guardrails
- **Boundary Hallucination**: The LLM must not invent exceptions to the dependency rules.
- **Refactor Avalanche**: When fixing a boundary violation, the agent must not initiate a massive, undirected refactoring avalanche across the entire monolithic codebase.

Versions

RepositoryScoreLicence
This page · andreibesleaga/gabbe90CC-BY-4.0
G1Joshi/Agent-Skills100MIT

Database snapshot: 13.11.2026 · package version 6766a151a1b8 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 3 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100monolith-to-microservices-decomposition
    Use this skill when breaking down legacy monolithic applications incrementally into microservices using the Strangler Fig pattern.
  • 100sdlc-modular-monolith-architecture
    Use to design modular monolith boundaries, module layout, dependency rules, shared/platform seams, and extraction triggers.
  • 100modular-monolith-generator
    Structure a .NET app as a modular monolith — independent modules with enforced boundaries, public contracts, and in-process messaging between modules. Use this skill whenever the user wants a modular monolith, module boundaries, to split a monolith into modules,…
  • 100nestjs-modular-monolith
    Specialist in designing and implementing scalable modular monolith architectures using NestJS with DDD, Clean Architecture, and CQRS patterns. Use when building modular monolith backends, designing bounded contexts, creating domain modules, implementing event-driven module…
  • 100monoliths
    Monolithic architecture patterns including modular monolith design, monolith-first strategy, and migration paths to microservices via the Strangler Fig pattern. USE FOR: monolith-first strategy, modular monolith design, monolith decomposition, Strangler Fig migration, avoiding…
  • 100modular-monolith
    Expert Modular Monolith architecture assistance covering bounded module boundaries, internal public APIs, decoupled package structures, and single-deployment velocity. Use when scaling monolith development teams, preventing spaghetti code, or preparing for future microservice extraction.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.