monorepo-extractor

Community

Split monorepos without losing history.

Authorlevonk
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables teams to carve out individual projects from a shared monorepo without losing committed history or disrupting ongoing work.

Core Features & Use Cases

  • Deterministic extraction: Preserve complete git history when moving a subproject to its own repository.
  • Safety and validation: Enforces clean state checks, remote availability, and branch validation to prevent unsafe splits.
  • Team coordination: Provides guidance for team communication and migration references during repository restructuring.

Quick Start

  • Basic strict extraction: ./scripts/extract-project-strict.sh /path/to/monorepo project-name /path/to/new-repo
  • Specify branch explicitly: ./scripts/extract-project-strict.sh --branch main /path/to/monorepo project-name /path/to/new-repo
  • Development/flexible extraction: ./scripts/extract-project-flexible.sh --force /path/to/monorepo project-name /path/to/new-repo

Dependency Matrix

Required Modules

gitjqgit-filter-repocurl

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: monorepo-extractor
Download link: https://github.com/levonk/dotfiles/archive/main.zip#monorepo-extractor

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.