Fastapi Clean Architecture Mode

Activate Clean Architecture rules for the current FastAPI session — enforces unidirectional layer dependencies, repository pattern with result enums, dependency inversion via fastapi-injector, and all naming conventions on every file written or edited until the session ends. Use when this capability is needed.

tomevault-io cc87185 2 files · 1.9 KB Updated

File contents

FastAPI Clean Architecture — Mode Skill

Activates Clean Architecture rules for the current FastAPI session. Everything Claude writes or edits from this point will follow the 4-layer structure, dependency direction, repository pattern, and naming discipline.

For scaffolding a new project use /fastapi-clean-architecture-template. To audit an existing project use /fastapi-clean-architecture-review.


On activation

  1. Read rules.md from this skill's directory — it contains the full rule set. Apply every rule to all files written or edited for the rest of this session.
  2. Confirm to the user: "FastAPI Clean Architecture mode is active. All architecture rules are now enforced for this session."

Source: joe-vi/Templates — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/joe-vi--templates--fastapi-clean-architecture-mode commit cc871857b3

Frequently asked questions

npx skillmds@latest add tomevault-io/fastapi-clean-architecture-mode