Agent skill
codebase-exploration
Use when exploring, understanding, or answering questions about a codebase that has Repowise indexed (indicated by a .repowise/ directory in the project root). Activates for questions like "how does X work", "explain the architecture", "where is Y implemented", "what does this module do", or any task requiring understanding of codebase structure before diving into source files.
Install this agent skill to your Project
npx add-skill https://github.com/repowise-dev/repowise/tree/main/plugins/claude-code/skills/codebase-exploration
SKILL.md
Codebase Exploration with Repowise
This project has a Repowise intelligence layer. Before reading raw source files to understand the codebase, use Repowise MCP tools — they provide richer context including documentation, ownership, history, and architectural decisions.
When starting a new exploration task
Call get_overview() first. This returns the architecture summary, module map, entry points, and tech stack. This single call replaces reading dozens of files to understand the project structure.
When answering "how does X work" questions
- Call
search_codebase(query="X")to find the most relevant documented modules and files. - Call
get_context(targets=[...relevant files from search results...])to get full documentation, ownership, freshness, and decisions for those targets. Batch all targets in one call. - Only read raw source files if the Repowise docs don't cover enough detail for the specific question.
When asked about connections between modules
Call get_dependency_path(source="module_a", target="module_b") to understand how two parts of the codebase are connected through the dependency graph.
When you need a visual overview
Call get_architecture_diagram(scope="module", path="path/to/module") for a Mermaid diagram of a specific subsystem, or get_architecture_diagram() for the full repo.
Error handling
- If tools return "No repositories found. Run 'repowise init' first." — suggest the user run
/repowise:init. - If
search_codebasereturns empty results — the repo may be in analysis-only mode (no wiki pages). Note this and fall back toget_contextwith specific file paths, or suggest upgrading to full mode. - If tools fail to connect entirely — the
repowisebinary may not be installed. Suggest/repowise:init.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
dead-code-cleanup
Use when the user asks about cleanup, removing unused code, refactoring, reducing bundle size, or identifying dead code in a Repowise-indexed codebase (.repowise/ directory exists). Also activates when discussing technical debt, code hygiene, or repository maintenance.
pre-modification-check
Use before modifying, refactoring, or deleting files in a codebase that has Repowise indexed (indicated by a .repowise/ directory). Activates when Claude is about to edit code, especially shared utilities, core modules, or files the user didn't explicitly mention. Helps assess impact and avoid breaking things.
architectural-decisions
Use when encountering questions about WHY code is built a certain way, when about to make architectural changes (new patterns, restructuring, choosing between approaches), or when the user asks about design rationale in a Repowise-indexed codebase (.repowise/ directory exists). Also activates when commit messages or code comments contain decision signals like "WHY:", "DECISION:", "TRADEOFF:", "ADR:".
verl-rl-training
Provides guidance for training LLMs with reinforcement learning using verl (Volcano Engine RL). Use when implementing RLHF, GRPO, PPO, or other RL algorithms for LLM post-training at scale with flexible infrastructure backends.
openrlhf-training
High-performance RLHF framework with Ray+vLLM acceleration. Use for PPO, GRPO, RLOO, DPO training of large models (7B-70B+). Built on Ray, vLLM, ZeRO-3. 2× faster than DeepSpeedChat with distributed architecture and GPU resource sharing.
gguf-quantization
GGUF format and llama.cpp quantization for efficient CPU/GPU inference. Use when deploying models on consumer hardware, Apple Silicon, or when needing flexible quantization from 2-8 bit without GPU requirements.
Didn't find tool you were looking for?