LLM Skills
~/catalogue/architecture logicielle//Skill

Claude code skill

/Skill

Conventions de développement et guide d'architecture pour le dépôt « Claude Code » CLI.

codeaashucodeaashu
3.2k
22 avril 2026
Other
// contenu du skill

name: claude-code-skill

description: Development conventions and architecture guide for the Claude Code CLI repository.


Claude Code — Repository Skill

Project Overview

Claude Code is Anthropic's CLI tool for interacting with Claude from the terminal. It supports file editing, shell commands, git workflows, code review, multi-agent coordination, IDE integration (VS Code, JetBrains), and Model Context Protocol (MCP).

Codebase: ~1,900 files, 512,000+ lines of TypeScript under src/.

Tech Stack

ComponentTechnology
LanguageTypeScript (strict mode, ES modules)
RuntimeBun (JSX support, bun:bundle feature flags)
Terminal UIReact + Ink (React for CLI)
CLI ParserCommander.js (@commander-js/extra-typings)
API Client@anthropic-ai/sdk
ValidationZod v4
Linter/FormatterBiome
AnalyticsGrowthBook (feature flags & A/B testing)
ProtocolModel Context Protocol (MCP)

Architecture

Directory Map (src/)

DirectoryPurpose
commands/~50 slash commands (/commit, /review, /config, etc.)
tools/~40 agent tools (Bash, FileRead, FileWrite, Glob, Grep, etc.)
components/~140 Ink/React UI components for terminal rendering
services/External integrations (API, OAuth, MCP, LSP, analytics, plugins)
bridge/Bidirectional IDE communication layer
state/React context + custom store (AppState)
hooks/React hooks (permissions, keybindings, commands, settings)
types/TypeScript type definitions
utils/Utilities (shell, file ops, permissions, config, git)
screens/Full-screen UIs (Doctor, REPL, Resume, Compact)
skills/Bundled skills + skill loader system
plugins/Plugin system (marketplace + bundled plugins)
coordinator/Multi-agent coordination & supervisor logic
tasks/Task management (shell tasks, agent tasks, teammates)
context/React context providers (notifications, stats, FPS)
memdir/Persistent memory system (CLAUDE.md, user/project memory)
entrypoints/Initialization logic, Agent SDK, MCP entry
voice/Voice input/output (STT, keyterms)
vim/Vim mode keybinding support
schemas/Zod configuration schemas
keybindings/Keybinding configuration & resolver
migrations/Config migrations between versions
outputStyles/Output formatting & theming
query/Query pipeline & processing
server/Server/daemon mode
remote/Remote session handling

Key Files

FileRole
src/main.tsxCLI entry point (Commander parser, startup profiling)
src/QueryEngine.tsCore LLM API caller (streaming, tool-call loops)
src/Tool.tsTool type definitions & buildTool factory
src/tools.tsTool registry & presets
src/commands.tsCommand registry
src/context.tsSystem/user context collection (git status, memory)
src/cost-tracker.tsToken cost tracking

Entry Points & Initialization Sequence

  1. src/main.tsx — Commander CLI parser, startup profiling
  2. src/entrypoints/init.ts — Config, telemetry, OAuth, MDM
  3. src/entrypoints/cli.tsx — CLI session orchestration
  4. src/entrypoints/mcp.ts — MCP server mode
  5. src/entrypoints/sdk/ — Agent SDK (programmatic API)
  6. src/replLauncher.tsx — REPL session launcher

Startup performs parallel initialization: MDM policy reads, Keychain prefetch, feature flag checks, then core init.

Patt

// source originale publique
codeaashu/claude-code
/Skill.md
Licence : Other. Consultez le dépôt avant toute réutilisation.
Projet indépendant, non affilié à Anthropic. Ce skill reste la propriété de son auteur original.
// installer ce skill
Collez cette commande dans votre terminal à la racine de votre projet :
mkdir -p .claude/commands && curl -o ".claude/commands/Skill.md" "https://raw.githubusercontent.com/codeaashu/claude-code/main/Skill.md"
Ensuite dans Claude Code, tapez /Skill pour l'activer.
open_in_newVoir la source originale
// sauvegarder
Sauvegarde disponible après connexion.
loginSe connecter pour sauvegarder
// informations
Créateurcodeaashu
Étoiles 3.2k
LicenceOther
Mis à jour22 avril 2026
Format.md
AccèsGratuit
// similaires

Skills Architecture logicielle

Voir toutarrow_forward