Content
71%Weight 40%Scale 1-5Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
The content is highly actionable and well-sequenced, with executable SQL and scripts covering the major migration patterns plus testing and rollback guidance. Its main weaknesses are the fully monolithic structure with no progressive disclosure to reference files, a duplicated example, and one script snippet that is not self-contained.
Suggestions
Split the four migration-type SQL examples, backfill scripts, and test suite into reference files (e.g., references/migration-types.md, references/backfills.md) and keep SKILL.md as an overview with clearly signaled one-level-deep links, also moving the preview script into an actual scripts/ file.
Make the large-table backfill snippet self-contained by including the PrismaClient import and instantiation, matching the small-table example.
Remove the duplicated split-name schema example from the "Migration Planning Workflow" section since it reappears in full under "Migration Types → 3", and add an explicit error-recovery loop (e.g., "if migration tests fail, fix the migration SQL and re-run before applying").
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is almost entirely concrete SQL, commands, and scripts with no explanations of concepts Claude already knows, but the "Migration Planning Workflow" section duplicates the split-name example that reappears in full under "Migration Types", which fits anchor 4's "minor instances that could be trimmed" rather than anchor 5's every-token-earns-its-place. | 4 / 5 |
Actionability | Complete migration SQL, `npx prisma migrate dev --create-only` commands, a runnable backfill script, a bash preview script, and test code cover the common cases, but the `backfillBatched()` snippet references an undefined `prisma` client (no import or instantiation), so it is not copy-paste ready as anchor 5 requires. | 4 / 5 |
Workflow Clarity | The 6-step sequence (update schema → create-only → review SQL → data migration → test → apply) with phased rollout plans, a testing section, and pre-migration checklist provides most checkpoints, but explicit error-recovery feedback loops (e.g., "if the test fails, fix the migration and re-test") are absent, keeping it below anchor 5. Validation steps are present, so the destructive/batch cap of 3 does not apply. | 4 / 5 |
Progressive Disclosure | The skill is a single ~375-line file with no bundle files, and content that clearly belongs in separate references (four migration-type SQL catalogs, two backfill scripts, a test suite, a bash script even labeled `scripts/preview-migration.sh`) is inlined; section headers are well organized, which fits anchor 3's "content that should be separate is inline" better than anchor 2's "minimal structure". | 3 / 5 |
Total | 15 / 20 Passed |