본문으로 건너뛰기
Skillpedia
일반 코딩8.1k · #12567

codebase-exploration

하는 일

이 스킬은 Repowise가 색인된 프로젝트를 탐색해 아키텍처와 모듈에 관한 질문에 답하도록 AI를 돕습니다. 새로운 코드베이스에 처음 들어온 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓프로젝트의 한 부분이 어떻게 동작하는지, 흐름이 처음부터 끝까지 어떻게 진행되는지 물을 때.
  • ✓소스 파일을 읽기 전에 기능이 어디에 구현되어 있는지 찾아야 할 때.
  • ✓낯선 저장소의 구조와 핵심 모듈 개요를 알고 싶은 경우.

스킬 링크

https://github.com/repowise-dev/repowise/blob/main/plugins/claude-code/skills/codebase-exploration/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/repowise-dev/repowise/blob/main/plugins/claude-code/skills/codebase-exploration/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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

  1. New area you don't know → get_overview() once.
  2. A specific question → get_answer(question=…) first.
    • High confidence → answer it, cite the paths.
    • medium/low confidence → follow best_guesses[0].file or fallback_targets[0] into get_context, then get_symbol for bytes.
  3. 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_risk or get_why instead.
  4. More files around a concept → search_codebase, then get_context on the hits (batched), then get_symbol only for the bodies you actually need.

Read source directly for details the indexed context doesn't cover.

Trust signals — verify when

  • _meta.stale_warning is present (the index has diverged from HEAD), or
  • confidence is medium/low, or
  • a result's search_method is bm25.

Otherwise the response is current — act on it.

Error handling

  • "No repositories found. Run 'repowise init' first." → suggest /repowise:init. Add --no-editor-setup if this repo is a scratch clone, a fixture, or a worktree, so init writes 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_codebase come back empty → the repo may have a template-rendered wiki. Fall back to get_context with explicit paths, and note that model-written pages (repowise generate, or /repowise:init with an LLM provider) unlock richer docs + semantic search.
  • Tools fail to connect at all → the repowise binary may not be installed; suggest /repowise:init.
자주 묻는 질문

일반 검색이 이 스킬보다 나은 경우는 언제인가요?

정확한 식별자, 문자열, 파일명은 일반 검색과 파일 읽기가 더 빠르다고 스킬이 설명합니다.

어떤 종류의 답을 주나요?

출처가 붙은 종합 답변과 신뢰도 신호입니다.

프로젝트가 색인되어 있어야 하나요?

네. .repowise 폴더가 있는 프로젝트에서 작동합니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
8.1k
순위
#12567
라이선스
AGPL-3.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬