Skip to content

Releases: ApartsinProjects/pytrace-autopsy

v0.1 - Initial Release

07 Mar 21:47

Choose a tag to compare

PyTrace Autopsy v0.1

Runtime function tracing skill for Claude Code that debugs failing Python tests.

Features

  • sys.settrace via sitecustomize.py injected through PYTHONPATH
  • Zero project file modifications — fully non-invasive
  • JSONL trace output (function calls, arguments, return values, exceptions)
  • Configurable filtering by paths, modules, or function names
  • Thread-safe, crash-safe, auto-cleanup

Install

git clone https://github.com/ApartsinProjects/pytrace-autopsy
mkdir -p .claude/skills
cp -r pytrace-autopsy/skill .claude/skills/pytrace-autopsy

Examples

5 walkthroughs demonstrating real debugging scenarios:

  1. Off-by-one in pagination
  2. None propagation from missing null check
  3. Swallowed exception from bare except
  4. Shared state mutation from class-level mutable default
  5. Wrong arithmetic operator