.cursor/skills/create-database-migration/SKILL.md
Create a database migration to add a table, add columns to an existing table, add a setting, or otherwise change the schema of Ghost's MySQL database.
npx skillsauth add nilecui/SkillsBase Create database migrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ghost/core: cd ghost/coreslimer migration <name-of-database-migration>. IMPORTANT: do not create the migration file manually; always use slimer to create the initial empty migration file.ghost/core/core/server/data/migrations/versions if needed, and create the empty migration file with the appropriate name.ghost/core/core/server/data/migrations/utils/*.ghost/core/core/server/data/schema/schema.js, and make sure it aligns with the latest changes from the migration.yarn knex-migrator migrate --v {version directory} --forceghost/core/core/server/data/exporter/table-lists.js as appropriate.yarn test:single test/unit/server/data/schema/integrity.test.jscd ghost/core && yarn test:unitSee examples.md for example migrations.
See rules.md for rules that should always be followed when creating database migrations.
documentation
Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks
testing
Design a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features
content-media
Production-ready PDF processing with forms, tables, OCR, validation, and batch operations. Use when working with complex PDF workflows in production environments, processing large volumes of PDFs, or requiring robust error handling and validation.
tools
Generate and edit high-quality AI images using Google's Gemini 3 Pro Image model (Nano Banana Pro) via MCP. Use when user wants to create images, edit photos, generate graphics, or needs visual content with text rendering.