What problem does it solve?
This Skill eliminates the tedious manual work of consolidating separate code repositories into a single Nx monorepo, handling git history preservation and all post-import configuration fixes automatically, so you don't have to debug broken builds or missing dependencies after importing projects.
Core Features & Use Cases
- Git History Preservation: Imports code from source repositories or folders while retaining full commit history for full traceability of code changes.
- Cross-Repo Compatibility: Supports importing both Nx and non-Nx source repos, including Vite, Next.js, Gradle, and Turborepo projects, with framework-specific guidance for each.
- Automated Post-Import Fixes: Resolves common issues like pnpm workspace glob errors, TypeScript project reference misconfigurations, missing ESLint/Jest plugins, dependency version conflicts, and frontend/backend configuration mismatches.
- Use Case: If you are merging three separate backend and frontend repositories into a single Nx monorepo, this Skill handles the entire import process and all required configuration adjustments to get all projects building and testing correctly immediately.
Quick Start
Use the nx-import skill to bring your existing standalone Next.js repository into the current Nx workspace as a new project under apps/, preserving all git history and fixing all required configuration automatically.