chatgptprojects/clear-code/claude-code-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install chatgptprojects/clear-code/claude-code-skills

SKILL.md

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.

#TopicFileSummary
01Project Overview01-project-overview.mdTech stack, build system, runtime environment, key dependencies
02Directory Structure02-directory-structure.mdFull src/ layout, file organization patterns, where things go
03Import Conventions03-import-conventions.md.js extensions, import type, lodash cherry-picks, feature flags, cycle breaking
04Naming Conventions04-naming-conventions.mdcamelCase/PascalCase/UPPER_SNAKE rules, file naming, safety names
05TypeScript Patterns05-typescript-patterns.mdBranded types, discriminated unions, as const, satisfies, Zod schemas, generics
06Commenting Style06-commenting-style.mdJSDoc, why-not-what philosophy, PR references, section headers, lint suppression
07Error Handling07-error-handling.mdCustom error classes, utility functions, graceful degradation, catch conventions
08Function Patterns08-function-patterns.mdbuildTool() factory, memoize, async generators, guard clauses, fire-and-forget
09Tool Architecture09-tool-architecture.mdTool directory structure, buildTool() API, schemas, permissions, UI rendering
10Command Architecture10-command-architecture.mdCommand types, index.ts pattern, lazy loading, registration
11State Management11-state-management.mdModule-level state, getter/setter, AppState threading, cleanup registry
12Testing Conventions12-testing-conventions.mdReset helpers, NODE_ENV guards, test-only exports, deterministic sorting
13Formatting Rules13-formatting-rules.mdNo semicolons, single quotes, trailing commas, indentation, expression style
14Quick References14-quick-references.mdStep-by-step checklists for adding tools, commands, utils, and types

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2,070
Repository forks
2,180
7-day trend score
38

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 30 Apr 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/chatgptprojects/clear-code/claude-code-skills/badge)](https://verified-skill.com/skills/chatgptprojects/clear-code/claude-code-skills)

Something wrong with this skill or its page? Tell us.