codebase-exploration
Qué hace
Esta habilidad ayuda a tu IA a explorar un proyecto con Repowise indexado, para responder preguntas sobre su arquitectura y sus módulos. Es para desarrolladores nuevos en una base de código.
Cuándo usarla
- ✓Cuando una tarea pregunta cómo funciona un módulo o un flujo en un proyecto indexado.
- ✓Cuando necesitas saber dónde se implementa algo antes de leer los archivos de código fuente.
- ✓Cuando quieres saber qué archivos importan antes de empezar a leer código.
Link de la skill
https://github.com/repowise-dev/repowise/blob/main/plugins/codex/skills/codebase-exploration/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿Dónde está la lógica de envío de correos en este proyecto y de qué archivos depende?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La habilidad elige la consulta de Repowise adecuada para cada pregunta, como una visión general, una respuesta con citas o una lista de referencias. Para nombres exactos o nombres de archivo, usa la búsqueda simple.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Codebase Exploration with Repowise
This project has a Repowise intelligence layer. For an exact identifier, string or file name, Grep, Glob and Read are faster. For how code works, who calls it, what a change breaks and why it is shaped this way, reach for the Repowise MCP tools: they return documentation, ownership, history, decisions, and graph structure that plain file reads don't, usually in one round-trip instead of many.
Which tool for which question
| You want… | Call |
|---|---|
| An exact identifier, string or file name | Grep, Glob and Read. |
| First orientation in an unfamiliar repo | get_overview(): architecture summary, key modules, entry points, git health, knowledge map. Skip it once you have the map. |
| How X works or flows end to end | get_answer(question="how does …"), one question per call: synthesised answer with citations + one confidence trust signal. Collapses the search → read → reason loop. |
| Callers before a rename or signature change | get_context(targets=["<symbol>"], include=["references"]): definition, imports and calls; a complete list is the whole edit set. |
| What breaks if X changes | get_risk(targets=["<file>"]). |
| Why X is shaped this way, before changing a pattern | get_why(query="why …", targets=["<file>"]). |
| Before finishing a multi-file change | get_change_risk(revspec="<base>..HEAD"), then get_health(targets=["<files you touched>"]). |
A fuzzy concept, or symbol ids and line bounds to feed get_symbol |
search_codebase(query="…"): hybrid search. mode="auto" routes an identifier to indexed symbol hits (symbol_id/line bounds → pipe into get_symbol), a path to file pages (→ get_context), and prose to semantic wiki search (each hit reports search_method: embedding vs bm25). Force a branch with mode=symbol|path|concept|hybrid; narrow symbols with symbol_kind. |
| A triage card for specific files/symbols | get_context(targets=[…]): title, summary, signatures, hotspot bit, top callers, decision titles, symbol_ids (a row without one is path::name). Batch many targets in one call. |
| The actual source of one symbol | get_symbol("path/to/file.py::Name"): exact bytes with line bounds. Cheaper than Read + offset math. Use a symbol_id from get_context. |
Recommended flow
- New area you don't know →
get_overview()once. - A specific question →
get_answer(question=…)first.- High confidence → answer it, cite the paths.
medium/lowconfidence → followbest_guesses[0].fileorfallback_targets[0]intoget_context, thenget_symbolfor bytes.
- A named symbol or a path you only need to find → Grep, Glob or Read. When
you need its callers, risk or history, pass it to
get_context,get_riskorget_whyinstead. - More files around a concept →
search_codebase, thenget_contexton the hits (batched), thenget_symbolonly for the bodies you actually need.
Read source directly for details the indexed context doesn't cover.
Trust signals — verify when
_meta.stale_warningis present (the index has diverged from HEAD), orconfidenceismedium/low, or- a result's
search_methodisbm25.
Otherwise the response is current — act on it.
Error handling
- "No repositories found. Run 'repowise init' first." → suggest
/prompts:repowise-init. Add--no-editor-setupif this repo is a scratch clone, a fixture, or a worktree, soinitwrites nothing outside.repowise/(no editor config, agent hooks or git hook). - MCP tools unavailable → prefer the matching CLI slash commands when the
plugin is installed (
/prompts:repowise-ask,/prompts:repowise-context,/prompts:repowise-symbol,/prompts:repowise-search) rather than grepping blind. get_answer/search_codebasecome back empty → the repo may have a template-rendered wiki. Fall back toget_contextwith explicit paths, and note that model-written pages (repowise generate, or/prompts:repowise-initwith an LLM provider) unlock richer docs + semantic search.- Tools fail to connect at all → the
repowisebinary may not be installed; suggest/prompts:repowise-init.
Preguntas frecuentes
¿Qué hace primero en un proyecto nuevo?
Puede pedir una visión general del proyecto que cubre la arquitectura, los módulos clave y los puntos de entrada.
¿Es mejor que la búsqueda simple?
Para nombres y cadenas exactas, la búsqueda simple es más rápida, según la habilidad.
¿Necesita un proyecto indexado?
Sí. Funciona en un proyecto con una carpeta .repowise.
Detalles
Descripción original del autor
Use when exploring, understanding, or answering questions about a Repowise-indexed codebase, including architecture, where code is implemented, how a module works, or which files are relevant before reading source.
repo: repowise-dev/repowise
Popularidad
- Estrellas en GitHub
- 8,1 mil
- Posición en el ranking
- #12572
- Licencia
- AGPL-3.0
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
architectural-decisions
8,1 milAyuda a tu agente a averiguar por qué el código está construido de cierta forma, usando decisiones registradas e historial antes de cambiar una arquitectura.
change-review
8,1 milAyuda a tu agente a revisar una pull request o un conjunto de cambios antes de fusionarlos, mostrando el riesgo, los archivos afectados y lo que más debería cambiar.
code-health
8,1 milAyuda a tu agente a puntuar la salud del código archivo por archivo, encontrar los más arriesgados y elegir qué refactorizar después, usando el análisis de Repowise.
codebase-exploration
8,1 milAyuda a tu agente a entender rápidamente un proyecto desconocido, respondiendo cómo funciona el código, quién llama a qué y dónde se construye cada cosa.
Skills parecidas
diffs
394 milPermite que tu agente genere un diff real y compartible de los cambios, como enlace de visualización o archivo de imagen, en lugar de un resumen escrito a mano.
coding-agent
394 milAyuda a tu agente a pasar un trabajo de programación grande a Codex, Claude Code u OpenCode como trabajador en segundo plano, y después revisar su progreso.
gh-issues
394 milAyuda a tu agente a encontrar incidencias de GitHub, elegir cuáles trabajar y abrir pull requests con correcciones, incluido el seguimiento de los comentarios de revisión.