cgw-database
Use when writing a migration, adding or changing a TypeORM entity (*.entity.db.ts), or writing a database query in safe-client-gateway. Covers the raw-SQL migration convention, the rule that every foreign-key and WHERE-target column gets a CREATE INDEX in the same migration, no SELECT *, entity placement under datasources/entities/ with implements DomainX plus a RowSchema, TypeORM query-cache IDs needing paired invalidation on every write, and the integration-spec footgun where adding a repository constructor param breaks hand-constructed repos that the build typecheck does not cover. Triggers on "migration", "new table", "add a column", "drop a column", "index", "TypeORM", "entity.db", "SQL query", "database", "backfill". A column that is also served over the API is a four-representations change - load cgw-api-dtos alongside this one, because the domain schema, DTO classes and test builder change in the same PR as the migration.
Datos de origen
- Repositorio
- safe-global/safe-client-gateway
- Última actividad en el origen
- 7 de agosto de 2026 a las 12:46
- Idioma detectado de SKILL.md
- inglés
- Estrellas
- 50
- Forks
- 102
Opciones de instalación
De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.
Revisa los archivos de origen
Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.