build-graph
하는 일
이 스킬은 code-review-graph 도구를 실행해 코드 저장소를 색인합니다. 검토나 검색 전에 에이전트가 코드베이스 구조를 이해하기를 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓저장소에 code-review-graph를 처음 설정할 때.
- ✓브랜치를 바꾸거나 대규모 리팩터링을 해서 그래프가 오래되었을 수 있을 때.
- ✓일련의 코드 변경 후 그래프를 새로 고치고 싶을 때.
스킬 링크
https://github.com/tirth8205/code-review-graph/blob/staging/skills/build-graph/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“더 빨리 리뷰를 시작할 수 있도록 이 저장소의 코드 리뷰 그래프를 만들어 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 그래프의 상태를 확인하고, 전체 빌드나 빠른 업데이트를 실행한 뒤, 과정이 성공했는지 보고합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Build Graph
Build or incrementally update the knowledge graph for this repository.
Steps
- Call
list_graph_stats_tool. Iflast_updatedis null, the graph has never been built. - For a first build, or when the argument is
full, callbuild_or_update_graph_tool(full_rebuild=True). Otherwise callbuild_or_update_graph_tool()for an incremental update. - Report the response:
status(ok,partialorerror) andsummary.
When to Use
- First set-up of a repository, or after a branch switch or large refactor.
- When the graph looks stale. Hooks installed by
code-review-graph installrun an update after each edit and before each commit, so manual builds are rarely needed.
Notes
- The database is
.code-review-graph/graph.dbin the repository root. - Binary files, dependency and build directories, and patterns in
.code-review-graphignoreare skipped. - For the list of supported languages call
get_docs_section_tool(section_name="languages").
자주 묻는 질문
그래프는 어디에 저장되나요?
저장소의 .code-review-graph 폴더 안에 있는 데이터베이스 파일에 저장된다고 스킬은 말합니다.
건너뛰는 파일이 있나요?
네. 바이너리 파일, 의존성 폴더, 무시 파일에 있는 패턴은 건너뜁니다.
자주 실행해야 하나요?
보통은 그럴 필요가 없습니다. 스킬에 따르면 훅이 그래프를 자동으로 업데이트합니다.
상세 정보
작성자의 원본 설명
Build or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.
인기도
- GitHub 스타
- 33k
- 순위
- #9138
- 라이선스
- MIT
- 업데이트
- 2026. 10. 29.
댓글
- …
이 저장소의 다른 스킬
debug-issue
33k에이전트가 코드 지식 그래프에서 호출 체인을 따라 버그의 시작점을 추적하도록 돕습니다. 원본 코드를 읽기 전에 먼저 살펴봅니다.
explore-codebase
33k에이전트가 코드 지식 그래프에서 모듈과 관계를 검색해 낯선 코드베이스를 둘러보도록 돕습니다.
refactor-safely
33k에이전트가 의존성 분석으로 코드 리팩터링을 계획하고, 이름 변경은 미리 보기를 확인한 뒤에만 적용하도록 돕습니다.
review-changes
33k에이전트가 위험 점수, 테스트 공백, 영향 범위와 함께 코드 변경을 검토하고 위험 수준별로 묶어 보여 줍니다.