codebase-exploration
하는 일
이 스킬은 Repowise가 색인된 프로젝트를 탐색해 아키텍처와 모듈에 관한 질문에 답하도록 AI를 돕습니다. 새로운 코드베이스에 처음 들어온 개발자를 위한 스킬입니다.
사용하는 경우
- ✓작업이 색인된 프로젝트에서 모듈이나 흐름이 어떻게 동작하는지 묻는 경우.
- ✓소스 파일을 읽기 전에 무언가 어디에 구현되어 있는지 알아야 할 때.
- ✓소스를 읽기 시작하기 전에 어떤 파일이 중요한지 알고 싶을 때.
스킬 링크
https://github.com/repowise-dev/repowise/blob/main/plugins/codex/skills/codebase-exploration/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 프로젝트에서 이메일 발송 로직은 어디에 있고, 어떤 파일들이 그것에 의존하나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 질문마다 알맞은 Repowise 조회를 고릅니다. 개요, 출처가 붙은 답변, 참조 목록 중 하나를 씁니다. 정확한 이름이나 파일명에는 일반 검색을 씁니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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.
자주 묻는 질문
새 프로젝트에서 가장 먼저 하는 일은 무엇인가요?
아키텍처, 핵심 모듈, 진입점을 포함한 프로젝트 개요를 요청할 수 있습니다.
일반 검색보다 나은가요?
정확한 이름과 문자열에는 일반 검색이 더 빠르다고 스킬이 설명합니다.
색인된 프로젝트여야 하나요?
네. .repowise 폴더가 있는 프로젝트에서 작동합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 8.1k
- 순위
- #12572
- 라이선스
- AGPL-3.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
architectural-decisions
8.1k에이전트가 아키텍처를 바꾸기 전에 기록된 결정과 이력을 살펴, 코드가 왜 그렇게 만들어졌는지 찾도록 돕습니다.
change-review
8.1k에이전트가 풀 리퀘스트나 변경 묶음을 병합 전에 검토해, 위험도와 영향받는 파일, 함께 바꿔야 할 것을 보여 주도록 돕습니다.
code-health
8.1k에이전트가 파일별 코드 건강도를 점수 매기고 가장 위험한 파일을 찾아 다음에 리팩터링할 대상을 고르도록 돕습니다.
codebase-exploration
8.1k에이전트가 코드가 어떻게 동작하는지, 누가 무엇을 호출하는지, 무엇이 어디에 만들어졌는지 답하며 낯선 프로젝트를 빠르게 이해하도록 돕습니다.