Skip to main content
Claude Code is Anthropic’s official CLI tool. This guide will help you set up Claude Code to help you write and maintain your documentation. Claude Code 是 Anthropic 的官方 CLI 工具。本指南将帮助您设置 Claude Code,以帮助您编写和维护您的文档。

先决条件

  • Active Claude subscription (Pro, Max, or API access)
  • 活跃的Claude订阅(专业版、Max版或API访问)

设置

  1. Install Claude Code globally:
  1. Navigate to your docs directory.
  2. (Optional) Add the CLAUDE.md file below to your project.
  3. Run claude to start.

Create CLAUDE.md

Create a CLAUDE.md file at the root of your documentation repository to train Claude Code on your specific documentation standards: