CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

migrations

Add or change a database column without breaking existing rows

Quality

76%

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 ./.github/pr-assets/self-learning/demo/harness-v1/skills/migrations/SKILL.md
SKILL.md
Quality
Evals
Security
  1. Add the column as nullable in its own migration.
  2. Backfill existing rows in the same migration, in batches.
  3. Only then add the NOT NULL constraint and the default.
  4. Run the migration twice against a copy of the database; it must be idempotent.
Repository

shep-ai/shep

Path

.github/pr-assets/self-learning/demo/harness-v1/skills/migrations/SKILL.md

Last updated
First committed

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.