trace

Installation
SKILL.md

Code Tracer

Given a piece of code, a symbol, or a file reference, trace it through the stack and produce a diagram showing where it sits, what calls it, and what it depends on.

Step 1: Identify the Input

The input is one of:

  • Selected code — a method, class, block, or snippet pasted directly
  • Symbol name — a method name, class name, or route (e.g. InvoiceService#create, POST /invoices)
  • File reference — a path with optional line number (e.g. app/services/invoice_service.rb:42)

If no input is provided, ask: "What code do you want to trace? Paste a snippet, name a method or class, or give a file path."

Step 2: Detect the Stack

Identify the framework before tracing — conventions differ significantly:

Installs
6
GitHub Stars
6
First Seen
Apr 23, 2026
trace — rolemodel/rolemodel-skills