calldiff
하는 일
이 스킬은 두 git 커밋이나 작업 트리 사이에서 함수 호출 체인이 어떻게 바뀌었는지 보여 줍니다. 코드 변경을 검토하며 그 변화가 프로그램 실행에 주는 영향을 보고 싶은 개발자를 위한 스킬입니다.
사용하는 경우
- ✓변경을 검토하면서 추가되거나 제거된 호출을 보고 싶을 때.
- ✓업데이트 후 특정 함수가 주어진 진입점에서 호출되는지 알아야 할 때.
- ✓텍스트 차이만이 아니라 실행 경로의 차이를 보고 싶은 경우.
스킬 링크
https://github.com/humanlayer/humanlayer/blob/main/.claude/skills/calldiff/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“main과 제 현재 브랜치 사이에서 함수 호출 경로가 어떻게 바뀌었는지 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 calldiff 명령을 실행해 두 git 참조 사이의 호출 트리를 비교합니다. 그다음 변경 사항을 색이 있는 차이 블록으로 보여 줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Installation
If the calldiff command is unavailable, install the latest version globally:
npm install -g calldiff@latest
Presenting output
Whenever showing calldiff output to the user, wrap it in a fenced diff code block so additions and removals receive colored syntax highlighting:
```diff
<calldiff output>
```
calldiff diff
Diff call stacks between two git trees
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
from |
string |
no | Before ref (default: HEAD) |
to |
string |
no | After ref (default: working tree) |
paths |
array |
no | Limit to these path prefixes |
Options
| Flag | Type | Default | Description |
|---|---|---|---|
--entry |
unknown |
||
--maxDepth |
number |
12 |
Max call-tree depth |
--from |
string |
Left / "before" tree | |
--to |
string |
Right / "after" tree |
Examples
# HEAD vs working tree
calldiff diff
# One ref vs working tree
calldiff diff main
# Two commits / branches
calldiff diff abc123 def456
# Force entrypoints
calldiff diff main feature --entry createAgentSession
Semantics match git diff: no refs -> HEAD vs worktree; one ref -> that vs worktree; two refs -> compare those trees.
calldiff reach
Find all call paths from an entrypoint to a target symbol
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
ref |
string |
no | Git ref (default: working tree) |
paths |
array |
no | Limit to these path prefixes |
Options
| Flag | Type | Default | Description |
|---|---|---|---|
--entry |
unknown |
Entrypoint(s): functionName or ClassName.method | |
--to |
string |
Target symbol to reach (functionName or ClassName.method) | |
--maxDepth |
number |
12 |
Max call-tree depth |
Examples
# Paths in the working tree
calldiff reach --entry runCheckout --to sendEmail
# Paths at a commit, limited to a directory
calldiff reach HEAD examples/checkout --entry runCheckout --to sendEmail
calldiff tree
View a call tree (no diff) for one or more entrypoints
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
ref |
string |
no | Git ref (default: working tree) |
paths |
array |
no | Limit to these path prefixes |
Options
| Flag | Type | Default | Description |
|---|---|---|---|
--entry |
unknown |
Entrypoint(s): functionName or ClassName.method | |
--maxDepth |
number |
12 |
Max call-tree depth |
Examples
# Tree from working tree
calldiff tree --entry createAgentSession
# Tree from a commit
calldiff tree HEAD --entry PiService.createAgentSession
자주 묻는 질문
지원하는 언어는 무엇인가요?
호출 스택 분석을 위한 22개 언어를 지원한다고 설명에 나와 있습니다.
설치해야 하는 것이 있나요?
calldiff 명령이 없으면 에이전트가 npm으로 전역 설치합니다.
참조를 주지 않으면 무엇을 비교하나요?
git diff와 같은 방식으로 HEAD와 현재 작업 트리를 비교합니다.
상세 정보
작성자의 원본 설명
Diff call stacks across git commits for agentic code review (22 languages). Run `calldiff --help` for usage details.
repo: humanlayer/humanlayer
인기도
- GitHub 스타
- 13k
- 순위
- #11382
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 31.
댓글
- …
이 저장소의 다른 스킬
asd-ste100
13k혼동되는 영어를 짧고 뜻이 하나뿐인 문장으로 다시 써서, 사람과 다른 소프트웨어가 쉽게 읽을 수 있게 하도록 에이전트를 가르칩니다.
better-github-skill
13k풀 리퀘스트 상태를 확인하고, 리뷰 댓글을 읽고, 준비된 GitHub 스크립트로 CI 빌드가 실패한 이유를 찾도록 에이전트를 돕습니다.
chrome-devtools-cli
13k에이전트가 터미널에서 Chrome을 제어해 페이지를 열고, 클릭하고, 양식을 채우고, 페이지 스냅숏을 찍어 브라우저 자동화와 테스트를 하도록 돕습니다.
effect-program-design
13k명확한 서비스, 타입이 있는 오류, 레이어, 안전한 리소스 처리로 실제 운영 가능한 Effect v4 프로그램을 설계하고 테스트하도록 에이전트를 돕습니다.