managing-workspaces

Coordinate multi-repo git workspace operations with preflight checks.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/AndurilCode/swarmspace --skill managing-workspaces
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: managing-workspaces
Source: https://github.com/AndurilCode/swarmspace/tree/main/skills/managing-workspaces
Command: npx skills add https://github.com/AndurilCode/swarmspace --skill managing-workspaces

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing and coordinating actions across a parent directory containing multiple git repositories can be error-prone and time-consuming. This skill provides a structured set of commands to bootstrap workspaces, pull updates, check status, run the same command across all repos, and perform advisory preflight checks before mutating state.

Core Features & Use Cases

  • Bootstrap a workspace by cloning multiple repos in parallel under a single parent directory.
  • Get per-repo status across all repos, including ahead/behind and dirty/clean checks, with optional CI status.
  • Perform advisory preflight checks to ensure safe operations before fan-out writes.
  • Refresh remote-tracking refs and fast-forward pull all repos in parallel.
  • Execute the same command in every repository, or in a selected subset, with per-repo isolation.
  • Handoff to orchestrating-swarms when a task requires investigation or coordinated mutation beyond a single workspace.

Quick Start

Initialize and manage a multi-repo workspace by bootstrapping repos and running a status sweep across all of them.

Frequently Asked Questions about managing-workspaces

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

FAQPage Schema
How do I run the same git command across multiple repositories at once?

To run the same git command across multiple repositories, use a fan-out execution method that applies the command to all or a selected subset of repos within a parent directory. This ensures per-repo isolation while executing identical commands efficiently across the workspace.

What is the best way to check the branch status of multiple git repositories?

Checking the branch status of multiple git repositories involves performing a workspace status sweep that reports ahead/behind and dirty/clean states for each repo. You can also include optional CI status to gain a comprehensive preflight view of your workspace.

How do I clone and pull updates for several git repositories in parallel?

Cloning and pulling updates for several git repositories in parallel requires a workspace bootstrapping mechanism that initializes repos under a single parent directory. You can then fast-forward pull all repos simultaneously to refresh remote-tracking refs efficiently.

How do I perform a preflight check before mutating shared branches in a multi-repo workspace?

Performing a preflight check before mutating shared branches involves running an advisory status check that enforces read-only polling before executing fan-out writes. This safety boundary ensures your multi-repo workspace operations remain secure before applying changes.

Can I execute a command in a selected subset of repositories instead of all of them?

Yes, you can execute a command in a selected subset of repositories instead of all of them by applying per-repo isolation during the fan-out operation. This enables targeted workspace management while maintaining safety boundaries across the broader parent directory.