migrate-analyze

Analyze TypeScript and Prisma applications to generate v2 migration manifests.

Updated Jan 10, 2026
One-click install
npx skills add https://github.com/dain-agency/mood-tracker --skill migrate-analyze-dain-agency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-analyze
Source: https://github.com/dain-agency/mood-tracker/tree/main/.claude/skills/migrate-analyze
Command: npx skills add https://github.com/dain-agency/mood-tracker --skill migrate-analyze-dain-agency

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the hours of tedious, error-prone manual work required to assess legacy applications for v2 migration, which typically demands extensive code review, data model mapping, and API documentation from engineering teams.

Core Features & Use Cases

  • Automated Tech Stack Detection: Identifies frameworks, databases, authentication systems, and UI libraries from package.json and project configuration files.
  • Full Data Model Extraction: Pulls entity definitions, fields, types, relationships, and constraints from Prisma schemas, TypeScript interfaces, and Zod validation schemas.
  • Complete API Surface Mapping: Catalogs all API routes with their HTTP methods, paths, request body shapes, response shapes, and functional purposes.
  • Structured Manifest Output: Generates a standardized v2 migration manifest file containing all assessment data to support the full 7-phase migration lifecycle.
  • Use Case: An engineering team planning to migrate a legacy Node.js + Prisma customer portal to a new v2 architecture can use this skill to automatically document the entire existing codebase in minutes instead of spending days on manual assessment.

Quick Start

Use the migrate-analyze skill to analyze the source application at the path /path/to/your/legacy-app and generate a complete v2 migration manifest for your migration planning workflow.

Frequently Asked Questions about migrate-analyze

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

FAQPage Schema
How do I generate a v2 migration manifest from a legacy TypeScript and Prisma codebase?

A v2 migration manifest is a structured file containing source inventory, entity definitions, API endpoint details, and phase gate criteria. It is generated by analyzing legacy application codebases to eliminate manual assessment work and streamline the 7-phase migration lifecycle.

Can I automatically map API routes and Prisma schemas for a v2 migration plan?

You can automatically map API routes and Prisma schemas by scanning source application files. This process catalogs API routes with HTTP methods and request body shapes, and extracts Prisma entity definitions, fields, types, and constraints to populate a migration manifest.

Does this migration analysis tool work with Node.js and frontend frameworks?

Migration analysis works with web applications built with TypeScript, Prisma, and common frontend frameworks. It performs tech stack detection by identifying frameworks, databases, authentication systems, and UI libraries directly from package.json and project configuration files.

What is the best way to document an existing codebase for a v2 architecture migration?

The best way to document a codebase for a v2 architecture migration is to produce a standardized v2 migration manifest. This structured file captures source inventory, entity definitions, API endpoint details, and phase gate criteria to support the complete 7-phase migration lifecycle.

How do I extract Zod validation schemas and TypeScript interfaces during migration analysis?

You extract Zod validation schemas and TypeScript interfaces by analyzing source application code during migration planning. This data model extraction pulls entity definitions, fields, types, relationships, and constraints to populate the structured v2 migration manifest.