Saltar al contenido
Skillpedia
Programación general13 mil · #11382

calldiff

Qué hace

Muestra cómo cambió la cadena de llamadas a funciones entre dos commits de git o el árbol de trabajo. Está pensada para desarrolladores que revisan cambios de código y quieren ver su efecto en la forma en que se ejecuta el programa.

Cuándo usarla

  • ✓Cuando revisas un cambio y quieres ver qué llamadas se añadieron o se eliminaron.
  • ✓Cuando necesitas saber si una función se alcanza desde un punto de entrada dado tras una actualización.
  • ✓Cuando quieres un diff de las rutas de ejecución y no solo del texto.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/humanlayer/humanlayer/blob/main/.claude/skills/calldiff/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Muéstrame cómo cambiaron las rutas de llamadas a funciones entre main y mi rama actual.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente ejecuta el comando calldiff para comparar los árboles de llamadas entre dos referencias de git. Después muestra los cambios en un bloque de diferencias con colores.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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
Preguntas frecuentes

¿Qué lenguajes admite?

La descripción indica que cubre 22 lenguajes para el análisis de la pila de llamadas.

¿Tengo que instalar algo?

Si falta el comando calldiff, el agente lo instala de forma global con npm.

¿Qué compara si no doy referencias?

Compara HEAD con el árbol de trabajo actual, igual que git diff.

Detalles

Descripción original del autor

Diff call stacks across git commits for agentic code review (22 languages). Run `calldiff --help` for usage details.

repo: humanlayer/humanlayer

Popularidad

Estrellas en GitHub
13 mil
Posición en el ranking
#11382
Licencia
Apache-2.0
Actualizada
31/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas