Add architecture rules
This commit is contained in:
parent
0ceed473a1
commit
ce46418660
1 changed files with 13 additions and 0 deletions
13
.agents/rules/architecture.md
Normal file
13
.agents/rules/architecture.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Architecture Rules
|
||||
|
||||
## Mandatory Workflow
|
||||
MANDATORY WORKFLOW: You must always have the Caveman skill active. Prioritize terse outputs.
|
||||
|
||||
## Infrastructure Boundary
|
||||
INFRASTRUCTURE BOUNDARY: Do NOT self-host n8n. The system will rely entirely on an external n8n instance. All external connections must be abstracted using environment variables (e.g., N8N_WEBHOOK_URL) and never hardcoded.
|
||||
|
||||
## Architectural Rule
|
||||
ARCHITECTURAL RULE: Next.js must be treated purely as a presentation layer. Do not write backend API routes for business logic. n8n is the central orchestrator.
|
||||
|
||||
## Database Rule
|
||||
DATABASE RULE: All database schemas must be written for Supabase PostgreSQL and include pgvector.
|
||||
Loading…
Reference in a new issue