Individual skill
claude-code-dev
How to develop, modify, and extend the Claude Code codebase following its established programming style, patterns, and conventions. Use this skill whenever working on the claude-code source — adding tools, commands, utils, components, types, hooks, services, or fixing bugs. Also use when the user asks about claude-code architecture, coding standards, file organization, or wants to understand how the codebase works. This skill ensures all contributions match the existing codebase style exactly.
claude-code-skills/SKILL.md
Source commit 7a708ce17d05bd390da88b2350f4b794d9427f18
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Instructions only
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 2,124
- Repository last updated
- Oct 7, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
01-project-overview.mddoc · 4,691 bytes02-directory-structure.mddoc · 9,308 bytes03-import-conventions.mddoc · 9,571 bytes04-naming-conventions.mddoc · 11,056 bytes05-typescript-patterns.mddoc · 12,608 bytes06-commenting-style.mddoc · 14,827 bytes07-error-handling.mddoc · 11,512 bytes08-function-patterns.mddoc · 12,819 bytes09-tool-architecture.mddoc · 13,919 bytes10-command-architecture.mddoc · 9,453 bytes11-state-management.mddoc · 8,939 bytes12-testing-conventions.mddoc · 5,962 bytes13-formatting-rules.mddoc · 8,638 bytes14-quick-references.mddoc · 10,182 bytesREADME.mddoc · 1,906 bytesSKILL.mdcore · 3,262 bytesSKILL.mdcore · 3,262 bytes
Read excerpt
# Claude Code Development Style Guide
This skill captures the programming style, patterns, and conventions used in the Claude Code codebase (`@anthropic-ai/claude-code`). Each topic below links to a dedicated deep-dive document with comprehensive examples and rules extracted from the actual source.
## Summary
**Claude Code** is an ESM TypeScript Node.js CLI application using Ink (React for terminals) for its UI, esbuild for transpilation, and Bun internally for feature flags and dead code elimination. Key stack: TypeScript, Zod v4, lodash-es, React/Ink, esbuild.
## Detailed Guides (Resource Files)
Each topic below is covered in depth in its own resource file within this skill's directory. Read the relevant file before working on that area of the codebase.
| # | Topic | File | Summary |
|---|---|---|---|