Skip to content
Back to skills

Architecture

ASecurity

Where new code belongs in this codebase, for the architecture style the project actually uses: hexagonal, DDD, layered, MVC or feature-sliced. Load in GREEN before placing a new endpoint, rule, query or component, and at ship when reviewing placement.

  • 13 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
developmentrustgokotlinfrontendbackend

Security analysis

A100/100

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

Scanned November 6, 2026

npx -y skills add MiladNalbandi/keel-v2 --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/miladnalbandi-architecture/badge)](https://www.skillsdirectory.com/skills/miladnalbandi-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
description: "Where new code belongs in this codebase, for the architecture style the project actually uses: hexagonal, DDD, layered, MVC or feature-sliced. Load in GREEN before placing a new endpoint, rule, query or component, and at ship when reviewing placement."
user-invocable: false
---

# Where the code goes

This answers one question: **the test drives some new code — which package does it belong in?**

It never answers "what abstraction should I add". The minimum-code rule stands: no field, endpoint, abstraction or branch the test does not drive. Placement and restraint are separate concerns, and this skill only covers placement.

## Load one reference, for this project's style

The style is in `docs/knowledge/architecture.md` (or named in your prompt). Then read exactly one file:

| `architecture.style` | Read |
|---|---|
| `hexagonal` | `references/hexagonal-kotlin.md` |
| `ddd` | `references/ddd-kotlin.md` |
| `layered` | `references/layered-kotlin.md` |
| `mvc` | `references/mvc-kotlin.md` |
| `feature-sliced` | `references/feature-sliced-web.md` |
| `unknown` | Nothing. Copy the nearest neighbour file and say so. |

A monorepo usually has two styles, one for the backend and one for the frontend. Read the one for the module you are editing.

When `hybrid_with` is set, the codebase mixes two styles. Follow the **prevailing** one for the directory you are in — read the neighbours — and do not migrate anything on the way past.

## Boundaries are reviewed, not trusted

`references/boundaries.md` covers the `boundaries:` block: which imports a style refuses. The architecture review lens reads it and reports every new crossing.

## Two rules that override any style

1. **Copy the neighbours.** The style reference describes the intent; the directory you are editing describes the practice. Where they differ, match the practice and mention the difference once.
2. **Never restructure while implementing an AC.** Moving a file is a change with its own acceptance criterion. If placement is genuinely wrong, say so at the gate.

Files in this skill

  • SKILL.md2 KB
  • references/boundaries.md2.3 KB
  • references/ddd-kotlin.md3.2 KB
  • references/feature-sliced-web.md3.3 KB
  • references/hexagonal-kotlin.md3.1 KB
  • references/layered-kotlin.md2.7 KB
  • references/layered-web.md2.5 KB
  • references/mvc-kotlin.md4.2 KB

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 development →

Comments

Loading comments…

Newsletter

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