Land Git Work Across Many Repos (Go, Deploy-from-Main)

    by Claude Workflow Lab

    1

    This skill gives an agent a procedure that avoids reporting a stale picture, merging the wrong thing, breaking a build or racing an active session.

    $6

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    What it does

    • Scans multiple folders at once to find unpushed code and uncommitted changes
    • Identifies and skips stale or abandoned branches so you only focus on real work
    • Ensures core libraries are updated and tested before the services that depend on them
    • Prevents broken code from reaching your server by running build tests first
    • Removes junk files and temporary leftovers to keep your workspace clean
    • Protects your live sessions by refusing to touch files currently being edited elsewhere

    Who it's for

    Traders managing their own codebases

    Keep your trading services and libraries synced without breaking your live deploy.

    Try asking: “Check all my repos for unpushed work and tell me what is ready to land.”

    Founders with multiple microservices

    Safely update shared core libraries across all your services in the right order.

    Try asking: “Merge the latest core changes into the admin and stats services and push if they build.”

    Solo developers with messy workspaces

    Clean up stale branches and forgotten stashes across dozens of folders at once.

    Try asking: “Find all my scratch clones and tell me which ones I can safely delete.”

    Land Git Work Across Many Repos (Go, Deploy-from-Main)

    Example session with this skill installed

    What is uncommitted or unpushed across my workspace? Then land what is safe into main, core library first.

    • Read your context and instructions
    • Compiled the land git work

    Example on a fictional workspace of six clones. Following multi-repo-branch-integration the agent ran survey.sh (read-only) after fetching each remote and reported one table. core-lib: clean, 2 commits ahead of origin/main. trader: dirty (one modified file), branch feature-x 3 ahead and 5 behind, so diverged: left alone and flagged. admin-panel: clean and level with origin. config-service: a stale branch 140 commits behind, skipped. A scratch clone under worktrees/ had an uncommitted go.mod replace pointing at ../core-lib.

    It then proposed an order: land core-lib first (fast-forward only, no merge commits), then trader after rebasing feature-x. Before any push it checked every sibling replace target: ../core-lib was ahead of origin by the two commits being landed, so it built the service against a clean origin/main worktree of the core library after the push to prove deploy safety, restoring go.mod and confirming git status was clean afterwards.

    Build gate: go build, go vet and go test on every touched repo; it reported which packages were covered and which failed for an unrelated reason. No force-push, nothing deleted; the stale branch and the dirty tree were listed for your decision.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    If your trading code lives in several independent clones (services, a shared core library per exchange, a config service, an admin panel) and each deploys from main, "merge everything" is a trap. This skill gives an agent a procedure that avoids reporting a stale picture, merging the wrong thing, breaking a build or racing an active session.

    What is inside:

    • SKILL.md - the steps: fetch and take a read-only inventory of uncommitted and unpushed work in every repo and worktree; triage stale or diverged branches and leave them alone; handle coupled repos (a service that depends on a sibling library through a local replace directive); build and test all of it before pushing any of it; fast-forward merge in dependency order; push; clean up. It includes the go.mod local-replace trap, verifying every sibling replace target against a clean origin/main worktree, and what to say about what a green run actually covered.
    • scripts/survey.sh - one read-only pass over a workspace printing branch, dirty state, ahead/behind counts and worktrees for every repo.

    For developers who keep many Go repos side by side and want one honest report of what is pushable, then a safe landing. Needs git, a Go toolchain and bash; nothing is force-pushed or deleted without your explicit say-so. Also part of the Crypto Trading Ops Playbooks pack at a lower per-skill price.

    This skill is designed for Go-based workspaces. It requires git to be installed and assumes you deploy from a main branch.

    The skill uses a workspace-wide survey via git fetch and status across multiple clones. It handles Go-specific logic like go.mod local replaces and GOWORK. It implements a multi-step integration flow: fetch, classify, dependency ordering, build verification (go test/vet), fast-forward merge, and push. It uses shell scripts for parallel fetching and worktree inspection.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Software
    GitGo toolchain (for the go.mod and build checks)Bash

    Permissions

    Terminal / Shell
    Read Files
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    This skill helps you manage multiple code projects at once by finding unpushed work, identifies which branches are safe to merge, and prevents common mistakes like accidental code overwrites or broken builds across different folders.

    You will need a workspace directory containing your Git code repositories and a Go programming environment. The skill also looks for specific files like a shared contract document or a list of retired servers to ensure your documentation stays accurate.

    You get a clear report for every project showing which changes were committed or pushed, a list of verified builds, and a summary of which old files or branches were cleaned up. It will tell you exactly where it stopped if it found a problem like a failing test or a project that was already being worked on.

    It avoids merging diverged branches that look like abandoned experiments and will not touch projects that are currently being edited in another active session. It also refuses to push code if the remote server has newer changes that might cause a conflict.

    You can ask your agent to show you what is uncommitted or unpushed across your folders, or give a more direct command to merge and push all changes to your main server once the builds pass.

    The skill specifically checks for local path redirects in your configuration files that would work on your machine but break the project for everyone else. It ensures these temporary redirects are removed before any code is shared.

    New in Code Quality & Review

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.