config.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "version": 1,
  3. "project": "box-nestjs-monorepo",
  4. "description": "Box System: NestJS monorepo with mgnt/app/stats APIs, MySQL, MongoDB, Redis, and heavy ads traffic.",
  5. "read_context": [
  6. "docs/ARCHITECTURE.md",
  7. "docs/SYSTEM_OVERVIEW.md",
  8. "docs/API_FLOW_DIAGRAMS.md",
  9. "docs/HIGH_LEVEL_MERMAID_DIAGRAMS.md",
  10. "docs/DEVELOPMENT_CHECKLIST.md",
  11. "docs/DEPLOYMENT_GUIDE.md",
  12. "docs/CODEX_ONBOARDING.md"
  13. ],
  14. "preferences": {
  15. "languages": [
  16. "typescript"
  17. ],
  18. "frameworks": [
  19. "nestjs"
  20. ],
  21. "style": {
  22. "testsPreferred": true,
  23. "avoidBreakingChanges": true
  24. }
  25. },
  26. "rules": [
  27. "Always generate TypeScript for backend code unless explicitly told otherwise.",
  28. "Follow the architecture and flows described in docs/ARCHITECTURE.md and docs/API_FLOW_DIAGRAMS.md.",
  29. "Prefer NestJS patterns: modules, controllers, services, guards, interceptors.",
  30. "Respect existing DTOs, Prisma schemas, and naming conventions.",
  31. "When refactoring, preserve backward compatibility whenever reasonably possible.",
  32. "Before generating code, summarize the intended change and potential impact."
  33. ]
  34. }