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 você pergunta como uma parte do projeto funciona ou como um fluxo vai do início ao fim.
- ✓Quando você precisa descobrir onde uma funcionalidade está implementada antes de ler os arquivos de código.
- ✓Quando você quer uma visão geral da estrutura e dos módulos principais de um repositório desconhecido.
Link da skill
https://github.com/repowise-dev/repowise/blob/main/plugins/claude-code/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
“Como funciona o fluxo de checkout neste projeto? Dê uma visão geral antes de eu abrir qualquer arquivo.”
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 do projeto, uma resposta sintetizada com citações ou uma lista de chamadores. 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
/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 (
/repowise:ask,/repowise:context,/repowise:symbol,/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/repowise:initwith an LLM provider) unlock richer docs + semantic search.- Tools fail to connect at all → the
repowisebinary may not be installed; suggest/repowise:init.
Perguntas frequentes
Quando a busca simples é melhor que esta skill?
Para um identificador exato, uma string ou um nome de arquivo, a skill diz que busca simples e leitura de arquivos são mais rápidas.
Que tipo de resposta ela dá?
Uma resposta sintetizada, com citações e um sinal de confiança.
Ela precisa que o projeto esteja 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 codebase that has Repowise indexed (a .repowise/ directory in the project root). Activates for "how does X work", "explain the architecture", "where is Y implemented", "what does this module do", or any task that needs an understanding of structure before diving into source files.
repo: repowise-dev/repowise
Popularidade
- Estrelas no GitHub
- 8,1 mil
- Posição no ranking
- #12567
- 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.
dead-code-cleanup
8,1 milAjuda seu agente a encontrar código não usado, arquivos inalcançáveis e exports sem uso em um projeto, para que você possa limpá-los com segurança.
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.