Cg Trace — Testing skill for Claude Code
Trace a function or test with CodeGraph, verify against source, and draw a Mermaid call graph with a short summary.
How to install Cg Trace
Installs to ~/.claude/skills/sedy2014-codegraph-tracer-cg-trace/SKILL.md
mkdir -p ~/.claude/skills/sedy2014-codegraph-tracer-cg-trace && curl -fsSL https://raw.githubusercontent.com/sedy2014/codegraph-tracer/HEAD/commands/cg-trace.md -o ~/.claude/skills/sedy2014-codegraph-tracer-cg-trace/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Cg Trace does
description: Trace a function or test with CodeGraph, verify against source, and draw a Mermaid call graph with a short summary argument-hint: ""
Requires CodeGraph and its MCP server; if the project has no `.codegraph/` index, fall back to Read/Grep.
Trace `$ARGUMENTS` using CodeGraph, then check it against the source.
If no name was given, use the symbol the user has selected in the IDE. If there is none, ask which symbol to trace.
Steps:
- **Call C
Alternatives in Testing
- L Debug Trace — Analytically debug issues by tracing data flow through code - no logs, no test-and-see 3k ★
- Al PR Prepare.Prompt — Prepare a clean, documented pull request draft for AL features or fixes with summary, testing notes, and check 109 ★
- Backprop — Trace a bug back to a spec gap and generate regression tests 55 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
AI Tester
End-to-end behavioral testing skills, bare system prompts, and any agent runtime — run real scenarios in an is
Canary Failure Impact
Trace the downstream impact of a test, function, or code path failing undetected — produces a severity label a
Claude Codex Plain Handoff Skill
A Claude Code and Codex skill that ends every AI task with a short, plain English summary: surprises first, ho
Review Impact
Code review with blast-radius analysis. Runs architect (graph trace) + qa-engineer (quality) IN PARALLEL.
Crash Analyzer
Act as a senior Perl debugging expert. Analyze the provided source code alongside the accompanying stack trace
Agentic QA Copilot
Automated call center QA analytics agent — scores every call against a weighted rubric (with emphasis on ident
Related Agents
Visual Exporter
Convert a structured deepthinking thought into diagram source code. Use when the user asks to visualize, rende
Deep Explore
Deep codebase exploration using grepai semantic search and call graph tracing. Use this agent for understandin
Repo Scout
Read-only locator for the autonomous-agent-builder source repo. Use to find which file/function/owner-surface