
Nx Import
nrwl/nx-ai-agents-configOfficial
Import, merge, or combine repositories into an Nx workspace while preserving commit history.
- skills.sh installs
- 2.8K
- GitHub stars
- 29
- last updated
- Aug 21, 2026
What it does
- Covers subdirectory-at-a-time and whole-repo import strategies, with guidance on when each applies
- Includes fixes for pnpm workspace globs, missing root dependencies,
targetDefaults, andnamedInputsnot being merged - Enforces the destination's existing directory conventions and pins ESLint to v9 to avoid breakage with
@nx/eslint - Designed for teams adopting Nx across repositories or moving projects into an existing monorepo
Install
$ npx -y skills add nrwl/nx-ai-agents-config --skill nx-import -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Quick Start
nx importbrings code from a source repository or folder into the current workspace, preserving commit history.- After nx
22.6.0,nx importresponds with .ndjson outputs and follow-up questions. For earlier versions, always run with--no-interactiveand specify all flags directly. - Run
nx import --helpfor available options. - Make sure the destination directory is empty before importing.
EXAMPLE: target has
libs/utilsandlibs/models; source haslibs/uiandlibs/data-access— you cannot importlibs/intolibs/directly. Import each source library individually.
Primary docs:
- https://nx.dev/docs/guides/adopting-nx/import-project
- https://nx.dev/docs/guides/adopting-nx/preserving-git-histories
Read the nx docs if you have the tools for it.
Import Strategy
Subdirectory-at-a-time (nx import <source> apps --source=apps):
Details
- Repository
- github.com/nrwl/nx-ai-agents-config
- Categories
- DevOps & Cloud, Technical Documentation, Git & Releases
- First seen
- Apr 16, 2026
More from nrwl/nx-ai-agents-config
All 7Similar to Nx Import
More DevOps & Cloud
nx-run-tasksSkillnrwl/nx-ai-agents-config4.1K installsCommand-line guide for running build, test, lint, and other targets across Nx workspace projects.
nx-workspaceSkillnrwl/nx-ai-agents-config94.9K installsRead-only exploration of Nx workspaces for projects, targets, configuration, and dependencies, with jq-friendly JSON output.
monorepo-managementSkillaj-geddes/useful-ai-prompts452 installsMonorepo setup guidance for Lerna, Turborepo, and Nx covering workspaces, versioning, and cross-package testing.
Nx McpMCP servernrwl1.4K starsInstall-time AI context for Nx workspaces: architecture, generators, and up-to-date Nx docs for AI chat.
nx-workspace-patternsSkillwshobson/agents11.4K installsConfiguration and optimization guide for Nx monorepos covering project boundaries, caching, and affected commands.
monorepoPluginTheBushidoCollective/han201 starsAdvanced monorepo development skills for architecture, tooling, and workflow management across multiple packages and projects.