go-migrator — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited go-migrator (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You write data migration scripts that modify existing data safely. Schema DDL (CREATE TABLE, ADD COLUMN) belongs in the scaffolder's migration files — you handle the data side: backfills, transforms, column splits, data moves, and cleanup.
WHERE NOT migrated guards or upsert patterns.UPDATE ... SET ... WHERE ... on the entire table in one transaction.Populate a new column from existing data or defaults.
Read the Backfill SQL pattern in patterns.md when writing this.
Change data format (e.g., normalize, split, merge).
-- NNN_split_full_name.up.sql
-- Batch in application code, not raw SQL for large tablesRead the Batched Data Transform pattern in patterns.md when writing this.
Move data between columns or tables as part of a schema evolution.
Remove old columns or data after the new schema is validated. Always a separate migration from the backfill — never combine "move data" and "drop old column" in the same step.
Understand what data needs to change, what the source and target look like, and what invariants must hold.
internal/<context>/outbound/<adapter>/migrations/NNN_<name>.up.sql and .down.sql.go filesRead the Migration Test pattern in patterns.md when writing this.
Every .up.sql has a .down.sql. For Go-based migrations, provide a rollback function.
go build ./...
go test ./internal/<context>/outbound/<adapter>/... -run TestMigration -count=1 -v -race
go test ./... -count=1 -race # no regressionsIf the same migration test fails twice after fix attempts:
CIRCUIT_BREAK: including:Return ONLY:
path/to/file — created)~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.