codebase-exploration
O que ela faz
Esta skill ajuda sua IA a explorar um projeto indexado pelo Repowise para responder perguntas sobre sua arquitetura e seus módulos. É para desenvolvedores que estão começando em uma base de código.
Quando usar
- ✓Quando uma tarefa pergunta como um módulo ou fluxo funciona em um projeto indexado.
- ✓Quando você precisa saber onde algo está implementado antes de ler os arquivos de código.
- ✓Quando você quer saber quais arquivos importam antes de começar a ler o código.
Link da skill
https://github.com/repowise-dev/repowise/blob/main/plugins/codex/skills/codebase-exploration/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Onde fica a lógica de envio de e-mails neste projeto, e quais arquivos dependem dela?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill escolhe a consulta certa do Repowise para cada pergunta, como uma visão geral, uma resposta com citações ou uma lista de referências. Para nomes exatos ou nomes de arquivos, usa busca simples.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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.
Perguntas frequentes
Qual é a primeira coisa que ela faz em um projeto novo?
Ela pode pedir uma visão geral do projeto, com arquitetura, módulos principais e pontos de entrada.
Ela é melhor que a busca simples?
Para nomes exatos e strings, a busca simples é mais rápida, segundo a skill.
Precisa de um projeto indexado?
Sim. Ela funciona em um projeto que tenha uma pasta .repowise.
Detalhes
Descrição original do 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
Popularidade
- Estrelas no GitHub
- 8,1 mil
- Posição no ranking
- #12572
- Licença
- AGPL-3.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
architectural-decisions
8,1 milAjuda seu agente a descobrir por que um código foi construído de determinada forma, usando decisões registradas e o histórico antes de alterar uma arquitetura.
change-review
8,1 milAjuda seu agente a revisar um pull request ou um conjunto de alterações antes do merge, mostrando o risco, os arquivos afetados e o que mais deveria mudar.
code-health
8,1 milAjuda seu agente a dar uma nota de saúde ao código arquivo por arquivo, encontrar os arquivos mais arriscados e escolher o que refatorar a seguir, usando a análise do Repowise.
codebase-exploration
8,1 milAjuda seu agente a entender rapidamente um projeto desconhecido, respondendo como o código funciona, quem chama o quê e onde as coisas são construídas.
Skills parecidas
diffs
394 milPermite que seu agente gere um diff real e compartilhável das edições, como link de visualização ou arquivo de imagem, em vez de um resumo escrito à mão.
coding-agent
394 milAjuda seu agente a passar um trabalho grande de programação para o Codex, Claude Code ou OpenCode em segundo plano e acompanhar o andamento.
gh-issues
394 milAjuda seu agente a encontrar issues do GitHub, escolher quais resolver e abrir pull requests com correções, acompanhando os comentários de revisão.