CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

postgres-migration

Safe EF Core Migrations workflow for FinanceHub PostgreSQL databases, covering migration creation, SQL script generation and validation, zero-downtime schema updates, lock timeout safety, and rollback procedures.

Quality

85%

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

SKILL.md
Quality
Evals
Security

Quality

Content

88%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 content is a strong, production-grade migration runbook: fully executable commands, explicit safety checklists, phased zero-downtime patterns, and tested rollback procedures with validation feedback loops. The only notable improvements are trimming minor re-explanations of PostgreSQL locking behavior and potentially moving the pattern catalog into a reference file.

DimensionReasoningScore

Conciseness

The body is efficient with copy-paste commands and phased patterns, but contains minor over-explanation of concepts Claude already knows, e.g. "Standard CREATE INDEX acquires a SHARE lock blocking concurrent writes (INSERT, UPDATE, DELETE)" and "(PostgreSQL 11+ metadata-only)". This matches anchor 4 (minor instances that could be trimmed); it is not 5 because a few sentences re-teach PostgreSQL behavior, and not 3 because the padding is limited.

4 / 5

Actionability

Fully executable throughout: complete `dotnet ef migrations add/script/bundle/database update` commands with concrete project paths, a concrete C# builder annotation with its expected generated SQL, rollback commands, and verification SQL against pg_index. Specific examples cover the common cases (index creation, non-nullable column adds, renames, rollbacks), matching anchor 5.

5 / 5

Workflow Clarity

A clear five-step sequence (create migration → generate/inspect SQL → apply zero-downtime patterns → deploy across environments → rollback) with explicit validation checkpoints: the SQL Safety Inspection Checklist, the Emergency Safety Checklist with pg_stat_activity guidance, PITR verification before production, and an invalid-index verification query. For database operations the rubric demands feedback loops, and they are present, matching anchor 5.

5 / 5

Progressive Disclosure

No bundle files exist and the ~150-line body is well organized into numbered sections with clear headers, so navigation within the single file is easy. This matches anchor 4 (good structure, content appropriately placed, minor gaps); it is not 5 because the under-50-line simple-skill exception does not apply and the zero-downtime patterns section is reference-depth material that could be split out.

4 / 5

Total

18

/

20

Passed

Description

75%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 specific, action-oriented, and highly distinctive within its niche, comprehensively covering the migration workflow's capabilities. Its main weakness is the absence of an explicit "Use when..." trigger clause, which caps completeness and leaves activation guidance only weakly implied.

Suggestions

Add an explicit trigger clause such as "Use when creating, reviewing, or applying EF Core migrations against FinanceHub PostgreSQL databases, or when planning rollback of a schema change."

Include natural synonyms users would say, e.g. "Postgres", "schema changes", or "dotnet ef migrations", to broaden trigger term coverage.

State the deployment context (staging/production zero-downtime deploys) in the trigger clause so it fires for release-planning conversations too.

DimensionReasoningScore

Specificity

The description lists five concrete actions — "migration creation, SQL script generation and validation, zero-downtime schema updates, lock timeout safety, and rollback procedures" — giving comprehensive coverage of the workflow, matching the anchor for multiple specific concrete actions. It is not 4 because coverage within the stated domain is comprehensive rather than having minor gaps.

5 / 5

Completeness

The "what" is clearly and concretely stated, but there is no "Use when..." clause or equivalent trigger guidance; the phrase "for FinanceHub PostgreSQL databases" only weakly implies when to use it. Per the rubric guideline, a missing explicit trigger clause caps completeness at 3.

3 / 5

Trigger Term Quality

Relevant keywords like "EF Core Migrations", "PostgreSQL", "schema updates", and "rollback" are present, but natural variations users would say ("Postgres", "schema change", "dotnet ef", "database migration") are missing. Good coverage with a few natural terms missing matches anchor 4; it lacks the synonym/extension breadth of anchor 5.

4 / 5

Distinctiveness Conflict Risk

The combination of "EF Core Migrations", "FinanceHub", and "PostgreSQL" establishes a clear niche with distinct triggers and minimal conflict risk with other skills. It is not 4 because the domain scoping is specific enough that overlap with closely related skills is negligible.

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

JoseMD12/finance-hub

Path

.agents/skills/postgres-migration/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.