Claude Code

官方覆盖地图

Claude Code 官方 163 个 Markdown 页面在本站中文文档里的聚合位置、维护口径和命令缓存覆盖情况。

这页用于审计迁移范围。当前官方缓存来自 https://code.claude.com/docs/llms.txt,manifest 共 163 个 Markdown 页面。本站不是按英文页面逐篇照搬,而是按中文用户的接入、配置、治理、扩展、SDK、成本和排错路径重新聚合。

当前状态:

项目数量本地位置
官方 Markdown 页面163/tmp/claude-docs-current/manifest.json
本地 Claude Code 页面73content/docs/claude-code/*.mdx
已有直接官方引用163 / 163每个官方 URL 至少出现在一个本地页面
官方 slash commands101命令大全命令与缓存影响 均覆盖 101 / 101

#覆盖分区

范围本地入口主要官方来源
基础接入与命令工作原理,安装与接入,命令大全,CLI 与终端参考Overview,Quickstart,Setup,CLI reference,Commands,Interactive mode,Keybindings,Terminal config,Fullscreen,Voice dictation,Deep links
配置与 Provider设置与环境变量,配置调试,模型与 Fast Mode,功能可用性,Provider 认证Authentication,Settings,Environment variables,Debug your configuration,Claude directory,Model configuration,Fast mode,Feature availability,Amazon Bedrock,Google Vertex AI,Microsoft Foundry,Claude Platform on AWS
企业治理与网关企业部署总览,企业网络与集中管控,企业控制面,企业 rollout,组织推广与沟通套件,Gateway 运维,Claude apps gateway 部署Admin setup,Enterprise deployment overview,Network config,Server-managed settings,Managed MCP,Analytics,Champion kit,Communications kit,Claude apps gateway,Gateway config,Gateway deploy,Gateway on GCP,Gateway spend limits
安全、隐私与沙箱权限与模式,Auto mode 策略参考,沙箱与隔离环境,Sandbox 与 Dev Container,数据使用与隐私,Zero Data RetentionPermissions,Permission modes,Configure auto mode,Sandboxing,Sandbox environments,Devcontainer,Security,Security guidance,Data usage,Legal and compliance,Zero data retention
扩展、自动化与并行工作工具参考,子代理,多代理与 Workflows,高级工作流,Routines 与调度,Worktrees,MCP,Hooks,插件与 SkillsTools reference,Sub-agents,Agents,Agent view,Workflows,Goal,Advisor,Routines,Scheduled tasks,Worktrees,MCP,Hooks guide,Plugins,Skills
Agent SDKAgent SDK,API 参考,Agent 能力,能力矩阵,运行时模式,Streaming 与插件,生产部署Agent SDK overview,Quickstart,TypeScript,Python,Agent loop,Claude Code features,Custom tools,MCP,Hooks,Plugins,Streaming output,Streaming input,Structured outputs,Secure deployment
Desktop、Web、IDE 与平台桌面版与 IDE 扩展,Desktop、Web 与 IDE 工作流,平台与集成,Code Review 与 CI,Chrome 与 Computer Use,Web、远程控制与移动端Desktop,Desktop quickstart,Desktop Linux,Desktop scheduled tasks,Claude Code on the web,Web quickstart,Remote Control,VS Code,JetBrains,Platforms,Code Review,GitHub Actions,GitLab CI/CD,Chrome,Computer Use
成本、缓存与排错监控与分析,Prompt 缓存,成本优化,错误参考,常见问题Monitoring,Costs,Prompt caching,Errors,Troubleshooting,Troubleshoot install,Glossary

#命令与缓存覆盖

命令大全 保留官方命令表的完整命令名、用途和可见性边界。命令与缓存影响 对同一组 101 个 slash commands 逐项补充 5 分钟和 1 小时 TTL 影响。

缓存口径:

类型解释
5 分钟 TTL常见 API 路径、Console 或普通网关路径的默认观察窗口
1 小时 TTLClaude subscription、部分官方账号能力或支持 extended TTL 的 upstream
命令动作配置、导航、权限、UI、会话管理等命令不一定调用主模型,但会改变后续 prompt、tools、provider 或上下文
Provider 切换Base URL、model pin、region、upstream 或缓存 key 变化后,不要假设可跨 provider 复用

#维护脚本

刷新官方缓存后,用下面脚本检查是否还有官方页面没有在本地文档中直接引用:

node - <<'NODE'
const fs=require('fs');
const manifest=JSON.parse(fs.readFileSync('/tmp/claude-docs-current/manifest.json','utf8')).entries;
const localFiles=fs.readdirSync('content/docs/claude-code').filter(f=>f.endsWith('.mdx')).map(f=>'content/docs/claude-code/'+f);
const localText=localFiles.map(f=>({f,text:fs.readFileSync(f,'utf8')}));
const missing=[];
for(const e of manifest){
  const hits=[];
  for(const lf of localText){
    if(lf.text.includes(e.url)) hits.push(lf.f);
  }
  if(!hits.length) missing.push({slug:e.slug,title:e.title,url:e.url});
}
console.log(JSON.stringify({official:manifest.length,directReferenced:manifest.length-missing.length,missingCount:missing.length,missing},null,2));
NODE

命令覆盖用官方 commands.md 表格抽取:

node - <<'NODE'
const fs=require('fs');
function official(){
  const s=fs.readFileSync('/tmp/claude-docs-current/commands.md','utf8');
  return [...new Set([...s.matchAll(/^\|\s*`([^`]+)`/gm)].map(m=>m[1].split(/\s+/)[0]).filter(x=>x.startsWith('/')))].sort();
}
const off=official();
for(const file of ['content/docs/claude-code/commands.mdx','content/docs/claude-code/command-cache.mdx']){
  const s=fs.readFileSync(file,'utf8');
  const missing=off.filter(c=>!s.includes(c));
  console.log(file, JSON.stringify({official:off.length,missingCount:missing.length,missing},null,2));
}
NODE

#什么时候新增页面

优先新增页面的情况:

  • 官方新增的是一个独立工作流,例如新的 gateway 部署、SDK runtime 或企业控制面。
  • 原页面已经过长,继续塞内容会降低中文用户找答案的效率。
  • 需要单独说明 Passion8 网关、5m/1h 缓存、Provider 差异或国内团队部署边界。

优先合并到现有页面的情况:

  • 官方新增只是某个命令、环境变量、限制或排错条目。
  • 内容属于已有中文路径的一个小节。
  • 只需要补一个官方引用和中文解释,不需要新导航入口。

Support / 支持

Need help? / 需要帮助?

接入、计费与模型异常可邮件联系;服务可用性以状态页为准。For setup, billing, or model issues, email us. Check the status page for uptime.

也可使用右下角微信 / QQ 客服 · WeChat / QQ support is available at the bottom right