# Claude Code Dev

How to develop, modify, and extend the Claude Code codebase following its established...

- Repository: https://github.com/Leanmcp/gateway-skills (2122 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-10-07
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add Leanmcp/gateway-skills --skill claude-code-dev -g -a claude-code -y`
Codex: `npx skills add Leanmcp/gateway-skills --skill claude-code-dev -g -a codex -y`
Cursor: `npx skills add Leanmcp/gateway-skills --skill claude-code-dev -g -a cursor -y`
Gemini CLI: `npx skills add Leanmcp/gateway-skills --skill claude-code-dev -g -a gemini-cli -y`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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.

The rest: https://github.com/Leanmcp/gateway-skills/blob/HEAD/claude-code-skills/SKILL.md
