Skill Wiki v0.1.0
principle @backend-architecture/principle-codebase-one-per-app

Codebase One Per App

One app, one repo. If you have two apps in one repo, split them. If you have one app in two repos, merge them.

Skill
@backend-architecture
Domain
backend-architecture
Version
1.0.0
Quality
4.0
Edges
2 out · 4 in
Tokens
111/172/172
$ prime install @backend-architecture/principle-codebase-one-per-app

Projection

Always in _index.xml · the agent never has to ask for this.

CodebaseOnePerApp [principle] v1.0.0

A 12-factor app is tracked in a single codebase under version control. One codebase maps to many deploys (production, staging, every developer's laptop). Multiple apps sharing code is a violation — extract the shared code into a library that each app depends on.

One app, one repo. If you have two apps in one repo, split them. If you have one app in two repos, merge them.

Source

prime-system/examples/backend-architecture/primes/compiled/@backend-architecture/principle-codebase-one-per-app/atom.yaml

Compiled at 2026-05-10