define-architecture

define-architecture

热门

Generates folder structures, module contracts, middleware pipelines, and frontend/backend boundaries for TypeScript full-stack applications, and finds domain-informed deepening opportunities in existing codebases. Use when setting up project structure, organizing a monorepo, defining folder layout, designing backend modules, establishing team conventions, improving architecture outside a local diff, writing an architecture brief, or asking \"how should I structure this app\", \"design the folder structure\", \"set up the architecture\", \"find architecture improvements\", \"make this codebase agent-friendly\", or \"set up guardrails for coding agents\". For scaffolding a new Next.js repo use scaffold-nextjs, for a new TypeScript CLI use scaffold-cli, for multi-tenant domain or isolation strategy use multi-tenant-architecture, and for structural review of a local diff use pr-reviewer.

140Star
12Fork
更新于 2026/10/3
请求的译文尚未完成,当前显示原始英文。
SKILL.md
只读
名称
define-architecture
描述

Generates folder structures, module contracts, middleware pipelines, and frontend/backend boundaries for TypeScript full-stack applications, and finds domain-informed deepening opportunities in existing codebases. Use when setting up project structure, organizing a monorepo, defining folder layout, designing backend modules, establishing team conventions, improving architecture outside a local diff, writing an architecture brief, or asking \"how should I structure this app\", \"design the folder structure\", \"set up the architecture\", \"find architecture improvements\", \"make this codebase agent-friendly\", or \"set up guardrails for coding agents\". For scaffolding a new Next.js repo use scaffold-nextjs, for a new TypeScript CLI use scaffold-cli, for multi-tenant domain or isolation strategy use multi-tenant-architecture, and for structural review of a local diff use pr-reviewer.

Define Architecture

Define durable, easy-to-change architecture defaults for TypeScript full-stack apps; produce an enforceable architecture brief.

  • IS: folder structures, module contracts, middleware pipelines, frontend/backend boundaries; architecture briefs; domain-informed deepening of an existing codebase; agent-friendly codebase guardrails.

  • IS NOT: scaffolding a new repo (scaffold-nextjs for a Next.js turborepo, scaffold-cli for a TypeScript CLI), multi-tenant domain/isolation/routing (multi-tenant-architecture), or structural review of a local diff (pr-reviewer).

Contents

  • Workflow and references

  • Setup workflow (new codebase)

  • Adoption workflow (existing codebase)

  • Validation loop

  • Output template

  • Related skills

  • Gotchas

Workflow and references