# Git workflows for monorepos (/git--monorepo-git)

/git--monorepo-git is a Claude Code skill in the Code section. Tunes git for a monorepo with sparse checkout, per-package CODEOWNERS and path-filtered CI so changes only build and test what they touch.

- Web version: https://skills.sgomez.dev/en/s/git--monorepo-git
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/git/monorepo-git.md
- Updated 10 Jul 2026

## How to ask for it

- `/git--monorepo-git I only want to check out part of the monorepo`
- `/git--monorepo-git set up CODEOWNERS for our teams`
- `/git--monorepo-git only run CI for the package that changed`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install git-skills@claude-skills-collection
```

## Permissions

- Reads: `.git/**`, `**/*`
- Writes: `CODEOWNERS`, `.github/**`, `.gitattributes`, `.gitignore`, `docs/**`
- Runs: `git sparse-checkout`, `git config`, `git log`, `git diff`
- Network: No
- Destructive: No

## Author's description

Monorepo git strategies - sparse checkout, CODEOWNERS, selective CI triggers

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
