anthropics / claude-code
Code
How anthropics/claude-code is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Likely public API
- Likely public API
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.
- Files marked “likely” are guessed from their names.
- 4 suggested change patterns have no matching file and are left out.
Code quality and hotspots
Largest source files
- Branch points31 per file on average
- Code issues0 errors, 103 warnings
- Largest file2,193 lines
- Hotspot load0 high-risk files
Static checks on the 15 largest source files.
Tests, CI and tooling
- CIGitHub Actions14 workflows
- Tests417 test filesJest/Vitest · 0.43 test files per source file (file count, not coverage)
- Dependency updatesNo config detected
Test folders: mods/diff/tests/fixtures/backend-of · mods/agents-md/tests/fixtures · mods/diff/tests/fixtures/ask
Hotspots
- mods/agents-md/hooks/register.ts6 commits in 180 days · 44 branch points
- mods/sec-default/hooks/register.ts6 commits in 180 days · 32 branch points
- plugins/security-guidance/hooks/security_reminder_hook.py1 commit in 180 days · 100 branch points
- plugins/security-guidance/hooks/llm.py1 commit in 180 days · 86 branch points
- plugins/security-guidance/hooks/gitutil.py1 commit in 180 days · 41 branch points
- plugins/security-guidance/hooks/ensure_agent_sdk.py1 commit in 180 days · 20 branch points
- plugins/security-guidance/hooks/diffstate.py1 commit in 180 days · 19 branch points
- plugins/security-guidance/hooks/review_api.py1 commit in 180 days · 19 branch points
Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.