Claude Code Development Style Guide (Skill)

April 1, 2026 ยท View on GitHub

This is a Claude Code skill that teaches Claude how to work with the Claude Code codebase following its established patterns and conventions.

Installation

To use this skill in your Claude Code sessions:

# From the repo root
claude skill add ./claude-code-skills

Or reference it directly in your CLAUDE.md:

/skill:claude-code-dev

What's Included

GuideDescription
Project OverviewTech stack, build system, dependencies
Directory StructureFile organization and where things go
Import ConventionsESM imports, type imports, feature flags
Naming ConventionsCasing rules for files, variables, types
TypeScript PatternsBranded types, unions, Zod schemas
Commenting StyleJSDoc, why-not-what philosophy
Error HandlingCustom errors, graceful degradation
Function PatternsFactories, memoize, async generators
Tool ArchitectureHow to add new tools
Command ArchitectureHow to add new commands
State ManagementModule state, AppState threading
Testing ConventionsTest patterns and helpers
Formatting RulesCode style (no semicolons, single quotes)
Quick ReferencesStep-by-step checklists

Usage

Once installed, Claude will automatically use this skill when you work on the Claude Code source code. It ensures all contributions match the existing codebase style.