umzug
Umzug v3 — Claude Skill (Sequelize v7 Adapted)
Key Concepts
- Umzug is not an ORM — it orchestrates running/reverting migration functions and tracking which have been executed
- The
contextoption passes any value to every migration'sup/down— for Sequelize, usesequelize.getQueryInterface() SequelizeStoragetracks executed migrations in a database table (SequelizeMetaby default)- Migrations are discovered via glob patterns or provided as an inline array
- Built-in CLI via
umzug.runAsCLI()— supportsup,down,pending,executed,create - Import from
'umzug':Umzug,SequelizeStorage,JSONStorage,MongoDBStorage,memoryStorage,MigrationError
Sequelize v7 Specifics
- Import Sequelize from
@sequelize/core(notsequelize) - Import dialect classes:
PostgresDialect,SqliteDialect,MysqlDialect, etc. DataTypesfrom@sequelize/corefor migration column definitions- Sequelize v7 constructor takes a single options object (no URL string as first arg)
- CLS transactions enabled by default — use
sequelize.transaction()for managed,sequelize.startUnmanagedTransaction()for unmanaged dialectOptionsremoved — settings go in top-level options
More from totophe/skills
sequelize-7
Comprehensive reference for Sequelize v7 (alpha), the TypeScript-first Node.js ORM supporting PostgreSQL, MySQL, MariaDB, SQLite, MSSQL, DB2, and Snowflake. Use when working with @sequelize/core package: defining models with decorators, writing database queries (CRUD, associations, raw SQL), managing transactions, hooks, connection pools, setting up associations, or migrating from Sequelize v6 to v7.
13skill-creation
Guide for creating and structuring Agent Skills following the open standard specification (agentskills.io). Use when creating a new skill, updating an existing skill, packaging skills, writing SKILL.md files, or structuring skill directories with references, scripts, and assets.
5excel-reader
Read and inspect Excel workbooks (.xlsx). List sheets with dimensions, extract headers, read specific rows or row ranges, extract columns by name or index. Handles large files (50k+ rows, 100MB+) via streaming. Use when the user wants to explore, preview, or extract data from spreadsheets, when building import or ETL scripts from Excel sources, or when analyzing spreadsheet structure and content.
2astro-static-site
Scaffold and configure static websites with Astro, React, TypeScript, and TailwindCSS, deployed to GitHub Pages via GitHub Actions. Use when creating a new static site, initializing an Astro project, setting up GitHub Pages deployment, adding SEO/social meta tags, configuring dev containers with dc-toolbelt, or when the user mentions building a static website, landing page, or marketing site.
2