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

explore-codebase

하는 일

이 스킬은 code-review-graph 도구로 코드베이스를 탐색하도록 AI 에이전트를 안내합니다. 프로젝트에 처음 참여했거나 부분들이 어떻게 연결되는지 이해해야 하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓프로젝트에 합류해서 주요 모듈의 개요가 필요할 때.
  • ✓이름이나 키워드로 함수나 클래스를 찾고 싶을 때.
  • ✓어떤 코드가 함수를 호출하는지, 또는 무엇에 의존하는지 보고 싶을 때.

스킬 링크

https://github.com/tirth8205/code-review-graph/blob/staging/skills/explore-codebase/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/tirth8205/code-review-graph/blob/staging/skills/explore-codebase/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분.

작동 방식

에이전트는 그래프에 아키텍처 개요를 요청하고, 지정한 코드를 검색하며, 파일과 함수 사이의 관계를 따라갑니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Explore Codebase

Use the code-review-graph MCP tools to find your way around the codebase.

Steps

  1. Call get_architecture_overview_tool for the community structure. Call list_communities_tool, then get_community_tool, only for the modules you need.
  2. Call semantic_search_nodes_tool to find a function or class by name or keyword.
  3. Call query_graph_tool with callers_of, callees_of or imports_of to trace relationships. children_of on a file lists its functions and classes.
  4. Call list_flows_tool, then get_flow_tool for one flow, to follow an execution path.
  5. Call find_large_functions_tool to find oversized functions.
  6. Call list_graph_stats_tool only when you need node, edge and language counts.

Token Efficiency Rules

  • Call get_minimal_context_tool(task="<your task>") before any other graph tool.
  • Pass detail_level="minimal" wherever a tool accepts it. Use "standard" only when minimal is not enough.
  • Prefer a targeted query_graph_tool call over a broad listing call.
  • Budget: about five tool calls and 800 tokens of graph output per task.
  • Read the implementation and its tests before changing code. The graph narrows scope; it does not replace the source.
자주 묻는 질문

무엇을 보여 줄 수 있나요?

아키텍처 커뮤니티, 함수, 호출자, 피호출자, import, 실행 흐름을 보여 줄 수 있습니다.

큰 함수도 찾나요?

네. 스킬은 지나치게 큰 함수를 찾는 도구를 포함합니다.

그래프를 먼저 만들어야 하나요?

네. 탐색 도구가 유용한 결과를 반환하려면 그래프가 먼저 만들어져 있어야 합니다.

상세 정보

작성자의 원본 설명

Navigate and understand codebase structure using the knowledge graph

repo: tirth8205/code-review-graph

인기도

GitHub 스타
33k
순위
#9140
라이선스
MIT
업데이트
2026. 10. 29.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬