review-changes
하는 일
이 스킬은 code-review-graph 도구로 코드 변경을 검토하도록 AI 에이전트를 안내합니다. 구조화된 위험 기반 검토를 원하는 개발자와 리뷰어를 위한 스킬입니다.
사용하는 경우
- ✓병합 전에 확인받을 코드 변경이 있을 때.
- ✓테스트 범위가 없는 고위험 함수가 있는지 보고 싶을 때.
- ✓변경 영향에 근거한 명확한 병합 추천이 필요할 때.
스킬 링크
https://github.com/tirth8205/code-review-graph/blob/staging/skills/review-changes/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“현재 변경 사항을 검토해서 위험도별로 정리하고, 테스트가 없는 부분을 알려 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 변경 탐지를 실행하고, 위험한 함수의 테스트 범위를 확인하고, 영향 범위를 검토한 뒤, 발견 사항을 위험도별로 묶습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Review Changes
Review a change set with risk scores and blast radius from the knowledge graph.
Steps
- Call
detect_changes_toolfor risk-scored changed functions, test gaps and affected flows. - Call
get_affected_flows_toolonly when you need the steps of an affected flow. - For each high-risk function, call
query_graph_toolwithpattern="tests_for"to check test coverage. - Call
get_impact_radius_toolwhen the blast radius is not clear from step 1. - Suggest specific test cases for untested changes.
Output Format
Group findings by risk level (high, medium, low). For each finding give what changed and why it matters, its test coverage, and the suggested fix. End with a merge recommendation.
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_toolcall 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.
자주 묻는 질문
발견 사항은 어떻게 묶이나요?
높음, 중간, 낮음 위험으로 묶이며, 각 항목에는 변경, 테스트 범위, 제안된 수정이 함께 표시됩니다.
테스트를 제안하나요?
네. 스킬은 테스트되지 않은 변경에 대해 구체적인 테스트 사례를 제안합니다.
최종 판정을 내리나요?
네. 병합 추천으로 끝납니다.
상세 정보
작성자의 원본 설명
Perform a structured code review using change detection and impact
인기도
- GitHub 스타
- 33k
- 순위
- #9142
- 라이선스
- MIT
- 업데이트
- 2026. 10. 29.
댓글
- …
이 저장소의 다른 스킬
build-graph
33k에이전트가 저장소의 코드 지식 그래프를 만들거나 갱신해, 이후 코드 리뷰와 검색을 더 빠르게 돕습니다.
debug-issue
33k에이전트가 코드 지식 그래프에서 호출 체인을 따라 버그의 시작점을 추적하도록 돕습니다. 원본 코드를 읽기 전에 먼저 살펴봅니다.
explore-codebase
33k에이전트가 코드 지식 그래프에서 모듈과 관계를 검색해 낯선 코드베이스를 둘러보도록 돕습니다.
refactor-safely
33k에이전트가 의존성 분석으로 코드 리팩터링을 계획하고, 이름 변경은 미리 보기를 확인한 뒤에만 적용하도록 돕습니다.