nx-import

Import repositories into an Nx workspace while preserving Git histories.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/pertrai1/open-forge --skill nx-import-pertrai1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-import
Source: https://github.com/pertrai1/open-forge/tree/main/.opencode/skills/nx-import
Command: npx skills add https://github.com/pertrai1/open-forge --skill nx-import-pertrai1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of integrating and importing repositories into an Nx workspace, streamlining the adoption of Nx across projects.

Core Features & Use Cases

  • Repository Integration: Merge repositories into an Nx workspace with ease.
  • Preserve Git Histories: Import code with full commit history from source repositories.
  • Configuration Management: Handle configuration management and dependency resolution efficiently.
  • Use Case: If you have a set of repositories that you want to bring into a monorepo managed by Nx, this Skill can help you achieve that.

Quick Start

Run the nx import command followed by the source and destination paths. For example, to import 'src/repo1' into 'apps/my-app', use: nx import src/repo1 apps/my-app.

Frequently Asked Questions about nx-import

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

FAQPage Schema
How do I import multiple repositories into an Nx workspace?

To import multiple repositories into an Nx workspace, run the nx import command followed by the source and destination paths, such as 'nx import src/repo1 apps/my-app', to streamline codebase adoption.

Can I preserve git commit history when merging repositories into a monorepo?

Yes, you can preserve git commit history when merging repositories into a monorepo. The import process ensures that full commit history from source repositories is maintained during the integration.

What is the best way to manage configuration when adopting an Nx monorepo?

The best way to manage configuration when adopting an Nx monorepo is using a dedicated import process that handles configuration management and dependency resolution efficiently across integrated codebases.

Do I need Nx installed to integrate external codebases into my workspace?

Yes, you need Nx installed to integrate external codebases into your workspace. The integration process requires Nx and appropriate tooling for repository operations and configuration management.

When should I use an import process for monorepo repository integration?

You should use an import process for monorepo repository integration when you have a set of existing repositories that you want to bring into a monorepo managed by Nx for unified codebase adoption.