Agent skill

compare-cpython-versions

Compare CPython source code between two Python versions to identify changes in headers and structs. Use this when adding support for a new Python version to understand what changed between versions.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill compare-cpython-versions --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Allowed tools: -Bash-Read-Grep-WebSearch-TodoWrite
Path: skills/analysis/compare-cpython-versions/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Compare CPython Versions Skill This skill helps compare CPython source code between two Python versions to identify changes in headers, structs, and APIs that affect our codebase. ## When to Use This Skill Use this skill when: - Adding support for a new Python version - Need to understand what changed between versions - Investigating compatibility issues - Have a list of headers/structs from `find-cpython-usage` skill ## Key Principles 1. **Compare systematically** - Focus on headers and structs identified in Step 1 2. **Use multiple methods** - Git diff, manual diff, or AI-assisted comparison 3. **Document changes** - Note all breaking changes and API modifications 4. **Check context** - Understand why changes were made (PEPs, GitHub issues) ## How This Skill Works ### Step 1: Prepare CPython Repository ```bash # Create ~/dd directory if it doesn't exist mkdir -p ~/dd # Clone CPython repository if needed (to ~/dd/cpython) if [ ! -d ~/dd/cpython ]; then git clone https://github.com/python/cpython.git ~/dd/cpython cd ~/dd/cpython git fetch --tags else cd ~/dd/cpython # Update existing repository git fetch --tags git fetch origin fi ``` ### Step 2: Compare Specific Headers Using th

What's inside
Steps it walks through
  1. When to Use This Skill
  2. Key Principles
  3. How This Skill Works
  4. Step 1: Prepare CPython Repository
  5. Step 2: Compare Specific Headers
  6. Step 3: Identify Changes
  7. Step 4: Analyze Impact
  8. Step 5: Use AI Tools (Optional)
  9. Common Change Patterns
  10. Output Format
  11. Related
Ships with 1 file
  • metadata.json
Commands it runs
Create ~/dd directory if it doesn't exist
mkdir -p ~/dd
Clone CPython repository if needed (to ~/dd/cpython)
if [ ! -d ~/dd/cpython ]; then
git clone https://github.com/python/cpython.git ~/dd/cpython
cd ~/dd/cpython
git fetch --tags
else
git fetch origin
fi
More from claude-skill-registry
All skills →
About this skill
What does the compare-cpython-versions skill do?

Compare CPython source code between two Python versions to identify changes in headers and structs. Use this when adding support for a new Python version to understand what changed between versions.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill compare-cpython-versions --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going