find-cpython-usage

Official

Identify CPython internals for version compatibility.

AuthorDataDog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps identify all CPython internal headers and structures used in the codebase, which is essential when adding support for new Python versions.

Core Features & Use Cases

  • Scan for internal headers: Locate includes like internal/pycore*, CPython headers, and Python.h usages.
  • Detect struct usage: Capture where common CPython structs (frame, code, thread state) are accessed.
  • Document findings: Compile a reference to guide compatibility validation and CPython version testing.

Quick Start

Run the CPython usage search across the codebase and save results to findings-find-cpython-usage.txt. Example: grep -r "include.internal/pycore" ddtrace/ --include=".c" --include=".cpp" --include=".h" --include=".hpp" --include=".pyx"

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: find-cpython-usage
Download link: https://github.com/DataDog/dd-trace-py/archive/main.zip#find-cpython-usage

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.