new-migration

Create and test SQLite schema migrations in storage.py using TDD.

2|2|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/weaties/helmlog --skill new-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-migration
Source: https://github.com/weaties/helmlog/tree/main/.claude/skills/new-migration
Command: npx skills add https://github.com/weaties/helmlog --skill new-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of updating the application's SQLite database schema by providing a structured approach to creating and testing new migrations.

Core Features & Use Cases

  • Guided Migration Creation: Follows a Test-Driven Development (TDD) approach to ensure database changes are robust.
  • Versioned Schema Updates: Manages database schema evolution through a clear versioning system.
  • Use Case: When adding a new feature that requires new database tables or columns, use this Skill to safely and reliably update the storage.py schema.

Quick Start

Add a new SQLite schema migration for the 'users' table.

Frequently Asked Questions about new-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new SQLite schema migration using TDD?

To add a new SQLite schema migration, first check the current version, write failing tests for the new tables or columns, implement the SQL changes in storage.py, and add corresponding storage methods to make the tests pass.

What is the best way to manage SQLite database schema evolution in Python?

Managing SQLite database schema evolution involves applying a structured, versioned system to update storage.py, ensuring new tables or columns are guided by failing tests before implementing the actual SQL changes.

How do I test SQLite migrations before applying them to my database?

You test SQLite migrations by writing failing tests first to define expected behavior, then implementing the SQL schema changes and storage methods until those tests pass, ensuring reliable database updates.

Do I need to manually update storage.py to add SQLite database tables?

Yes, you need to manually update storage.py by adding the new SQL schema changes and corresponding Python storage methods, guided by a test-driven approach to ensure the database updates are robust.

When should I use a test-driven approach for SQLite schema migrations?

You should use a test-driven approach for SQLite schema migrations whenever adding new features that require new database tables or columns, ensuring changes are reliable and safely integrated into storage.py.

Can I update my application's SQLite schema without breaking existing storage methods?

Updating an SQLite schema without breaking existing methods requires checking the current version and writing failing tests first, then implementing SQL changes and adding new storage methods to maintain robustness.