规划你的项目
一旦项目存在并由 Git 支撑,下一步就是规划:把想法转化为设计和计划文档,以及一棵被跟踪的 工作项树。Subaya 的规划界面正是 AI agent 所驱动的对象,也是你审查和批准的对象。
先记录设计必须实现的内容:
suya req add # add a requirement to the current projectsuya req list # list the project's requirements设计和计划文档
Section titled “设计和计划文档”设计和计划文档在工作开始前会经过审查。列出它们、阅读其中一份,并在准备就绪时批准它 (或其中单个章节):
suya plan docs listsuya plan docs show <doc-id>suya plan docs approve <doc-id> # approve the whole documentsuya plan docs approve <doc-id> --section <section>审查是头等公民。开启一轮审查、评论并解决:
suya review create <doc-id>suya review show <review-id>suya review comment <review-id> ...suya review approve <review-id>一份已批准的计划会生成一棵工作项树(epic → story → task)。遍历它:
suya plan items list # the work-item treesuya plan items show <item-id> # a single item's detail开启一个规划会话
Section titled “开启一个规划会话”要进行交互式工作(或让 agent 来驱动),请开启一个会话:
suya plan session # prints how to open a planner sessionsuya attach # attach to your session pod- 运行仿真 — 一旦你有了可测试的 RTL 或固件。
- STM32 快速开始 — 一个端到端的嵌入式实战示例。