{"id":48327254,"url":"https://github.com/devdanzin/cpython-review-toolkit","last_synced_at":"2026-04-05T00:55:19.766Z","repository":{"id":345036138,"uuid":"1184165665","full_name":"devdanzin/cpython-review-toolkit","owner":"devdanzin","description":"A Claude Code plugin for exploring, analyzing, and reviewing CPython's C source code.","archived":false,"fork":false,"pushed_at":"2026-03-29T16:06:01.000Z","size":80,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-29T18:15:24.457Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devdanzin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-17T10:14:18.000Z","updated_at":"2026-03-29T16:06:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/devdanzin/cpython-review-toolkit","commit_stats":null,"previous_names":["devdanzin/cpython-review-toolkit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devdanzin/cpython-review-toolkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdanzin%2Fcpython-review-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdanzin%2Fcpython-review-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdanzin%2Fcpython-review-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdanzin%2Fcpython-review-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devdanzin","download_url":"https://codeload.github.com/devdanzin/cpython-review-toolkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdanzin%2Fcpython-review-toolkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31420785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T00:25:07.052Z","status":"ssl_error","status_checked_at":"2026-04-05T00:25:05.923Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-05T00:55:19.260Z","updated_at":"2026-04-05T00:55:19.759Z","avatar_url":"https://github.com/devdanzin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CPython C Code Review Toolkit\n\nA [Claude Code](https://docs.anthropic.com/en/docs/claude-code) plugin for exploring, analyzing, and reviewing CPython's C source code. It answers the question: **where are the bugs, style violations, and maintenance risks in this C codebase?**\n\nBuilt for CPython's specific concerns — reference counting, GIL discipline, NULL safety, PEP 7 style — not general-purpose C analysis.\n\n## Installation\n\n### From the marketplace (recommended)\n\n```bash\n# Add the marketplace (one-time setup)\nclaude plugin marketplace add devdanzin/cpython-review-toolkit\n\n# Install the plugin\nclaude plugin install cpython-review-toolkit@cpython-review-toolkit\n```\n\n### Direct install from GitHub\n\n```bash\nclaude plugin install cpython-review-toolkit --source github:devdanzin/cpython-review-toolkit --path plugins/cpython-review-toolkit\n```\n\n### Without installing (try it first)\n\n```bash\ngit clone https://github.com/devdanzin/cpython-review-toolkit.git\nclaude --plugin-dir cpython-review-toolkit/plugins/cpython-review-toolkit\n```\n\n## Quick Start\n\nNavigate to a CPython source checkout, then:\n\n```bash\n/cpython-review-toolkit:map        # Understand include structure\n/cpython-review-toolkit:health     # Quick health dashboard\n/cpython-review-toolkit:hotspots   # Refcount leaks + error bugs + complexity\n/cpython-review-toolkit:explore    # Full exploration (all 10 agents)\n```\n\nStart with `map` to understand the include graph, then `hotspots` to find the highest-impact bugs.\n\n## What's Included\n\n- **10 analysis agents** covering reference counting, error handling, GIL discipline, complexity, NULL safety, PEP 7 style, include dependencies, API deprecation, macro hygiene, and memory patterns.\n- **4 commands** (`explore`, `map`, `hotspots`, `health`) for different analysis workflows.\n- **7 analysis scripts** (stdlib-only Python) for include graphing, complexity measurement, refcount scanning, error path analysis, NULL safety checking, GIL usage scanning, and PEP 7 style checking.\n\n## Prerequisites\n\n- **Claude Code** installed and running.\n- **Python 3.10+** for the analysis scripts (type syntax from 3.10+).\n- No third-party packages — all scripts use only the standard library.\n\n## How It Works\n\nThe scripts use regex-based scanning to find candidate issues in C source files. This is intentionally imprecise — scripts identify candidates with an expected 30-50% false positive rate, and the agents read the actual code to confirm or dismiss each finding. This approach works well for CPython because PEP 7 makes the code style very regular and predictable.\n\nFor detailed usage, agent descriptions, and recommended workflows, see the [plugin README](plugins/cpython-review-toolkit/README.md).\n\n## License\n\nMIT — see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevdanzin%2Fcpython-review-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevdanzin%2Fcpython-review-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevdanzin%2Fcpython-review-toolkit/lists"}