{"enrichment":{"faq":[{"a":"nx-import enables you to bring external repositories into your Nx workspace using the `nx import` command. The skill orchestrates the import process while preserving your full commit history. You can import either a whole repository or a specific subdirectory, depending on your project structure. nx-import handles the integration of the external codebase into your monorepo while maintaining all version control lineage.","q":"How do I import a repository into an Nx workspace?"},{"a":"nx-import supports two import strategies. Subdirectory imports are ideal when you want to bring in only a specific part of a source repository\u2014useful for extracting a single library or application. Whole-repo imports integrate an entire external repository into your Nx workspace. The correct strategy depends on your source project type and which portions of the code you need in your monorepo. nx-import helps you determine the right approach for your use case.","q":"What's the difference between importing a subdirectory versus a whole repository with nx-import?"},{"a":"nx-import is designed to maintain full commit lineage during the import process. When you merge repositories into your Nx workspace, the skill ensures that all historical commits from the source repository are preserved in your monorepo. This allows you to retain the complete development history and attribution for imported code, which is critical for tracking changes and understanding project evolution.","q":"How can nx-import help preserve commit history when importing code from another repo?"},{"a":"Yes, nx-import supports migrating non-Nx projects into an Nx-managed workspace. Whether your source project is a plain npm workspace, a pnpm workspace, or a standalone project without Nx, the skill can orchestrate the migration. nx-import helps consolidate multiple projects into a monorepo structure and handles the configuration adjustments needed to integrate them into your Nx workspace.","q":"Can nx-import handle importing non-Nx projects like plain npm or pnpm workspaces?"},{"a":"nx-import addresses typical import challenges including dependency conflicts, configuration mismatches, path resolution issues, missing ESLint configs, and Jest preset setup problems. The skill provides troubleshooting guidance for these scenarios. It also helps with application versus library detection during import and handles directory conflicts that may occur when consolidating repositories. nx-import enables you to resolve these issues systematically during the integration process.","q":"What common issues might arise when importing projects with nx-import, and how are they resolved?"},{"a":"nx-import facilitates Nx adoption across multiple projects by providing a structured approach to consolidate them into a single monorepo. The skill guides you through importing each repository while maintaining commit history and project integrity. This enables teams to transition from managing separate repositories to a unified Nx-managed workspace, improving code sharing, dependency management, and build orchestration across all projects.","q":"How does nx-import help when adopting Nx across multiple repositories?"}],"shadow_tags":["monorepo-migration","repository-consolidation","git-history-preservation","workspace-adoption","multi-repo-merge","project-onboarding","legacy-integration","nx-initialization","config-reconciliation","dependency-alignment"],"summary_rewrite":"Bring external codebases into your Nx workspace without losing version control history. This official Nx skill enables AI assistants to orchestrate repository imports and merges, maintaining full commit lineage during the integration process."},"files":[{"bytes":13914,"path":"skills/nx-import/SKILL.md","sha256":"bc9a0fdfcf92fd51d3b8ce70bf57f26c91594a77f9646bd50e283772d746b669","url":"https://skillfed.io/files/nrwl/nx-ai-agents-config/nx-import/904cfe61/SKILL.md"}],"id":"nrwl/nx-ai-agents-config/nx-import","links":{"html":"https://skillfed.io/nrwl/nx-ai-agents-config/nx-import","md":"https://skillfed.io/nrwl/nx-ai-agents-config/nx-import.md","repo":"https://github.com/nrwl/nx-ai-agents-config"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":7,"language":"JavaScript","last_updated":"2026-07-23","license":"MIT","name":"nx-import","publisher":"nrwl","stars":27},"relations":{"similar":[{"id":"HermeticOrmus/LibreUIUX-Claude-Code/monorepo-management"},{"id":"Mindrally/skills/nx"},{"id":"wshobson/agents/nx-workspace-patterns"},{"id":"giuseppe-trisciuoglio/developer-kit/nx-monorepo"},{"id":"tanstack-skills/tanstack-skills/tanstack-config"},{"id":"nrwl/nx-ai-agents-config/nx-workspace"},{"id":"spartan-ng/spartan/spartan"},{"id":"tech-leads-club/agent-skills/nx-workspace"},{"id":"dadbodgeoff/drift/monorepo-structure"},{"id":"TheBeardedBearSAS/claude-craft/monorepo"}]},"slug":{"owner":"nrwl","repo":"nx-ai-agents-config","skill":"nx-import"},"version":"904cfe61"}
