k-dang/dotfiles/multi-repo-explorer

Claude Code and agent skill by k-dang/dotfiles

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when you need to understand how internal libraries work, trace dependencies across repositories, or explore code patterns in reference repos - clones/updates a configured list of repos and provides exploration guidance

Install

npx vskill@latest install k-dang/dotfiles/multi-repo-explorer

SKILL.md

The same SKILL.md was published earlier as majiayu000/claude-skill-registry/multi-repo-explorer.

Multi-Repo Explorer

Overview

Maintain a local cache of reference repositories for exploring large codebases that span multiple repos. Clone missing repos, pull updates for existing ones, then explore to understand patterns and copy code snippets.

Configuration

Edit repos.txt in this skill directory. Add one repo URL per line:

git@github.com:your-org/auth-service.git
git@github.com:your-org/shared-utils.git
https://github.com/public/some-library.git

Default repos location: ~/.reference-repos Override with: REPOS_DIR=/custom/path ./sync.sh

Usage

Step 1: Sync Repos

Run the sync script to clone missing repos and pull updates:

bash
~/.claude/skills/multi-repo-explorer/sync.sh

Output shows status for each repo:

  • ✓ repo-name (cloned) - newly cloned
  • ✓ repo-name (updated) - pulled latest
  • ✓ repo-name (up to date) - no changes
  • ✗ repo-name (clone/pull failed) - check URL and auth
  • ⚠ repo-name (dirty) - has local changes, skipped pull
Step 2: Explore

Use standard tools to explore the repos:

bash
# Search across all repos
Grep pattern ~/.reference-repos
# Search specific repo
Grep pattern ~/.reference-repos/auth-service
# Find files
Glob "**/*.ts" ~/.reference-repos/repo-name
# Read files
Read ~/.reference-repos/repo-name/src/file.ts
Rules
  1. Read-only - Never modify files in reference repos
  2. Copy and adapt - Can copy snippets into current project, adapt to fit conventions
  3. Cite sources - When copying significant patterns, note which repo it came from

Common Exploration Patterns

QuestionApproach
"How does X handle Y?"Grep for Y in repo X, read relevant files
"What's the API for X?"Look for exports, public interfaces, README
"Find examples of pattern"Grep across all repos
"Trace data flow"Start at entry point, follow imports

Troubleshooting

Auth failures: Ensure SSH keys are configured for private repos, or use HTTPS with token.

Dirty working directory: Commit or stash changes in the repo before pulling.

Repo not found: Verify URL is correct and you have access.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/k-dang/dotfiles/multi-repo-explorer/badge)](https://verified-skill.com/skills/k-dang/dotfiles/multi-repo-explorer)

Something wrong with this skill or its page? Tell us.