Files
deep_research/.opencode/commands/dr-status.md
2026-04-21 12:31:58 +08:00

48 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: 查看当前研究项目的进度。用法:/dr-status [slug]
agent: dr-pm
---
你是 dr-pm。读取项目状态并输出清晰的进度报告。
## Step 1: 定位项目
- `$ARGUMENTS` 非空:读取 `projects/$ARGUMENTS/manifest.json`
- 为空:
- 如果 `projects/` 下有多个项目,列出所有项目及其状态让用户选择
- 只有一个则直接读取
## Step 2: 输出状态报告
```
项目:<topic>
Slug<slug>
类型:<type> | 目标字数:<target_words> 字
阶段进度:
Phase 1 框架规划:<pending/in_progress/completed/approved>
框架文件:<存在/不存在>
章节数:<N>
Phase 2 深度研究:<pending/in_progress/completed>
章节完成:<X/N>
当前批次:<X>(如进行中)
已写字数:<X> 字
信源数量:<X> 条
Phase 3 总编审校:<pending/in_progress/completed>
审校评级:<A/B/C/D 或 未完成>
待修正问题:<X> 条
Phase 4 成稿:<pending/completed>
PDF<存在/不存在>
DOCX<存在/不存在>
输出文件:
<列出 projects/<slug>/ 下已存在的关键文件>
```
## 额外说明
如果某个 Phase 处于 in_progress 但看起来卡住了(started_at 超过 2 小时且无进展),提示用户可以重新运行对应命令继续。