Trace Endpoint banner
cognitx-leyton cognitx-leyton

Trace Endpoint

Development community

Description

--- allowed-tools: Bash(codegraph query:*), Bash(codegraph query:*), Bash(.venv/bin/codegraph query:*) description: Trace an endpoint URL through its handler methods and everything they transitively call --- ## Usage ``` /trace-endpoint <url_substring> ``` Matches against `:Endpoint.path CONTAINS $ARGUMENTS` — so partial matches work (`/users` picks up `/users/:id`, `/users/profile`, etc.). Runs two queries in sequence: 1. **Surface** — the matched endpoints and their handler methods (the A

Installation

Installs to ~/.claude/commands/cognitx-leyton-graphrag-code-trace-endpoint.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/cognitx-leyton/graphrag-code/HEAD/.claude/commands/trace-endpoint.md -o ~/.claude/commands/cognitx-leyton-graphrag-code-trace-endpoint.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository