/abatilo-core:repo-explorefrom abatilo-core
Clones and explores external GitHub repos to understand how libraries, frameworks, or dependencies work. Automatically checks out matching version tags for dependencies in the current project.
Ships in abatilo-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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/repo[email protected]: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.3Use the Agent tool with subagent_type=Explore to answer questions about the repository, rather than browsing files yourself. The Explore agent is optimized for:
Example:
Agent(
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, 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. 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.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub abatilo/vimrc --plugin abatilo-core4 skills in this plugin
/cs-reviewCode style review of a diff against Functional Core, Imperative Shell, Locality of Behaviour, and explicit state machines. Runs the fcis-reviewer, locality-reviewer, and state-machine-reviewer agents in parallel, verifies their findings, and reports one merged review. Use for /cs-review, a code style review, or a review of purity, effect placement, core and shell boundaries, action at a distance, code layout, or state hidden in flags and status fields. Correctness review belongs to /code-review./gh-stackManages stacked PRs and splits multi-part work into reviewable branches with gh-stack. Use for stack creation, viewing, edits, push, submit, sync, rebase, merge, or checkout; when asked to split or isolate work for review; whenever a user mentions a stack, branch layers, dependent PRs, or gh stack; or when a stack is checked out.
/git-commitThis skill should be used whenever a git commit is about to be created, including when Claude decides on its own to commit at the end of a task. Use it instead of running `git commit` directly with Bash. Trigger phrases include "commit", "commit this", "commit these changes", "make a commit", "commit and push", "save my work", "check this in", "wrap this up", "split this into commits", "amend the last commit", "fixup", "squash", "reword the commit message", and "/commit". Also use it for staging decisions (git add -p, partial staging) and writing or matching conventional-commit messages.Other plugins' skills for the same job