add-migration

Create and register stateful migrations for TeaRAGs-MCP schema, sparse vector, and snapshot pipelines.

11|3|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/artk0de/TeaRAGs-MCP --skill add-migration-artk0de
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-migration
Source: https://github.com/artk0de/TeaRAGs-MCP/tree/main/.claude/skills/add-migration
Command: npx skills add https://github.com/artk0de/TeaRAGs-MCP --skill add-migration-artk0de

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the complexity of managing stateful migrations in the TeaRAGs-MCP pipeline, ensuring that schema, sparse vector, and snapshot updates are applied safely, idempotently, and in the correct order.

Core Features & Use Cases

  • Pipeline-Specific Templates: Provides structured templates for schema, sparse, and snapshot migrations to ensure consistency.
  • Safety Guardrails: Enforces interface-first development and idempotent apply methods to prevent data corruption.
  • Use Case: When you need to add a new Qdrant index or backfill payload fields across all points, this skill guides you through the exact steps to implement, register, and test the migration without breaking the existing store interface.

Quick Start

Use the add-migration skill to generate a new schema migration file for adding a keyword index to the existing collection.

Frequently Asked Questions about add-migration

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

FAQPage Schema
How do I create idempotent database migrations for Qdrant schema updates?

Idempotent database migrations for Qdrant are standardized using structured templates that enforce interface-first development and safe apply methods. This ensures schema updates are applied consistently without corrupting existing store interfaces.

What is the best way to add a sparse vector index to a backend database pipeline?

Adding a sparse vector index to a backend database pipeline is managed through snapshot-specific migration templates. These templates guide you through implementing, registering, and testing stateful migrations while maintaining system integrity.

How do database migrations handle state transitions in a TypeScript backend?

Database migrations handle TypeScript backend state transitions by enforcing a strict versioning and testing protocol. This process extends store interfaces and implements idempotent logic to safely manage schema, sparse vector, and snapshot updates.

When do I need to use structured migration templates for database schema changes?

Structured migration templates for database schema changes are needed when adding new Qdrant indexes or backfilling payload fields across all points. They ensure safe, idempotent state transitions within the pipeline architecture.

Can I backfill payload fields across all points without breaking the store interface?

Yes, you can backfill payload fields across all points without breaking the store interface. The skill enforces interface-first development and idempotent apply methods to prevent data corruption during the backfill process.