evolving-the-data-model

evolving-the-data-model is a Databases & SQL skill for AI agents, published by TriliumNext in the Trilium repository on GitHub. Skillspace rates evolving-the-data-model C (71/100) and it passed the safety scan; a judge model has also reviewed it.

Use when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to BNote/BAttribute/BBranch", schema change). Migrations are NOT dated .sql files — they are integer-versioned entries in the DESCENDING MIGRATIONS array in packages/trilium-core/src/migrations/migrations.ts (dbVersion is auto-derived from MIGRATIONS[0]), and the schema lives at packages/trilium-core/src/assets/schema.sql. Covers the full file chain for a column-add, the hashedProperties cross-instance sync-hash hazard, CLS-wrapped JS migrations, and the spec harness.

Grade
C
Quality
71 / 100
Safety
Passed
GitHub stars
37,821

Placed #1 of 6 in the judged category final for Databases & SQL.

Our two independent classifiers differ on this skill's category, so treat the placement as provisional.

This rating describes the version of the repository we crawled; it may have changed since, so go by its current files.

Our review

Architecture
94 / 100
Maturity
Structured: ships references or scripts
Security scan
No issues found
License
Not declared. Check the repository before reusing it.

Judge review

Placed #1 of 6 in the judged category final for Databases & SQL.

  • Trigger9393
  • Instructions9797
  • Specificity9797
  • Safety8888
  • Disclosure8585
  • Maintenance8888
Outstanding precision, citing exact file:line locations for two real silent-failure hazards and routing each task type to the right template via a clear decision table.

Not checked yet

  • Category is a classifier prediction; no model has read this skill yet
  • No blind task eval yet
  • Scope (portable / vendor / repo-internal) not assessed; only the top of each category is read for scope
  • Sibling files (scripts, references) not fetched; security scan covers SKILL.md only

Skillspace indexes and rates this skill; it does not host or endorse it. Run third-party skills at your own risk.