find-cpython-usage
Installation
SKILL.md
Find CPython Internal Usage Skill
This skill helps identify all CPython internal headers and structures used in the codebase, which is essential when adding support for new Python versions.
When to Use This Skill
Use this skill when:
- Adding support for a new Python version
- Investigating CPython API dependencies
- Understanding what internal APIs the profiler uses
- Preparing to compare CPython versions
Key Principles
- Focus on internal headers - These are most likely to change between versions
- Check all native extensions - CPython internals are used in profiling, AppSec, and internal modules
- Look for struct field access - Direct field access is version-sensitive
- Document findings - Keep track of what you find for comparison