- Add CLAUDE.md with project-specific instructions - Add .trae/rules/ and AGENT-CAPABILITIES.md - Add .windsurf/rules/ and AGENT-CAPABILITIES.md - Add .gemini/antigravity/README.md - Stack: NestJS 11.1.8, React 19.0.0, PostgreSQL 15+ - Type: PROVIDER (propagates to erp-core) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.8 KiB
1.8 KiB
Project Rules - Template SaaS (Windsurf IDE)
Proyecto: template-saas Tipo: PROVIDER Sistema: SIMCO v4.0.0
IMPORTANTE: Windsurf es NO-RAZONADOR
Windsurf con Cascade NO razona autónomamente. Sigue instrucciones LITERALMENTE.
Si hay ambigüedad:
- DETENER
- Reportar en orchestration/trazas/BLOCKED-TASKS.yml
- Esperar resolución
Reglas Heredadas
Hereda TODAS las reglas de:
workspace-v2/CLAUDE.mdworkspace-v2/.windsurf/rules.md
Stack del Proyecto
backend: NestJS 11.1.8
frontend: React 19.0.0 + Vite
database: PostgreSQL 15+ + TypeORM
cache: Redis (ioredis)
Credenciales BD
DB_HOST=localhost
DB_PORT=5432
DB_NAME=template_saas_dev
DB_USER=template_saas_user
DB_PASS=saas_dev_2026
Paths Absolutos
Backend: C:\Empresas\ISEM\workspace-v2\projects\template-saas\backend\src\
Frontend: C:\Empresas\ISEM\workspace-v2\projects\template-saas\frontend\src\
DDL: C:\Empresas\ISEM\workspace-v2\projects\template-saas\database\ddl\
Reglas de Edición
- Max 50 líneas por cambio
- NO usar placeholders (// ... resto del código)
- Código LITERAL siempre
- Verificar archivo existe antes de editar
Validaciones Post-Cambio
cd C:\Empresas\ISEM\workspace-v2\projects\template-saas\backend
npm run build
npm run lint
cd C:\Empresas\ISEM\workspace-v2\projects\template-saas\frontend
npm run build
npm run lint
Módulos Backend (19)
auth, tenants, users, billing, plans, ai, notifications,
email, whatsapp, audit, feature-flags, webhooks, storage,
analytics, reports, health, onboarding, rbac, superadmin
Bloqueos
Si encuentras:
- Ambigüedad en instrucciones → BLOQUEAR
- Archivo no existe → BLOQUEAR
- Conflicto con otro módulo → BLOQUEAR
Reportar en: orchestration/trazas/BLOCKED-TASKS.yml