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

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가 스킬을 읽고 지침을 따릅니다.

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

Use this skill to help me: https://github.com/repowise-dev/repowise/blob/main/plugins/codex/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 /prompts: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 (/prompts:repowise-ask, /prompts:repowise-context, /prompts:repowise-symbol, /prompts: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 /prompts: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 /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.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬