- Copy 11 .tmpl files from PROJECT-D (agents-md, cursorrules,
cursor-mdc, copilot, windsurf, junie, continue, gemini,
aider-conventions, aider-conf, replit) into _bridges/
- Add _bridges/README.md with template→output-path table
- Placeholders are {{PROJECT_NAME}} + {{PROJECT_DESCRIPTION}};
templates unchanged — content verified per RULE 0.4 upstream
27 lines
850 B
Cheetah
27 lines
850 B
Cheetah
# {{PROJECT_NAME}} — Replit Agent Instructions
|
|
|
|
> Read by Replit Agent (does NOT read `AGENTS.md`).
|
|
|
|
{{PROJECT_DESCRIPTION}}
|
|
|
|
## Before You Start
|
|
1. Read `DECISIONS.md` — architectural choices already made
|
|
2. Read `TODO.md` (if exists) — current priorities
|
|
3. Read `CLAUDE.md` (if exists) — project-specific rules
|
|
|
|
## Constructor Pattern
|
|
- 1 file = 1 class = 1 responsibility
|
|
- File <200 lines, function <30 lines
|
|
- Types/interfaces BEFORE implementation
|
|
- Tests WITH code, never "later"
|
|
|
|
## Core Rules
|
|
- No patching — fix root cause, not symptoms
|
|
- Don't rewrite working code without reason
|
|
- Single Source of Truth — types, routes, enums in ONE place
|
|
|
|
## Forbidden
|
|
- Mixins, abstract factories, DI containers
|
|
- Rewriting working code without reason
|
|
- Committing .env, credentials, API keys
|
|
- Adding abstractions for one-time operations
|