Docs.Generate banner
eastmoon eastmoon

Docs.Generate

Development community

Description

--- name: 生成大語言模型使用文件 description: 每個大語言模型在提示詞工程上都有其特徵,因此需要基於當前大語言模型生成相應的說明文件。 allowed-tools: Write, Read --- ## 目標 基於需求描述,並遵守樣板規則產生相應的規格文件。 ## 步驟 1. 讀取文件需求 + 讀取 @README.md,並提取其簡介章節 + 將介紹章節中的各項目,分為項目名稱與項目描述 + 將項目名稱翻譯為英文,記為項目英文名 --- 2. 嚴格遵循 `.claude/templates/constitution.md` 規則,從以下需求提煉關鍵字並生成章節文件: <requirement> | 章節 | 描述 | |:- | :--- | | 項目名稱 ( 項目英文名 ) | 項目描述 | </requirement> --- 3. 寫入章節文件 + 若目錄 `docs` 不存在,請先建立 `docs` 目錄 + 每個章節,將其內容寫入對應項目英文名的 markdown 檔案,並存在 `./docs` 目錄內 + 若要寫入的檔案存在,一律

Installation

Installs to ~/.claude/commands/eastmoon-research-claude-prompt-document-docs.generate.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/eastmoon/research-claude-prompt-document/HEAD/.claude/commands/docs.generate.md -o ~/.claude/commands/eastmoon-research-claude-prompt-document-docs.generate.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository