CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

data-integrity-auditor

The guide demonstrates checks for orphaned records, broken references, constraint violations, and missing fields, with Prisma and SQL examples. It also provides audit and repair scripts, constraint migrations, automated tests, monitoring metrics, and recommendations for recurring integrity checks.

Quality

75%

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-integrity-auditor/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

57%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 genuinely executable and thorough data-integrity tooling, but it is padded by the same queries repeated across four sections, and its destructive fix workflow lacks any validation or dry-run safety net. The bulk scripts should live in actual bundle files rather than inlined, as their own comments already suggest.

Suggestions

Consolidate the duplicated queries: the four 'Integrity Check Types' sections repeat almost every query that the Comprehensive Audit Script already contains — present each check once and let the audit script reference it.

Add explicit validation checkpoints to the fix workflow: a dry-run mode (report what would be deleted/updated), a backup/snapshot step, and row-count verification before and after destructive DELETE/UPDATE statements.

Move the full audit, fix, and test implementations into actual scripts/ and tests/ bundle files (as the code comments already name them) and keep SKILL.md as a concise overview with one-level-deep references.

DimensionReasoningScore

Conciseness

The content is all executable code with no conceptual over-explanation, but is noticeably redundant: the orphaned-orders query appears in five separate sections, negative-price checks in four, and duplicate-email checks in three, so the ~505-line body could be tightened to roughly a third of its size. This sits between the efficient-with-tightening anchor and the noticeably-verbose anchor.

3 / 5

Actionability

Provides concrete, executable SQL queries, TypeScript functions, migrations, and tests that are mostly copy-paste ready, matching the mostly-executable anchor. Minor gaps: the `prisma` client and imports are assumed without setup context, and the output checklist promises "Fix scripts (with dry-run)" while the actual fix code implements no dry-run mode.

4 / 5

Workflow Clarity

Section ordering implies a rough sequence (checks → audit → fix → prevent → test → monitor), but the automated fixes perform destructive DELETE/UPDATE operations with no validation, backup, or dry-run checkpoint before execution. Per the rubric, missing validation in destructive/batch database workflows caps this at 3 even though the audit script's non-zero exit on critical issues is a partial checkpoint.

3 / 5

Progressive Disclosure

Sections are clearly headed and easy to navigate, but ~300 lines of full script implementations are inlined in SKILL.md when they clearly belong in separate bundle files — the code comments even label them "scripts/audit-data-integrity.ts", "scripts/fix-integrity-issues.ts", and "tests/data-integrity.test.ts", yet no such files exist in the bundle. This matches the well-structured-but-bulk-inline anchor.

3 / 5

Total

13

/

20

Passed

Description

83%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 that clearly states both capabilities and explicit usage triggers in third-person voice. The trigger list is natural and specific to the domain, with only minor gaps in capability coverage and slightly broad "data quality" as an overlap risk.

DimensionReasoningScore

Specificity

Lists four concrete actions ("Detects data integrity issues including orphaned records, broken foreign key relationships, constraint violations, and provides automated fix migrations") matching the several-specific-actions anchor, but coverage has minor gaps — the skill's prevention migrations, testing, and monitoring capabilities are not mentioned.

4 / 5

Completeness

Explicitly answers both what ("Detects data integrity issues including orphaned records, broken foreign key relationships, constraint violations, and provides automated fix migrations") and when ("Use for 'data integrity', 'orphaned records', 'broken relationships', or 'data quality'") with concrete trigger phrases, matching the top anchor.

5 / 5

Trigger Term Quality

Good natural keyword coverage with "data integrity", "orphaned records", "broken relationships", and "data quality", matching the good-coverage anchor; a few natural synonyms users might say ("referential integrity", "orphaned rows", "FK violations") are missing.

4 / 5

Distinctiveness Conflict Risk

Data integrity auditing is a distinct niche with specific triggers ("orphaned records", "broken relationships") that few skills would claim, but the "data quality" trigger is broad enough to overlap with general data-cleaning/analysis skills, matching the mostly-distinct anchor.

4 / 5

Total

17

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (506 lines); consider splitting into references/ and linking

Warning

referenced_paths_exist

Referenced path issues: 3 possibly missing (scripts/audit-data-integrity.ts, scripts/check-foreign-keys.ts, scripts/fix-integrity-issues.ts)

Warning

Total

14

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/data-integrity-auditor/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.