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

calldiff

하는 일

이 스킬은 두 git 커밋이나 작업 트리 사이에서 함수 호출 체인이 어떻게 바뀌었는지 보여 줍니다. 코드 변경을 검토하며 그 변화가 프로그램 실행에 주는 영향을 보고 싶은 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓변경을 검토하면서 추가되거나 제거된 호출을 보고 싶을 때.
  • ✓업데이트 후 특정 함수가 주어진 진입점에서 호출되는지 알아야 할 때.
  • ✓텍스트 차이만이 아니라 실행 경로의 차이를 보고 싶은 경우.

스킬 링크

https://github.com/humanlayer/humanlayer/blob/main/.claude/skills/calldiff/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/humanlayer/humanlayer/blob/main/.claude/skills/calldiff/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬