calldiff
यह क्या करती है
यह दो git कमिट या वर्किंग ट्री के बीच फ़ंक्शन कॉल की श्रृंखला में हुए बदलाव दिखाती है। यह उन डेवलपर्स के लिए है जो कोड बदलावों की समीक्षा करते हैं और देखना चाहते हैं कि प्रोग्राम के चलने के तरीके पर उनका क्या असर होता है।
कब इस्तेमाल करें
- ✓जब आप कोई बदलाव देख रहे हैं और जानना चाहते हैं कि कौन-सी कॉल जुड़ीं या हटीं।
- ✓जब आपको अपडेट के बाद पता करना हो कि कोई फ़ंक्शन किसी दिए गए एंट्री पॉइंट से पहुँचता है या नहीं।
- ✓जब आपको केवल टेक्स्ट डिफ़ के बजाय निष्पादन पथों का डिफ़ चाहिए।
Skill का लिंक
https://github.com/humanlayer/humanlayer/blob/main/.claude/skills/calldiff/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे दिखाइए कि main और मेरी मौजूदा ब्रांच के बीच फ़ंक्शन कॉल पथ कैसे बदले हैं।”
हर हफ़्ते 5 नई skills, 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 से ग्लोबली इंस्टॉल कर देता है।
अगर मैं कोई संदर्भ न दूँ तो यह क्या तुलना करेगी?
यह HEAD की तुलना मौजूदा वर्किंग ट्री से करती है, ठीक वैसे ही जैसे git diff करता है।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 31/10/2026
कमेंट
- …
इस repository की और skills
asd-ste100
13kउलझे हुए अंग्रेज़ी टेक्स्ट को छोटे, एक-अर्थ वाले वाक्यों में बदलना सिखाती है, जो लोगों और दूसरे सॉफ़्टवेयर दोनों के लिए पढ़ने में आसान हों।
better-github-skill
13kतैयार GitHub स्क्रिप्ट से pull request की स्थिति जाँचने, उसकी समीक्षा टिप्पणियाँ पढ़ने, और CI बिल्ड क्यों विफल हुआ यह पता करने में आपके एजेंट की मदद करती है।
chrome-devtools-cli
13kआपके एजेंट को टर्मिनल से Chrome चलाने देती है, ताकि वह पेज खोल सके, क्लिक कर सके, फ़ॉर्म भर सके और ब्राउज़र ऑटोमेशन व टेस्टिंग के लिए पेज का स्नैपशॉट ले सके।
effect-program-design
13kउत्पादन के लिए Effect v4 प्रोग्राम डिज़ाइन और टेस्ट करने में मदद करती है, जिसमें साफ़ सर्विस, टाइप्ड एरर, लेयर और संसाधनों का सुरक्षित इस्तेमाल हो।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।