Skip to content
Back to skills

Architecture

ASecurity

Routes software-architecture work to the right sub-skill: choosing topology or code organization (monolith vs microservices, layered/hexagonal/clean), service boundaries and inter-service communication, DDD modeling, component decomposition, C4 diagrams, coupling/cohesion analysis, and CI architecture rules.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 11, 2026
ai-agentsgorefactoringdatabasesecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add fabiandistler/agents --skill architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fabiandistler-architecture/badge)](https://www.skillsdirectory.com/skills/fabiandistler-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: architecture
category: architecture
activation: router
environments: coding
description: "Routes software-architecture work to the right sub-skill: choosing topology or code organization (monolith vs microservices, layered/hexagonal/clean), service boundaries and inter-service communication, DDD modeling, component decomposition, C4 diagrams, coupling/cohesion analysis, and CI architecture rules."
when_to_use: "Use even when the word architecture is absent: how should I structure or organize this project, how should this repo be split into modules, two services share a database, draw an overview of how the system fits together, make CI enforce layering rules, model this domain, is this class or file doing too much, did we split this into too many modules, which modules are too tangled or brittle, is it OK that this module imports that one. Not for single-file placement or routine refactors."
---

# Architecture & design

## How to use

1. Match the request to a row in the table below.
2. **Read that sub-skill's `SKILL.md` before acting.** Open
   `members/<name>/SKILL.md` relative to this router, even if your agent lists
   the member separately. Follow the member's workflow, references, and scripts.
3. When the table does not give exactly one row:
   - Two rows apply: take the default member from the tie-breaks below; read
     a second member only if the first points to it.
   - No row fits (including plain table or index design): answer from general
     knowledge and say the catalogue has no dedicated sub-skill.

<!-- BEGIN generated:members -->
| Sub-skill | When to use | Read before acting |
|---|---|---|
| architecture-pattern-advisor | Guides choosing a repository's architecture — topology (monolith, modular monolith, microservices, serverless) or code organization (layered, by-domain, hexagonal, clean/onion). | `members/architecture-pattern-advisor/SKILL.md` |
| c4-modeling | Drafts a C4 model of a software system with the user and renders it as Mermaid at Context, Container, Component, Landscape, Dynamic, and Deployment level (not Code). | `members/c4-modeling/SKILL.md` |
| coupling-cohesion | Assesses existing code for module cohesion and LCOM, codebase-wide coupling metrics and zones, or the balance of one dependency (Khononov). | `members/coupling-cohesion/SKILL.md` |
| ddd | Applies Domain-Driven Design: subdomain classification, context mapping, legacy integration (ACL), tactical pattern choice, and conventions for aggregates, value objects, events, and event sourcing. | `members/ddd/SKILL.md` |
| fitness-functions | Designs and implements architecture fitness functions — automated CI checks that fail the build when a characteristic such as modularity, layering, coupling, security, or resilience erodes. | `members/fitness-functions/SKILL.md` |
| logical-component-design | Decomposes a NEW system or feature into named logical components; not for measuring an existing decomposition. | `members/logical-component-design/SKILL.md` |
| microservices-design | Guides microservice interaction design and review — boundaries, coupling, communication style, contract versioning, sagas, and resiliency patterns from Newman's *Building Microservices*. | `members/microservices-design/SKILL.md` |
<!-- END generated:members -->

The table above is generated from `skills.json` by
`scripts/build_routers.py`; edit the manifest, not this region.

## Tie-breaks

When more than one row matches, route to exactly one default member:

- Split into services or organize code → `architecture-pattern-advisor`
- Where domain boundaries lie → `ddd`
- Components of a new system or feature → `logical-component-design`
- How services talk to each other → `microservices-design`
- Measure existing code for coupling or cohesion, or judge one dependency
  between modules of one codebase → `coupling-cohesion`
- Enforce a rule in CI so the design cannot erode → `fitness-functions`
- Two deployed services share a database → `microservices-design`
- Where to start refactoring an unfamiliar codebase → the top-level `refactoring` skill, outside this router

Files in this skill

  • SKILL.md4.3 KB
  • evals.json972 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.