CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

data-retention-archiving-planner

The guide covers retention periods and compliance requirements, then provides SQL schemas and code examples for archiving, cleanup, soft deletion, cold storage migration, monitoring, and restoration. It also includes scheduling configuration, a checklist, and best-practice recommendations for operating these data lifecycle processes.

Quality

80%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/data-retention-archiving-planner/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

65%Weight 40%Scale 1-5

Reviews 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.

DimensionReasoningScore

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

Description

88%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it states five concrete capabilities in third person and closes with an explicit 'Use for' clause containing natural quoted trigger phrases. The only weaknesses are moderately broad triggers ("GDPR compliance", "storage optimization") that create minor overlap risk, and missing common synonyms such as "data lifecycle" or "right to be forgotten".

DimensionReasoningScore

Specificity

"Plans and implements data retention policies with archival strategies, compliance requirements, automated cleanup jobs, and cold storage migration" lists five distinct concrete capabilities in third-person voice, matching the comprehensive multi-action anchor (cf. "Extract text and tables from PDF files, fill forms, merge documents"). Not 4: coverage spans the full domain (policy, archival, compliance, cleanup, cold storage) with no notable gaps.

5 / 5

Completeness

Explicitly answers both questions: the "what" ("Plans and implements data retention policies with archival strategies...") and the "when" ("Use for 'data retention', 'data archival', 'GDPR compliance', or 'storage optimization'") with concrete trigger phrases, exactly matching the anchor-5 example structure. Neither component is missing or implicit.

5 / 5

Trigger Term Quality

The quoted triggers "data retention", "data archival", "GDPR compliance", and "storage optimization" are all natural user phrases with good core coverage. Not 5: common synonyms and variations are missing (e.g., "data lifecycle", "record retention", "right to be forgotten", "purge old data", "delete old records"); not 3 because the primary phrases users would actually say are all present.

4 / 5

Distinctiveness Conflict Risk

The retention/archival niche is clear and core triggers ("data retention", "data archival") are distinct, but "GDPR compliance" is broad enough to fire on general privacy-compliance requests and "storage optimization" could match unrelated performance/cost-tuning skills — minor overlap risk with closely related skills. Not 3: the primary triggers are specific to this niche rather than merely "somewhat specific".

4 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

referenced_paths_exist

Referenced path issues: 1 possibly missing (scripts/migrate-to-s3.sh)

Warning

Total

15

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/data-retention-archiving-planner/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.