CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

sql-optimization-patterns

Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.

Quality

63%

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/sql-optimization-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

25%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 is a boilerplate skeleton: tautological 'Do not use' bullets, generic process instructions with zero SQL-specific or executable content, and a single reference to a playbook file that is missing from the bundle. Section organization is clean, but as shipped the skill delivers no actionable value and its navigation is broken.

Suggestions

Replace the abstract Instructions with concrete, executable guidance — e.g., how to read EXPLAIN output, index-creation statements for common cases, and a concrete N+1 detection/fix pattern.

Add real validation checkpoints for database changes (e.g., compare EXPLAIN plans and measured latency before/after each change) instead of the placeholder 'Apply relevant best practices and validate outcomes'.

Fix the broken reference: either ship `resources/implementation-playbook.md` in the bundle or inline the core patterns into SKILL.md — the current sole reference points to a file that does not exist.

DimensionReasoningScore

Conciseness

The body is short and avoids re-teaching concepts Claude already knows, but contains unnecessary padding: the marketing-fluff intro "Transform slow database queries into lightning-fast operations" and the tautological 'Do not use' bullets ("The task is unrelated to sql optimization patterns", "You need a different domain or tool outside this scope") add no information. This fits 'mostly efficient but includes some unnecessary explanation' rather than the lean every-token-earns-its-place anchor.

3 / 5

Actionability

The Instructions are entirely abstract boilerplate — "Clarify goals, constraints, and required inputs", "Apply relevant best practices and validate outcomes", "Provide actionable steps and verification" — with no concrete code, commands, SQL patterns, EXPLAIN examples, or index guidance; these sentences describe rather than instruct and could apply to any task. Not 2 because even the anchor-2 example names a specific tool and operations, whereas this body offers no task-specific specifics at all — its only concrete item is a navigation pointer to a resource file.

1 / 5

Workflow Clarity

The three instruction bullets form only a rough generic pseudo-sequence (clarify → apply → verify) with steps so poorly defined they are placeholders, and validation is named ("validate outcomes", "verification") but never operationalized as any executable checkpoint — effectively absent. The scoring note flags database operations as requiring real feedback loops, which caps this skill at 3; it falls to 2 because the steps themselves are generic and undefined, matching 'rough sequence present but many gaps; steps poorly defined'.

2 / 5

Progressive Disclosure

Although the body is sectioned and its single reference is one level deep and clearly signaled ("If detailed examples are required, open `resources/implementation-playbook.md`", repeated under Resources), the bundle contains no resources/ directory at all — the referenced file does not exist, so the disclosure chain dead-ends at the first hop. Since the body itself carries no substantive content, the skill's structure is non-functional as shipped, which lands at the minimal-structure anchor rather than the moderate-structure one.

2 / 5

Total

8

/

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.

The description is strong: it clearly states what the skill does and gives an explicit 'Use when' clause with natural, concrete trigger phrases well targeted to the database-performance niche. Its only weaknesses are a couple of missing natural trigger synonyms and slightly broad triggers ("optimizing application performance") that create minor overlap risk with general performance skills.

DimensionReasoningScore

Specificity

Names several concrete capabilities — "SQL query optimization, indexing strategies, and EXPLAIN analysis" and "eliminate slow queries" — matching the anchor for several specific actions with minor gaps. Not 5 because "query optimization" is partially abstract and coverage of concrete actions (e.g., N+1 resolution, query rewriting) is incomplete; not 3 because more than 1-2 concrete actions are explicitly listed.

4 / 5

Completeness

Explicitly answers both parts: the "what" is "Master SQL query optimization, indexing strategies, and EXPLAIN analysis to... eliminate slow queries", and the "when" is an explicit trigger clause — "Use when debugging slow queries, designing database schemas, or optimizing application performance" — with concrete trigger phrases. Not 4 because the when-clause already lists three specific, concrete triggers rather than a generic one.

5 / 5

Trigger Term Quality

Includes natural phrases users would say: "debugging slow queries", "designing database schemas", "optimizing application performance", plus "EXPLAIN" and "indexing". A few natural terms are missing ("query is slow", "query plan", "database tuning", "N+1"), so it fits the good-coverage-with-gaps anchor rather than the comprehensive synonym coverage of a 5.

4 / 5

Distinctiveness Conflict Risk

The SQL-performance niche with triggers like "slow queries" and "EXPLAIN analysis" is mostly distinct with minimal conflict risk. Not 5 because "optimizing application performance" and "designing database schemas" are broad enough to overlap with general performance and schema-design skills; not 3 because the core triggers are clearly SQL-specific.

4 / 5

Total

17

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

rmyndharis/antigravity-skills

Path

skills/sql-optimization-patterns/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.