migration

migration is a skill for Claude Code from rtazima/claude-proj-blueprint. It costs 47 tokens per session (983 once invoked), scanned A, original, MIT.

A workflow guide for changing a database's structure, such as adding a column or creating a table. It uses migrations, which are tracked scripts that apply and undo database changes.

In plain words
What is it for?
Use it to assess schema changes, create the forward and rollback scripts, test applying and undoing them, and document risky destructive changes.
Why use it?
It helps make database changes reviewable, reversible, and safer for systems that are already running. It also calls for extra planning when a change could delete data or interrupt queries.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to assess schema changes, create the forward and rollback scripts…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rtazima/claude-proj-blueprint/migration
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rtazima/claude-proj-blueprint --skill migration
Clone the repo
git clone --depth 1 https://github.com/rtazima/claude-proj-blueprint

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/rtazima/claude-proj-blueprint/migration.svg)](https://agentmods.dev/skills/rtazima/claude-proj-blueprint/migration)
Your own site
<a href="https://agentmods.dev/skills/rtazima/claude-proj-blueprint/migration"><img src="https://agentmods.dev/badge/skills/rtazima/claude-proj-blueprint/migration.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 983 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.00983
Opus 5 $0.00023 $0.00491
Sonnet 5 $0.00009 $0.00197
Haiku 4.5 $0.00005 $0.00098

Measured 7d ago against content hash 2b9be881c778, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

migration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/migration/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migration

Guide safe database schema changes: assess impact, generate up+down migration, verify reversibility, and create ADR for destructive changes.

Rules

  1. Every schema change is a migration — never alter the DB manually
  2. Up AND down — every migration must be reversible (unless explicitly documented why not)
  3. Zero-downtime by default — no changes that lock tables or break running queries
  4. ADR for destructive changes — DROP, column type change, or data loss requires an ADR
  5. Test the migration — run up, verify, run down, verify, run up again
  6. One concern per migration — don't mix schema changes with data migrations
  7. Follow naming convention[SPEC] (e.g., YYYYMMDDHHMMSS_description.sql)

Risk Assessment

Before creating any migration, classify the risk:

Risk Examples Required
🟢 Low Add nullable column, add index, create table Migration + tests
🟡 Medium Add NOT NULL column with default, rename column, add constraint Migration + tests + team review
🔴 High Drop column/table, change column type, data migration Migration + tests + ADR + rollback plan

Workflow

Phase 1: Assess

  1. Read the PRD/requirement that drives the schema change
  2. Check docs/specs/versioning/ for migration naming and strategy
  3. Check docs/specs/data-architecture/ for modeling conventions
  4. List ALL changes needed (don't discover them mid-migration)
  5. Classify risk level (🟢/🟡/🔴) for each change

Phase 2: Design

For each change, document:

Change: [what is changing]
Risk: [🟢/🟡/🔴]
Up: [SQL or ORM operation]
Down: [reverse operation]
Zero-downtime: [yes/no — if no, explain why and what the plan is]
Data impact: [rows affected estimate, if relevant]

Phase 3: Generate

  1. Create migration file following naming convention: [SPEC]
  2. Write the up migration
  3. Write the down migration (rollback)
  4. If data migration is needed, separate it from schema migration

Read the full file on GitHub · 101 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 101 lines · 47 tokens per session scan A 2b9be881c778

Subscribe to this mod's changes

migration is a skill published in the GitHub repository rtazima/claude-proj-blueprint (20 stars, last pushed 3mo ago), licensed MIT. It adds 47 tokens to every session and 983 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gonavi-cli

Operate databases through the GoNavi headless CLI — the gonavi executable shipped in verified GitHub Release archives. Covers listing/adding/importing saved connections, running SQL queries against saved connections or ad-hoc connection files, exporting result sets to csv/json/md/html/xlsx, batch-executing SQL files…

Syngnat/GoNavi · 144 tokens

init-workspace-documentation

Skill "init-workspace-documentation" from griddynamics/rosetta, covering agent memory.md, agent memory, preventive rules, what worked and what failed.

griddynamics/rosetta · 10 tokens

solr-schema

To design and audit Solr schemas: field types, analyzers, docValues, solrconfig.

griddynamics/rosetta · 25 tokens

architecture-paradigm-space-based

Applies data-grid architecture for high-traffic stateful workloads. Use when a single database cannot scale and in-memory partitioning is needed.

athola/claude-night-market · 35 tokens

cmdb-patterns

Create ServiceNow CIs and cmdbrelci relationships, walk upstream/downstream impact, detect orphan/stale CIs, and align discovered CIs with the proper sysclassname hierarchy.

serac-labs/serac · 43 tokens

firebase-security-expert

Firebase security expert to audit Security Rules (Firestore/Realtime Database/Storage), authentication, API keys, data leakage prevention, and App Check configuration / Ahli keamanan Firebase untuk audit Security Rules (Firestore/Realtime Database/Storage), autentikasi, API keys, pencegahan kebocoran data, dan…

roedyrustam/vibes-plug · 72 tokens