This repository has been archived on 2026-04-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
claude-code-2026-04-02/docs-site/docs/official-docs-map.md
2026-03-31 15:38:58 +05:00

18 KiB
Raw Blame History

Official Claude Code docs ↔ src/ map

This table links each page listed in the official docs index (llms.txt) to primary paths under src/. Many features span multiple folders; only entry points and main implementations are shown. Rows marked user guide have no single code anchor.

!!! tip "Canonical user documentation" For behavior, flags, and configuration, always prefer code.claude.com/docs. This map is for code navigation in the recovered tree.

Product, platforms, and onboarding

Official doc Primary src/ paths Notes
Overview main.tsx, screens/REPL.tsx Product surfaces; CLI is one implementation
Quickstart user guide
Platforms and integrations bridge/, cli/, remote/
Common workflows user guide
Best practices user guide
Changelog release notes
Troubleshooting user guide
Legal and compliance policy
Data usage policy
Security utils/permissions/, utils/shell/ Safeguards; not exhaustive
Zero data retention services/policyLimits/, utils/settings/ Enterprise policy hooks

CLI, terminal, and interaction

Official doc Primary src/ paths Notes
CLI reference main.tsx, commands/ Flags and subcommands
Interactive mode screens/REPL.tsx, keybindings/, components/ Shortcuts, input modes (hooks/ here is React hooks, not user shell hooks)
Terminal config utils/terminal.ts, ink/
Keybindings keybindings/
Status line utils/status.tsx, components/
Fullscreen rendering ink/, components/
Voice dictation voice/, screens/REPL.tsx Gated by VOICE_MODE in bundle
Built-in commands commands/ Slash commands
Output styles outputStyles/

Agent loop, tools, and context

Official doc Primary src/ paths Notes
How Claude Code works query.ts, tools.ts, services/tools/ Agentic loop
Headless / programmatic cli/print.ts, QueryEngine.ts Stream-json / SDK control
Tools reference tools/*, Tool.ts, services/lsp/ Includes LSP tool
Context window services/compact/, utils/tokenBudget.ts
Checkpointing utils/sessionStorage.ts, utils/conversationRecovery.ts
Costs cost-tracker.ts, services/api/usage.ts Token usage and limits
Sandboxing utils/shell/, tools/BashTool/ Bash isolation
Computer use utils/computerUse/ CLI computer-use MCP
Fast mode utils/fastMode.ts

MCP, channels, and extensions

Official doc Primary src/ paths Notes
MCP services/mcp/, tools/MCPTool/
Channels services/mcp/channel*.ts Inbound push
Channels reference services/mcp/ Contract / capabilities
Hooks guide utils/sessionStart.ts, hook runners
Hooks reference utils/sessionStart.ts, schemas/ JSON schemas
Plugins plugins/, utils/plugins/
Plugins reference plugins/, services/plugins/
Discover plugins services/plugins/pluginCliCommands.ts
Plugin marketplaces utils/plugins/
Skills skills/, utils/skills/, tools/SkillTool/
Features overview cross-cutting CLAUDE.md, skills, MCP, hooks

Memory, project config, and .claude

Official doc Primary src/ paths Notes
Memory / CLAUDE.md utils/claudemd.ts, memdir/
Explore .claude directory utils/settings/, migrations/ Settings, hooks paths

Permissions and models

Official doc Primary src/ paths Notes
Permissions utils/permissions/
Permission modes utils/permissions/permissionSetup.ts Auto / plan / etc.
Model configuration utils/model/ Aliases, deprecation

Multi-agent and scheduling

Official doc Primary src/ paths Notes
Agent teams utils/swarm/, screens/REPL.tsx
Subagents tools/AgentTool/
Scheduled tasks utils/cron*.ts, screens/REPL.tsx /loop, cron tools
Web scheduled tasks services/api/, remote/ Cloud scheduling (client hooks)

IDEs, Chrome, remote, desktop

Official doc Primary src/ paths Notes
VS Code bridge/, hooks/useDiffInIDE.ts
JetBrains bridge/
Chrome utils/claudeInChrome/ Extension / native host
Remote control remote/, utils/teleport/, services/api/sessionIngress.ts
Claude Code on the web services/api/, bootstrap/ Cloud session client
Desktop utils/deepLink/, dialogLaunchers.tsx Handoff / deep links
Desktop quickstart user guide

Authentication and cloud providers

Official doc Primary src/ paths Notes
Authentication utils/auth.ts, services/oauth/
Amazon Bedrock utils/aws.ts, utils/auth.ts
Google Vertex AI utils/auth.ts, services/api/
Microsoft Foundry services/api/, utils/auth.ts
LLM gateway upstreamproxy/, services/api/
Enterprise network config utils/caCerts.ts, utils/managedEnv.ts Proxy / mTLS / CA

Settings, policy, and enterprise

Official doc Primary src/ paths Notes
Settings utils/settings/
Environment variables grep process.envappendix
Server-managed settings services/remoteManagedSettings/
Third-party integrations / enterprise bridge/, services/mcp/, utils/settings/mdm/
Development containers user guide
GitHub Enterprise Server utils/github/ Partial

CI/CD, review, and chat integrations

Official doc Primary src/ paths Notes
GitHub Actions minimal in CLI CI uses product binary
GitLab CI/CD minimal in CLI
Code review service-side / GitHub app
Slack utils/suggestions/slackChannelSuggestions.ts Integrations

Analytics, monitoring, LSP

Official doc Primary src/ paths Notes
Analytics services/analytics/
Monitoring / OpenTelemetry utils/telemetry/, services/analytics/

Advanced setup

Official doc Primary src/ paths Notes
Advanced setup user guide Install / uninstall product
Vim mode vim/ See interactive mode; vim implementation in vim/
Coordinator / internal multi-agent coordinator/ Bundle feature COORDINATOR_MODE
Assistant mode / Agent SDK daemon assistant/ Bundle feature KAIROS

<tool▁calls▁begin><tool▁call▁begin> Read