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.
The body delivers dense, concrete, mostly executable guidance across the full retention/archival lifecycle, with only minor integration gaps in the code. Its main weaknesses are the absence of validation checkpoints in the destructive batch cleanup/purge jobs (capping workflow clarity) and a monolithic single-file layout where the policy template and job implementations should be split into referenced files.
Suggestions
Add validation checkpoints to destructive batch operations: run cleanup and purge jobs in dry-run mode first, log matched row counts before each DELETE, and verify archive row counts match before deleting from the hot database.
Present an explicit ordered workflow (define policy → design schema → implement jobs → schedule → monitor → test restore) at the top of the skill instead of presenting the sections as standalone components, with the Output Checklist referenced as the completion gate.
Split the retention policy template, compliance matrices, and full job implementations into references/ files (e.g., references/policy-template.md, references/jobs.md) and keep SKILL.md as a concise overview with clearly signaled one-level-deep links.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The ~430-line body is almost entirely executable code and templates with no basic-concept explanations, so it mostly respects Claude's competence. Not 5: the inlined policy template restates regulatory facts Claude already knows ("Minimum 6 years retention" for HIPAA, "7 years" for SOX), the "Best Practices" list includes platitudes ("Automate everything: Manual cleanup is unreliable"), and decorative emoji console.log lines pad several scripts. Not 3: there is no noticeably verbose padded section. | 4 / 5 |
Actionability | Concrete, mostly copy-paste-ready code throughout: SQL DDL for hot/archive schemas, a batched Prisma archival job, a cleanup-job runner, a bash S3 migration with verify-then-delete, and a YAML cron schedule. Not 5 due to minor gaps: `sendAlert` is never defined, the `ArchivalJob`/`CleanupJob` interfaces are declared but unused, the dual-database Prisma setup (two PrismaClient instances over the same models) lacks the schema configuration needed to actually run, and the cron YAML references `npm run job:*` scripts that are never wired up. | 4 / 5 |
Workflow Clarity | Sections are logically ordered and the closing "Output Checklist" implies a sequence, and some destructive flows do have checkpoints (S3 "Verify upload" before delete, archival health monitoring with alerting). However, other destructive batch operations lack validation entirely — `runCleanupJobs` fires raw `DELETE FROM` statements with no dry-run or row-count verification and `purgeDeletedUsers` hard-deletes without any check — so per the destructive/batch cap the score cannot exceed 3 ("sequence present but checkpoints missing or implicit"). | 3 / 5 |
Progressive Disclosure | No bundle files exist (no references/, scripts/, or assets/ directories) and everything is inlined in a single ~430-line SKILL.md — the full retention policy template, compliance matrices, and complete job implementations are content that clearly belongs in separate reference files. It scores 3 rather than 2 because the 11 `##` sections are well-organized and consistently headed ("Retention Policy Document", "Archive Schema Design", "Archival Job Implementation", etc.), giving real structure despite the monolithic layout. | 3 / 5 |
Total | 14 / 20 Passed |