CtrlK
BlogDocsLog inGet started
Tessl Logo

database

Use BEFORE editing any file in `supabase/migrations/` or `supabase/schemas/`, OR when the user runs a `/database` subcommand (`compact local migration`, `rls scenarios`, `align`). Encodes the three contracts that protect the Grida database layer: applied migrations are immutable, RLS implementation mirrors tests (never the reverse), `schemas/*.sql` is the human-readable end-state. Companion to `supabase/AGENTS.md` (RLS, grants, security boundaries).

67

Quality

81%

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

SKILL.md
Quality
Evals
Security

Quality

Content

75%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.

A well-structured, operational skill body with concrete procedures, validation checkpoints, and good external referencing. The main gap is the absence of explicit error-recovery feedback loops around its destructive database operations.

Suggestions

Add an explicit feedback loop to the destructive procedures: after 'supabase db reset' / 'supabase test db', state 'if reset or tests fail, fix the consolidated SQL and re-run' to reach full workflow clarity.

Tighten the repeated anti-patterns lists across the three subcommands (e.g., consolidate shared schema-vs-migration direction guidance) to reduce token redundancy.

Consider extracting the detailed RLS inversion doctrine and persona matrix into a references file, keeping SKILL.md as the overview that points to it.

DimensionReasoningScore

Conciseness

Dense and operational, assuming Claude's knowledge of SQL/RLS/supabase with no padding on basics; minor repetition across the per-command anti-pattern lists could be trimmed.

4 / 5

Actionability

Numbered procedures with concrete commands ('supabase db reset', 'supabase test db'), real migration filenames, idempotent SQL forms, and a classification table give mostly executable guidance with minor gaps.

4 / 5

Workflow Clarity

Each subcommand has a clear sequenced procedure with validation checkpoints (verify-with-user, db reset, test db); the destructive-operation cap does not apply since validation is present, but explicit validate-fix-retry loops are not spelled out.

4 / 5

Progressive Disclosure

Well-organized sections with clearly signaled one-level references to supabase/AGENTS.md (with anchors) and opt-library rather than duplicating; no bundle files exist, and some inlined RLS doctrine could arguably be split out.

4 / 5

Total

16

/

20

Passed

Description

87%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, specific description that clearly states what the skill protects and when to use it, anchored to concrete paths and subcommands. Trigger coverage is good but could surface a few more natural synonyms.

Suggestions

Add natural synonyms users actually say ('merge migrations', 'consolidate migrations', 'clean up migrations') to the description, not just the named subcommands.

Consider stating the core action verbs (compact, write/review RLS scenarios, re-align schemas) alongside the subcommand names for sharper capability specificity.

DimensionReasoningScore

Specificity

Names the domain and concrete subcommands ('compact local migration', 'rls scenarios', 'align') plus the three protected contracts, listing several specific actions with only minor gaps in coverage.

4 / 5

Completeness

Explicitly answers both 'what' ('Encodes the three contracts that protect the Grida database layer') and 'when' with concrete trigger phrases and path/subcommand cues.

5 / 5

Trigger Term Quality

'Use BEFORE editing any file in supabase/migrations/ ... OR when the user runs a /database subcommand' gives good natural trigger coverage, though synonyms like 'merge/consolidate migrations' live only in the body.

4 / 5

Distinctiveness Conflict Risk

Grida-specific paths (supabase/migrations, supabase/schemas) and named subcommands carve a clear niche with minimal overlap with other skills.

5 / 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.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 3 suspicious

Warning

Total

15

/

16

Passed

Repository
gridaco/grida
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.