change-review
하는 일
이 스킬은 AI가 코드 변경을 병합하기 전에 위험을 검토하도록 돕습니다. Repowise로 색인된 프로젝트에서 변경이 무엇을 망가뜨릴 수 있는지 알고 싶은 개발자를 위한 스킬입니다.
사용하는 경우
- ✓풀 리퀘스트나 브랜치를 병합해도 안전한지 물을 때.
- ✓변경이 코드베이스 전체에 얼마나 영향을 주는지 알고 싶을 때.
- ✓관련 파일이나 후속 변경을 놓쳤을 것 같은 경우.
스킬 링크
https://github.com/repowise-dev/repowise/blob/main/plugins/claude-code/skills/change-review/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 풀 리퀘스트를 검토해서 병합해도 안전한지, 그리고 함께 바꿔야 할 것이 있는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 Repowise를 이용해 전체 변경을 하나의 단위로 점수 매기며, git 이력, 의존성, 테스트 공백, 결정 기록을 함께 봅니다. 가장 중요한 위험을 먼저 나열하고, 업데이트가 필요할 수 있는 파일을 알려 줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Change Review with Repowise
When a diff is on the table, Repowise turns "what files changed" into "what does this change put at risk" — fusing git history (churn, ownership, co-change) with graph topology (dependents, impact surface), test gaps, security signals, and the architectural decisions that govern the touched code.
Two complementary risk signals, use both:
get_change_risk(revspec=…)(MCP) scores the whole change as one unit (a commit or abase..headrange). No LLM, no network. Prefer this in-MCP tool; it takes a revspec and diffs server-side, so you never shell out. Lead withdirectiveandhealth_delta— what the change actually made worse. Findings the change wrote sort above pre-existing ones it only touched. Thenrisk_percentile(this change ranked against sampled recent commits by diff size and spread, not a bug predictor), stated in one line bydiff_shape;include=["scales"]adds itsreview_prioritytercile andclassificationlabel. The raw 0-10scoreranks 0.99 against lines added, so it sits behindinclude=["diagnostics"]rather than on the wire. Omitrevspecto score uncommitted work. This is the pre-merge gate: "how risky is this change overall?" Therepowise risk <revspec>CLI is the identical scorer for when you are already in a terminal.get_risk(changed_files=…)(MCP) works per file and returns thedirectiveblock, the specific things to check inside the diff.
Score the whole change first
get_change_risk(revspec="main..HEAD") # HEAD, a commit SHA, or base..head
Read directive first: status, a headline naming what got worse, the
reasons behind it and next_actions to run. health_delta carries the
findings the change introduced or resolved. Then risk_percentile and the top
drivers: a high score from large diffusion (many dirs/subsystems) or low author
familiarity tells you where to look hardest. extensions=[".py", ".ts"] counts
only certain file types; exclude_patterns=["tests/"] omits paths. A warning
field, or a directive.status of unknown, means the revspec or filters
matched no files, so an all-zero score there is not a clean bill of health. The
equivalent from a terminal is repowise risk <revspec> (add --ext .py,.ts or
--format json).
Then drill into the per-file directive
Call get_risk in PR mode by passing the changed files:
get_risk(targets=<changed files>, changed_files=<same changed files>)
The response carries its own directive block, per file rather than per change
(distinct from get_change_risk's) — read it first, it's a few short lists:
may_break— files/symbols that import their way to what changed but are not in the diff. Reachability, not a diff: it says these depend on the changed files, not that the thing they use changed. Check each one.missing_cochanges— files that historically change together with the changed files but were left untouched. Often a forgotten update.missing_tests— changed code with a test gap. Flag for new/updated tests.tests_to_run: the tests the change needs, from the same selectionrepowise impacted-testsmakes, withtests_to_run_whygiving each one's reason (the changed file and its evidence, or "runs with every subset"). Checktests_run_allfirst: when it is true no smaller set can be vouched for,tests_run_all_reasonssays why, and the list is only what to run first; recommend the whole suite. When it is false the list is the set to run.tests_to_run_basisismeasuredwhen stored per-test coverage decided a changed file andinferredwhen only the dependency graph or a rule did; say which.tests_statusappears only when no selection could be made (timeout,config_invalid,unknown, ...), and then every test must run.
get_change_risk carries the same answer as impacted_tests: status
(selected or run_all, or why nothing was selected), run_all, reasons,
tests_to_run and why. include=["blast"] on get_risk adds
pr_blast_radius, the fuller dossier behind the directive's lists.
For the line-precise version from a terminal, repowise impacted-tests <revspec>
maps each changed line to the tests whose recorded coverage touches it, then
prints the ids (--format list | xargs pytest runs exactly them). It is honest
about gaps: a changed file with no coverage rows is a labelled filename
자주 묻는 질문
검토는 무엇을 먼저 보여 주나요?
변경이 무엇을 더 나쁘게 만들었는지를 먼저 보여 주고, 그다음 변경 전체의 위험 수준을 알려 줍니다.
아직 커밋하지 않은 변경도 검토할 수 있나요?
네. 범위가 주어지지 않으면 커밋하지 않은 작업을 점수 매깁니다.
별도 도구를 설치해야 하나요?
Repowise로 색인된 프로젝트, 즉 .repowise 폴더가 있는 프로젝트가 필요합니다.
상세 정보
작성자의 원본 설명
Use when reviewing a set of changes before they merge — a PR, a branch diff, or the working-tree changes you just made — in a Repowise-indexed codebase (.repowise/ directory exists). Activates for "review this PR", "is this safe to merge", "what's the blast radius of these changes", "did I miss anything", or "what else should change with this".
repo: repowise-dev/repowise
인기도
- GitHub 스타
- 8.1k
- 순위
- #12565
- 라이선스
- AGPL-3.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
architectural-decisions
8.1k에이전트가 아키텍처를 바꾸기 전에 기록된 결정과 이력을 살펴, 코드가 왜 그렇게 만들어졌는지 찾도록 돕습니다.
code-health
8.1k에이전트가 파일별 코드 건강도를 점수 매기고 가장 위험한 파일을 찾아 다음에 리팩터링할 대상을 고르도록 돕습니다.
codebase-exploration
8.1k에이전트가 코드가 어떻게 동작하는지, 누가 무엇을 호출하는지, 무엇이 어디에 만들어졌는지 답하며 낯선 프로젝트를 빠르게 이해하도록 돕습니다.
dead-code-cleanup
8.1k에이전트가 프로젝트에서 쓰지 않는 코드, 도달할 수 없는 파일, 쓰지 않는 export를 찾아 안전하게 정리하도록 돕습니다.