CtrlK
BlogDocsLog inGet started
Tessl Logo

postgresql

Design a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features

49

Quality

53%

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 ./skills/postgresql/SKILL.md

The canonical home for this skill is postgresql in rmyndharis/antigravity-skills

SKILL.md
Quality
Evals
Security

Quality

Content

53%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This is a comprehensive PostgreSQL schema design reference with strong domain-specific knowledge and good concrete examples. Its main weaknesses are its monolithic structure (everything in one large file with no progressive disclosure) and the lack of explicit validation checkpoints in the workflow for what are potentially destructive DDL operations. The content is mostly efficient but could be tightened in places, particularly the exhaustive data types catalog.

Suggestions

Split the monolithic content into separate reference files (e.g., DATA_TYPES.md, INDEXING.md, JSONB.md, PARTITIONING.md) and keep SKILL.md as a concise overview with links to each topic.

Add explicit validation checkpoints to the workflow: e.g., 'Run EXPLAIN ANALYZE on key queries after adding indexes', 'Test migrations in a transaction with ROLLBACK before committing', 'Verify constraint behavior with sample data before applying to production'.

Trim the data types section by removing types Claude already knows well (e.g., basic BOOLEAN, INTEGER descriptions) and focusing only on PostgreSQL-specific gotchas and recommendations.

Add a complete worked example showing the full workflow from requirements gathering through schema creation, index validation with EXPLAIN output, and safe migration application.

DimensionReasoningScore

Conciseness

The skill is comprehensive and mostly avoids explaining basic concepts Claude already knows, but it's quite long (~300+ lines) with some sections that could be tightened. The data types section is exhaustive to the point of being a reference manual, and some entries (like TOAST storage details, geometric types) add marginal value. The 'Do not use' list partially duplicates earlier guidance. However, most content is genuinely PostgreSQL-specific knowledge that adds value.

3 / 5

Actionability

The skill provides concrete, executable SQL examples for common patterns (users, orders, JSONB), specific index creation syntax, and precise data type recommendations. The examples section is copy-paste ready. Minor gaps: some sections like RLS and partitioning give only fragments rather than complete working examples, and the workflow instructions (step 1-5) are high-level rather than executable.

4 / 5

Workflow Clarity

The top-level instructions provide a 5-step sequence but lack explicit validation checkpoints. The 'Safe Schema Evolution' section mentions transactional DDL for testing but doesn't integrate validation into the main workflow. For a skill involving potentially destructive DDL operations, the absence of explicit validate-before-apply steps and rollback procedures in the workflow caps this at 3 per the rubric's feedback loop requirement for destructive operations.

3 / 5

Progressive Disclosure

This is a monolithic document with no references to supporting files despite being very long and covering many distinct topics (data types, indexing, partitioning, JSONB, RLS, extensions). Topics like JSONB guidance, partitioning details, and the extensive data types reference would benefit from being split into separate files. There are no bundle files to support progressive disclosure, and the content is all inlined in one large document.

2 / 5

Total

12

/

20

Passed

Description

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

The description identifies a clear domain (PostgreSQL schema design) and lists relevant topic areas, but it reads more like a course syllabus than an actionable skill description. It lacks a 'Use when...' clause, which is critical for skill selection, and the listed capabilities are categories rather than concrete actions. Adding explicit trigger guidance and more specific actions would significantly improve its effectiveness.

Suggestions

Add a 'Use when...' clause with trigger phrases like 'Use when the user asks to design a database schema, create PostgreSQL tables, choose data types, or optimize table structure'.

Replace category listings with concrete actions, e.g., 'Generates CREATE TABLE statements, recommends appropriate data types, suggests indexes, defines constraints and foreign keys'.

Include common synonyms and variations such as 'Postgres', 'database design', 'table design', 'DDL', and 'SQL schema' to improve trigger term coverage.

DimensionReasoningScore

Specificity

Names the domain (PostgreSQL schema design) and lists several areas of concern (data types, indexing, constraints, performance patterns, advanced features), but these are categories rather than concrete actions. It says 'Design' and 'Covers' but doesn't specify actionable operations like 'generates CREATE TABLE statements' or 'recommends index strategies'.

3 / 5

Completeness

Has a clear 'what' (design PostgreSQL schemas covering best practices, data types, indexing, etc.) but completely lacks a 'when' clause. There is no 'Use when...' guidance or explicit trigger phrases to help Claude know when to select this skill.

3 / 5

Trigger Term Quality

Includes relevant keywords like 'PostgreSQL', 'schema', 'indexing', 'constraints', 'data types', and 'performance', which users might naturally mention. However, it misses common synonyms and variations like 'Postgres', 'database design', 'table design', 'migrations', 'DDL', or 'SQL schema'.

3 / 5

Distinctiveness Conflict Risk

The 'PostgreSQL-specific' qualifier narrows the scope well and distinguishes it from general database skills or other RDBMS-specific skills. However, it could still overlap with general SQL or database design skills, and the broad mention of 'advanced features' and 'performance patterns' could conflict with PostgreSQL performance tuning or query optimization skills.

4 / 5

Total

13

/

20

Passed

Validation

90%

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

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
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.