Content
65%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.
Highly actionable content with complete, executable code for every check category, but it reads as a reference dump rather than a guided skill: no explicit run-order workflow, no validation loop for the batch ALTER TABLE migrations it generates, and large scripts inlined in SKILL.md instead of shipped as bundle files. The 437-line body also carries redundancy (rules restated in code, timestamp advice repeated) that inflates token cost.
Suggestions
Move the audit and fix scripts out of SKILL.md into actual scripts/audit-schema.ts and scripts/fix-schema.ts files, keeping only usage instructions and one or two key checks inline in SKILL.md.
Add an explicit numbered workflow with a validation checkpoint, e.g.: 1. Run audit script 2. Review violations report 3. Generate fix migrations 4. Review migrations before applying 5. Re-run audit to verify violations are resolved.
Remove redundancy: state the naming rules once (the NAMING_RULES table or the script regexes, not both) and consolidate the created_at/updated_at timestamp guidance into a single place.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is code-heavy with little concept padding, but includes noticeable redundancy that could be tightened: naming rules are defined in NAMING_RULES and re-implemented as inline regexes in the audit script, timestamp advice appears in three places, and the ~210-line audit script is inlined wholesale. This matches anchor 3 ('mostly efficient but... could be tightened') rather than anchor 4, where only minor trimming would be needed. | 3 / 5 |
Actionability | The content provides fully executable, copy-paste-ready code: a complete Prisma-based audit script with five concrete checks, runnable SQL examples with ❌/✅ pairs, a reference Prisma schema, and an auto-fix migration generator — covering the common cases the skill targets. Only trivial gaps exist (e.g., the Violation type is not imported into fix-schema.ts), which does not drop it below the top anchor. | 5 / 5 |
Workflow Clarity | An implicit sequence exists (audit → report → fixes → checklist) and the audit script's exit code acts as a signal, but there is no explicit ordered workflow, and the generated ALTER TABLE batch migrations have no validation/verification or re-audit feedback loop. Per the rubric, missing validation in database batch operations caps workflow clarity at 3. | 3 / 5 |
Progressive Disclosure | Section structure is good (Consistency Rules, Audit Script, Standards, Auto-fix, Best Practices, Checklist), but ~210 lines of TypeScript inlined under '## Audit Script' — labeled '// scripts/audit-schema.ts' and '// scripts/fix-schema.ts', indicating they belong in separate bundle files — are exactly the 'content that should be separate is inline' pattern of anchor 3. It is above anchor 2 because structure is present and navigation is easy, but no one-level-deep file references exist to reach anchor 4. | 3 / 5 |
Total | 14 / 20 Passed |