← ClaudeAtlas

grepai-trace-calleeslisted

Find function callees with GrepAI trace. Use this skill to discover what functions a specific function calls.
NNIIKKKKII/grepai-skills · ★ 2 · AI & Automation · score 75
Install: claude install-skill NNIIKKKKII/grepai-skills
# GrepAI Trace Callees This skill covers using `grepai trace callees` to find all functions called by a specific function. ## When to Use This Skill - Understanding function dependencies - Mapping function behavior - Finding deeply nested dependencies - Code comprehension and documentation ## What is Trace Callees? `grepai trace callees` answers: **"What does this function call?"** ``` func ProcessOrder(order) { validateOrder(order) calculateTotal(order) sendConfirmation(order.email) } │ ↓ ┌───────┴───────────────────┐ │ What does ProcessOrder │ │ call? │ ├───────────────────────────┤ │ • validateOrder │ │ • calculateTotal │ │ • sendConfirmation │ └───────────────────────────┘ ``` ## Basic Usage ```bash grepai trace callees "FunctionName" ``` ### Example ```bash grepai trace callees "ProcessOrder" ``` Output: ``` 🔍 Callees of "ProcessOrder" Found 4 callees: 1. validateOrder File: services/order.go:45 Context: validateOrder(order) 2. calculateTotal File: services/order.go:48 Context: total := calculateTotal(order.Items) 3. applyDiscount File: services/order.go:51 Context: total = applyDiscount(total, order.Coupon) 4. sendConfirmation File: services/order.go:55 Context: sendConfirmation(order.Email, total) ``` ## JSON Output ```bash grepai trace callees "ProcessOrder" --json ``` Output: ```json { "query": "ProcessOrder", "mode": "callees", "count": 4,