From abatilo-core
Clone and explore external GitHub repositories to understand how libraries, frameworks, or dependencies work. Use when user provides a GitHub URL (github.com/owner/repo), asks "how does X library work", wants to look at source code for a dependency, asks about implementation details of an external package, or says "explore", "look at", or "check out" a repository. Automatically checks out the matching version tag when the repo is a dependency in the current project.
npx claudepluginhub abatilo/vimrc --plugin abatilo-coreThis skill is limited to using the following tools:
Explore external GitHub repositories by cloning them locally and using the Explore agent for comprehensive codebase analysis.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Share bugs, ideas, or general feedback.
Explore external GitHub repositories by cloning them locally and using the Explore agent for comprehensive codebase analysis.
~/.cache/claude/repos/<owner>/<repo>/
Extract owner and repo from various formats:
https://github.com/owner/repogit@github.com:owner/repo.gitowner/repo (shorthand)github.com/owner/repols ~/.cache/claude/repos/<owner>/<repo>/
references/update-reference.md)mkdir -p ~/.cache/claude/repos/<owner>
git clone https://github.com/<owner>/<repo>.git ~/.cache/claude/repos/<owner>/<repo>
Before exploring, check if this repo is a dependency in the current working directory.
Consult references/version-detection.md for:
If a matching version is found:
cd ~/.cache/claude/repos/<owner>/<repo>
git fetch --all --tags
git checkout <tag>
Common tag formats to try:
v1.2.31.2.3release-1.2.3release/1.2.3ALWAYS use the Task tool with subagent_type=Explore for answering questions about the repository.
Do NOT manually browse files when the Explore agent can do it. The Explore agent is optimized for:
Example:
Task(
subagent_type="Explore",
prompt="""In ~/.cache/claude/repos/owner/repo/, find how authentication is implemented.
Requirements for your response:
- Include code snippets with file paths and line numbers
- Show key type definitions and function signatures
- End with a 'Key Files for Further Exploration' table with columns: File, Purpose, Start Here If...
"""
)
When answering questions about the repository, responses MUST include:
// File: pkg/controller/foo.go:42-58
func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
// ... relevant code
}
At the end of every response, include a "Key Files for Further Exploration" section:
## Key Files for Further Exploration
| File | Purpose | Start Here If... |
|------|---------|------------------|
| `pkg/apis/v1/types.go` | Core type definitions | You want to understand the data model |
| `pkg/controller/main_controller.go` | Main reconciliation logic | You want to understand the control flow |
| `docs/design.md` | Architecture decisions | You want high-level understanding |
Guidelines for file recommendations:
1. Brief answer summary (2-3 sentences)
2. Detailed explanation with inline code snippets
3. Architecture/flow diagrams if helpful (ASCII or description)
4. Key Files for Further Exploration table
5. Optional: Related topics the user might want to explore next
For refreshing the repository or switching versions, consult references/update-reference.md.