prisma-migrate-squash

Pass

Audited by Gen Agent Trust Hub on Mar 24, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes file system operations using find, rm, mkdir, and touch to manage migration directories. These commands are specifically scoped to the ./prisma/migrations folder and are necessary for removing old migration history as part of the squashing process.
  • [COMMAND_EXECUTION]: Utilizes npx prisma migrate diff and npx prisma migrate resolve to generate new migration files and mark them as applied. This is the standard, vendor-recommended approach for managing Prisma migrations.
  • [COMMAND_EXECUTION]: Suggests executing a SQL DELETE operation on the _prisma_migrations table for development environments. This is a standard procedure to reset migration tracking when migration files have been manually modified or removed.
  • [EXTERNAL_DOWNLOADS]: The skill uses npx to run the prisma CLI tool, which may involve downloading the package from the official npm registry. Prisma is a well-known and trusted developer tool.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 24, 2026, 06:06 AM