# AI Development Rules Read `ARCHITECTURE.md`, `progress.md`, and `memory.md` before changing a project. 1. Use Modular Monolith boundaries at the business-capability level. 2. Organize behavior inside modules as vertical slices. 3. Never import another module's internal files; use its public API. 4. Keep SvelteKit routes thin and business logic in modules. 5. Keep server-only logic in `.server.ts` files. 6. Ask before adding database, authentication, payments, queues, caching, or UI libraries. 7. Prefer the smallest solution and avoid speculative abstractions. 8. Run project checks and update `progress.md` after each task. 9. Record only durable decisions and handoff context in `memory.md`. 10. Never store secrets or personal data in project memory files.