migrate

Check cqs schema versions and apply migrations or rebuild databases.

13|3|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/jamie8johnson/cqs --skill migrate-jamie8johnson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate
Source: https://github.com/jamie8johnson/cqs/tree/main/.claude/skills/migrate
Command: npx skills add https://github.com/jamie8johnson/cqs --skill migrate-jamie8johnson

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Handle cqs schema version upgrades — check version, attempt migration, rebuild if needed.

Core Features & Use Cases

  • Identify mismatches by querying the current schema version and comparing against the expected version.
  • Attempt auto-migration when a known path exists; otherwise trigger a full rebuild of indexes and references.
  • Verify the results and preserve notes during migrations to ensure recoverability.

Quick Start

Run the migration to check the current schema version and migrate or rebuild as needed.

Frequently Asked Questions about migrate

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

FAQPage Schema
How do I automate cqs schema version migrations and rebuilds?

Automate cqs schema migrations by checking the current schema version against the expected version, attempting auto-migration when a known path exists, and performing a full rebuild of indexes and references if necessary.

What happens when a cqs schema version mismatch is detected during migration?

When a cqs schema version mismatch is detected, the migration process attempts an automatic upgrade across index and reference databases, falling back to a full rebuild if auto-migration is not possible.

How do I verify cqs schema migration results and preserve notes?

Verify cqs schema migration results by running built-in verification commands after the migration or rebuild completes, ensuring that all notes are preserved during the process for recoverability.

When should I trigger a full rebuild instead of an auto-migration for cqs schemas?

Trigger a full rebuild of cqs indexes and references instead of an auto-migration when no known migration path exists for the detected schema version mismatch.