git.repo-manager

Installation
SKILL.md

Manages a local repository cache at temp/repo-cache/. Use these patterns for repo lifecycle operations.

Ensure a repo is available and up to date

  1. Check whether the repo directory already exists:

    test -d temp/repo-cache/<name> && echo "exists" || echo "missing"
    
  2. If missing — clone a shallow copy of the default branch:

    git clone --depth 1 <repo-url> temp/repo-cache/<name> --quiet
    
  3. If already present — pull the latest commits:

    cd temp/repo-cache/<name> && git pull --quiet
    
Related skills
Installs
2
Repository
coinbase/cds
GitHub Stars
472
First Seen
Apr 13, 2026