Template base para proyectos SaaS multi-tenant. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React/Vite) - apps/database (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
3.0 KiB
3.0 KiB
HERENCIA SIMCO - Template SaaS
Proyecto: template-saas Tipo: STANDALONE Version SIMCO: 3.4
Directivas Heredadas del Workspace
Este proyecto hereda las siguientes directivas SIMCO del workspace-v1:
Directivas de Estructura (SIMCO-ESTRUCTURA)
| Directiva | Ubicacion | Aplicacion |
|---|---|---|
| SIMCO-ESTRUCTURA-REPOS | orchestration/directivas/simco/ |
Estructura de carpetas |
| SIMCO-NIVELES | orchestration/directivas/simco/ |
Nivel STANDALONE |
| SIMCO-MODULOS-COMPARTIDOS | orchestration/directivas/simco/ |
Uso de shared/ |
Directivas de Tarea (SIMCO-TAREA)
| Directiva | Aplicacion |
|---|---|
| SIMCO-TAREA | Ejecucion de tareas por agentes |
| SIMCO-BUSCAR | Busqueda en codebase |
| SIMCO-CREAR | Creacion de nuevos archivos |
| SIMCO-CONTRIBUIR-CATALOGO | Contribuciones a shared/catalog |
Directivas de Contexto
| Directiva | Aplicacion |
|---|---|
| SIMCO-CONTEXT-RESOLUTION | Resolucion de contexto de proyecto |
| DIRECTIVA-CARGA-CONTEXTO | Carga de contexto en sesiones |
Configuracion Especifica
Variables del Proyecto
PROJECT_ID: template-saas
PROJECT_TYPE: standalone
PROJECT_CATEGORY: saas
SIMCO_LEVEL: 0 (template/referencia)
Aplicacion de SIMCO-NIVELES
Como proyecto STANDALONE de tipo TEMPLATE:
- Auto-contenido - No depende de otros proyectos
- Referencia - Sirve como base para nuevos proyectos SaaS
- Catalogo - Contribuye patrones a
shared/catalog/
Integracion con shared/
Uso de shared/catalog
catalogo_consumido:
- auth (patrones de autenticacion)
- multi-tenancy (RLS patterns)
- billing (Stripe integration)
- notifications (templates)
catalogo_contribuido:
- template-saas (todo el proyecto como template)
Uso de shared/knowledge-base
knowledge_base:
- patterns/PATRON-RLS-POLICIES.md
- patterns/PATRON-MULTI-TENANT.md
- architecture/PATRON-SAAS.md
Agentes Aplicables
Agentes Primarios
| Agente | Responsabilidad |
|---|---|
| Database-Agent | DDL, RLS, migraciones |
| Backend-Agent | Modulos NestJS/Express |
| Frontend-Agent | Portales React |
| DevOps-Agent | Docker, CI/CD |
Agentes Secundarios
| Agente | Responsabilidad |
|---|---|
| Security-Auditor | Revision de seguridad |
| Testing-Agent | Tests unitarios e integracion |
| Requirements-Analyst | Documentacion de specs |
Propagacion
Origen
Este template recibe patrones de:
projects/gamilit- Arquitectura multi-tenantprojects/erp-core- Patrones de modulos
Destino
Este template propaga a:
- Nuevos proyectos SaaS creados en el workspace
shared/catalog/template-saas/- Referencia en catalogo
Referencias
- SIMCO Index:
workspace-v1/orchestration/directivas/simco/_INDEX.md - Aliases:
workspace-v1/orchestration/referencias/ALIASES.yml - Contexto:
CONTEXTO-PROYECTO.md
Actualizado: 2026-01-07