Playbook
0 / 8 complete0%
  1. 01
  2. 02
  3. 03
  4. 04
  5. 05
  6. 06
  7. 07
  8. 08
Step 01 of 8 1-2 weeks· advanced

Step 1: Schema Audit

Inventory every object in the source database — tables, procs, functions, triggers, jobs — plus app code that references the schema.

What you're doing in this step

Produce a comprehensive inventory of the source database. Tables (counts, sizes), stored procs (count + complexity score), functions, views, triggers, constraints, indexes, sequences, user-defined types, and SQL Agent jobs. Cross-reference with app code so every schema usage is known.

Recommended prompts

Use one of these to do the work in your IDE

Open the template to read it in full. Click Copy prompt to grab it (with your stack values pre-filled where they apply) — then paste into Claude Code, Cursor, or wherever you build.

Primary recommendation 2-4 hours

Legacy System Audit

Reverse-engineer an existing application: structure, dependencies, integrations, business logic, hidden risks. The starting point for any migration.

View template
Template· Template 1-2 days

Data Migration Plan

Plan a safe data migration: schema mapping, ETL strategy, dual-write or one-shot, validation, and cutover with rollback.

Use this when: You want the audit and the migration plan in a single living document

View template
Recommended skills

Drop these into Claude Code for this phase

Skills auto-trigger on the right kind of request. Install once; they apply to every prompt that fits.

Skill· Skill 5 min setup

Legacy Code Analyzer Skill

Claude Code skill that reads legacy .NET code (WebForms, VB.NET, classic ASP) and explains what it does — the foundation for any migration.

claude-codedotnet
Skill· Skill 5 min setup

Migration Planner Skill

Flagship migration skill that walks Claude Code through audit → strategy → slicing → cutover for any legacy system migration.

claude-code
Skill· Skill 5 min setup

Database Migration Skill

Claude Code skill that generates safe forward and reverse migrations with transaction-wrapping, idempotency, and zero-downtime patterns.

claude-code
Recommended MCP configs

Wire these tools into Claude Code first

MCP servers give Claude Code direct access to external systems (Jira, browsers, databases). Configure once.

MCP config· MCP config 10 min setup

Postgres MCP for Evoke

Pre-configured Postgres MCP server for Claude Code — schema inspection and read-only queries to make database work safer and faster.

claude-codemcppostgres
MCP config· MCP config 5 min setup

Filesystem MCP for Evoke

Pre-configured filesystem MCP server for Claude Code — safe, scoped read/write access to project files.

claude-codemcp
When you're done

Verify these in your own work before moving on

This is a checklist for you to mentally tick off in your repo and IDE — the site doesn't track it, you do.

  • Inventory at /docs/migration/db-audit.md
  • All tables documented with row counts, sizes, and indexes
  • All stored procs catalogued with line counts, complexity score, and current callers
  • All triggers documented with their purpose
  • Data quality issues identified (orphans, NULLs in NOT NULL columns, duplicates)
  • App code search done: every place SQL is generated, called, or schema-referenced is listed
Common pitfalls

What goes wrong at this step

  • Ignoring CLR types — SQL Server allows .NET types in DB; these don't translate
  • Missing SQL Agent jobs — they're outside the DB but tied to it; document them
  • Not searching app code — every place the app generates SQL needs review
  • Underestimating stored-procedure count — easy to find 50 in `dbo` and miss 150 more buried in other schemas
← Back to intake

Command Palette

Search for a command to run...