CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

schema-consistency-checker

This guide sets conventions for naming, types, nullability, constraints, indexes, and timestamps, with SQL and Prisma examples. It includes a Prisma-based audit script that reports violations and a helper for generating selected migration fixes, followed by recommendations for adopting the standards.

Quality

80%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/schema-consistency-checker/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.

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.

DimensionReasoningScore

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

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: third-person, specific, and comprehensive about what the skill does, with an explicit 'Use for' trigger clause. The only weakness is trigger coverage that omits a few natural synonyms and includes one fairly generic term ('consistency checks').

DimensionReasoningScore

Specificity

"Audits database schemas for naming conventions, type consistency, nullability patterns, and missing constraints. Provides violations report with recommended fixes" lists multiple specific concrete actions covering the domain comprehensively (four audit categories plus report generation), matching the top anchor. It exceeds anchor 4 because coverage of the niche is comprehensive rather than leaving minor gaps, and is nowhere near the vague/generic anchors of 1-3.

5 / 5

Completeness

Explicitly answers both what ("Audits database schemas for... Provides violations report with recommended fixes") and when ("Use for 'schema validation', 'database linting'...") with concrete trigger phrases, exactly matching anchor 5. It is above anchor 4 because the 'when' is explicit with quoted trigger phrases rather than merely present.

5 / 5

Trigger Term Quality

"Use for 'schema validation', 'database linting', 'schema standards', or 'consistency checks'" provides good natural-phrase coverage a user would plausibly say. It falls short of anchor 5 because common variations like "schema audit", "schema review", or "database standards" are missing.

4 / 5

Distinctiveness Conflict Risk

The niche is clear (database schema auditing) with mostly distinct triggers like "schema validation" and "database linting". It does not reach anchor 5 because the trigger "consistency checks" is generic on its own and could overlap with code-style or general consistency skills — a minor overlap risk matching anchor 4.

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: 2 possibly missing (scripts/audit-schema.ts, scripts/fix-schema.ts)

Warning

Total

15

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/schema-consistency-checker/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.