Files
gh-gorvey-gorvey-claude-plu…/commands/plan.md
2025-11-29 18:28:43 +08:00

37 lines
1.2 KiB
Markdown
Raw 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: 创建前端页面的生成提案
---
这个command的核心目的是给这个项目添加新的功能前产生一个计划指导agent按照plan进行开发
从用户获取这次功能的
1. `原始用户需求`
2. 修改/新增的功能具体文件路径
3. 接口
**步骤**
4. 生成`spec/plan/<change-id>`文件夹
-change-id 根据用户的动作生成
然后在文件夹内构建`prd.md``tasks.md`
5. `prd.md`文件根据收到的`原始用户需求`,修改/新增的功能具体文件路径,使用的接口进行归纳整理,如果用户提供的信息比较少,让用户尽量提供更多的信息
6. 归纳完用户的信息后,读取`src/components/CLAUDE.md``src/views/CLAUDE.md`全局组件和页面的规范,然后写入到`prd.md`
使用模板:
```
## 用户需求
## 关联页面文件
## 页面布局线框图
## 可以使用的接口
## 需要使用的组件
## 注意事项
```
8. 创建了`prd.md`后,生成`tasks.md`,将 `tasks.md`文件起草为一个有序的小型、可验证的工作项列表,这些工作项提供用户可见的进度,并突出显示依赖项或可并行的工作。不包括验证(测试、工具)。用户会独立发现并解决错误