docs(project): 添加常用操作文档说明
在 CLAUDE.md 中新增"常用操作"表格,记录草稿再生、查看状态和重跑阶段等常见工作流操作步骤。
This commit is contained in:
10
CLAUDE.md
10
CLAUDE.md
@@ -23,6 +23,16 @@
|
||||
|
||||
账号配置在 [accounts/](accounts/) 目录(项目根目录),每个子目录一个账号,含 `account.json`。Agent 需要账号信息时扫描该目录获取最新列表,不依赖本文档的记忆。
|
||||
|
||||
# 常用操作
|
||||
|
||||
| 用户意图 | 操作 |
|
||||
|---------|------|
|
||||
| 重新生成草稿、重做草稿、草稿再生 | 1. 将 manifest 中 `pipeline.phases.assemble` 改为 `"pending"`;2. 执行 `node .claude/skills/video-from-script/scripts/pipeline.js run --manifest output/{name}/manifest.json --phase assemble` |
|
||||
| 查看草稿进度、草稿状态 | `node .claude/skills/video-from-script/scripts/pipeline.js status --manifest output/{name}/manifest.json` |
|
||||
| 重跑某个阶段 | 将 manifest 中对应 phase 改为 `"pending"`,再跑 `--phase <阶段名>`。阶段: `images` → `upload` → `videos` → `tts` → `assemble` |
|
||||
|
||||
**草稿 = CapCut 剪映项目文件**,由 pipeline 的 `assemble` 阶段生成,输出到本地剪映目录。
|
||||
|
||||
# 参考文档
|
||||
|
||||
- [SKILL.md](.claude/skills/video-from-script/SKILL.md) — 主技能(强制规则、分镜规则、质量卡点、执行策略)
|
||||
|
||||
Reference in New Issue
Block a user