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

diff-analyze

하는 일

이 스킬은 코드 변경 묶음을 검토해 위험도를 매기고 변경 유형에 라벨을 붙입니다. 풀 리퀘스트를 준비하거나 큰 변경을 앞두고 빠른 위험 점검이 필요한 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓풀 리퀘스트를 준비하면서 그 위험도를 알고 싶을 때.
  • ✓변경이 여러 모듈에 걸쳐 두 번째 시각이 필요할 때.
  • ✓어떤 검토자에게 요청할지 제안을 받고 싶을 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-jujutsu/skills/diff-analyze/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-jujutsu/skills/diff-analyze/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분.

작동 방식

스킬은 선택한 기준에 따라 git 변경을 읽고, 위험도를 매기고, 변경을 분류한 뒤 파일 경로로 검토자 역할을 정합니다. 파일별 줄 수와 위험도도 함께 보여 줍니다.

기술 내용 (원본 SKILL.md)

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

Diff Analysis

Analyze git diffs for risk, complexity, and reviewer assignment.

When to use

Before submitting a PR or after making significant changes, analyze the diff to understand risk level, get reviewer recommendations, and classify the type of change.

Steps

  1. Pick the ref — HEAD for uncommitted work, main..BRANCH for a branch (--branch), or the PR's base..head range (--pr, resolve it with gh pr view N --json baseRefName,headRefName). The analyze_* tools take a ref and run git themselves; they do not accept diff text.
  2. Analyze diff — call mcp__plugin_ruflo-core_ruflo__analyze_diff with { ref, includeFileRisks: true } for a comprehensive analysis
  3. Risk score — call mcp__plugin_ruflo-core_ruflo__analyze_diff-risk with { ref } for a quantified risk assessment
  4. Classify changes — call mcp__plugin_ruflo-core_ruflo__analyze_diff-classify with { ref } to categorize (feature, bugfix, refactor, etc.)
  5. Get reviewer roles — call mcp__plugin_ruflo-core_ruflo__analyze_diff-reviewers with { ref, limit } for roles inferred from paths and risk; check CODEOWNERS separately when assigning people
  6. Diff stats — call mcp__plugin_ruflo-core_ruflo__analyze_diff-stats with { ref } for line counts, file counts, complexity metrics
  7. File-level risk — call mcp__plugin_ruflo-core_ruflo__analyze_file-risk with { path } (required) for each file the earlier steps flagged

Risk factors

  • Files with high churn history
  • Security-sensitive paths (auth, crypto, permissions)
  • Large diffs (>500 lines)
  • Cross-module changes
  • Database migration files
자주 묻는 질문

기준으로 무엇을 고르나요?

커밋되지 않은 작업은 HEAD, main과 비교한 브랜치, 또는 풀 리퀘스트의 기준과 대상 범위를 사용합니다.

특정 사람의 이름을 알려 주나요?

파일 경로와 위험도를 바탕으로 역할을 제안합니다. 특정 사람은 CODEOWNERS 파일에서 확인하세요.

코드를 바꾸나요?

아닙니다. 변경을 분석하고 결과만 보고합니다.

상세 정보

작성자의 원본 설명

Analyze git diffs for risk scoring, reviewer recommendations, and change classification. Use when preparing a PR, reviewing a large or cross-module change, or before merging to assess risk and pick reviewers.

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1637
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬