Rollback Migration — Data skill for Claude Code
Roll back one applied migration of one context in the Bonus Ledger scaffold with the procedure that actually works on Prisma 7 (down.sql, then remove the history row).
How to install Rollback Migration
Installs to ~/.claude/skills/denys-mokhrin-ledger-slice-rollback-migration/SKILL.md
mkdir -p ~/.claude/skills/denys-mokhrin-ledger-slice-rollback-migration && curl -fsSL https://raw.githubusercontent.com/denys-mokhrin/ledger-slice/HEAD/commands/rollback-migration.md -o ~/.claude/skills/denys-mokhrin-ledger-slice-rollback-migration/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Rollback Migration does
description: Roll back one applied migration of one context in the Bonus Ledger scaffold with the procedure that actually works on Prisma 7 (down.sql, then remove the history row). argument-hint: allowed-tools: Bash, Read, Glob
Roll back the migration `$ARGUMENTS[1]` of the context `$ARGUMENTS[0]`.
Why this command exists: ADR 0002 documents `prisma migrate resolve --rolled-back`, but Prisma accepts that only for a migration that failed (error P3012).
Alternatives in Data
- Sprite Gen — Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame 763 ★
- Create Database Row 337 ★
- Deepdive — Deepdive skill for Claude Code — 12-phase research pipeline: plan-review gate, parallel sub-agent search, clai 297 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Dsh Agent Token Stats
Cross-agent token usage dashboard for DeepSeek Harness: aggregates local logs of Claude Code, OpenCode, Cursor
Create Migration
Generates Prisma database migrations for schema changes
DB Migration Review
Review database migration scripts for risky patterns — locking DDL, long transactions, irreversible down-migra
Design Vector Schema
Design a pgvector migration SQL file. Captures model + dimension + distance metric + row count → generates rev
Database Migration
Workflow command scaffold for database-migration in everything-claude-code.
File To Database Skill
Turn data files (CSV/Excel/JSON/JSONL/TSV) into a validated database, then operate it in natural language — pl
Related Agents
Rollback Planner
Drafts the rollback and recovery plan for a database migration without touching the database. It classifies ea
Procedure Writer
Verification team member 8, procedure writer. Called by the team lead to write or adapt package install, rollb
Migration Reviewer
Database migration safety reviewer. Use before applying any SQL migration (D1, MySQL, PostgreSQL, SQLite), Wor