Skip to main content
Manusで任意のスキルを実行
ワンクリックで

layered-architecture

スター0
フォーク0
更新日2026年5月1日 21:59

Use when a controller, route handler, command, or HTTP/RPC entry point imports a repository, ORM client (Prisma, Sequelize, Mongoose, Knex), or DB driver directly; when `prisma.x.findMany`/`db.query` calls appear inside a Next.js route, Express controller, or NestJS controller; when deciding where business logic should live across controller, service, and repository; when a "service" is a one-line passthrough or a controller exceeds ~200 lines doing data access; when designing CQRS command/query handlers; when transaction boundaries are unclear or scattered across layers.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly