langchain-migration-deep-dive
Installation
SKILL.md
LangChain Migration Deep Dive
Current State
!npm list 2>/dev/null | grep -E "openai|langchain|llamaindex" | head -10
Overview
Migrate from raw SDK calls (OpenAI, Anthropic) or other frameworks (LlamaIndex, custom agents) to LangChain. Covers codebase scanning, pattern-by-pattern migration, side-by-side validation, and feature-flagged rollout.
Step 1: Assess Codebase
// Scan for migration targets
import * as fs from "fs";
import * as path from "path";