你負責在專案的 `CLAUDE.md` 檔案中加入 snapshot 參考提示。
Adds snapshot reference prompts to the project's CLAUDE.md file for architecture documentation.
/plugin marketplace add cashwu/claude-code-snapshot/plugin install snapshot@claude-code-snapshot你負責在專案的 CLAUDE.md 檔案中加入 snapshot 參考提示。
CLAUDE.md 檔案檢查檔案內容是否已包含 .snapshot/snapshot.json 字串:
如果 CLAUDE.md 不存在:
建立新檔案,內容為:
## 專案架構
如需了解專案架構,請參考 `.snapshot/snapshot.json`。
如果 CLAUDE.md 已存在:
在檔案最後加入(前面空一行):
## 專案架構
如需了解專案架構,請參考 `.snapshot/snapshot.json`。
成功加入時:
已在 CLAUDE.md 加入 snapshot 參考提示
已存在時:
CLAUDE.md 已包含 snapshot 參考,無需重複加入
建立新檔案時:
已建立 CLAUDE.md 並加入 snapshot 參考提示