Install
openclaw skills install @chenxi102/pm-chen-workflowProduction-grade product development workflow for Chen. Triggered when the user describes a feature, product idea, or asks to build a prototype, write a PRD, define architecture, or prepare a dev handoff package. Converts natural language requirements into a structured four-stage pipeline: Business
openclaw skills install @chenxi102/pm-chen-workflowA structured four-stage pipeline that turns a natural-language product requirement into a complete dev-handoff package: business architecture diagram, interactive HTML prototype, PRD document (online), and API interface definitions. The core philosophy: every stage produces artifacts consumed by the next stage; errors caught early cost the least; the user reviews at each major milestone.
Activate this skill when the user:
Before producing any artifacts, gather the following information from the user. Ask all questions in one round, formatted conversationally.
Present questions conversationally, not as a form. Example:
"了解了。在开始之前先对齐几个关键点——
Wait for the user's answers before proceeding.
Generate a business/functional module architecture diagram as an inline SVG.
Use the Visualizer (show_widget) to render an SVG architecture diagram. Load the diagram module from read_me first.
After presenting the architecture, ask the user:
"架构图出来了。模块划分和依赖关系是否符合你的预期?需要调整的地方直接说,改完架构再往下走。"
Wait for user confirmation before proceeding to Stage 2.
Generate an interactive HTML prototype based on the confirmed architecture and scenarios.
Write the HTML file to the workspace directory. Use present_files to show it. The prototype should be a self-contained HTML file (or a small set of HTML files) that can be opened in any browser.
After presenting the prototype, ask the user:
"原型可以点了。走一遍核心流程,看看路径通不通?空状态、加载态、错误态都覆盖了吗?哪里需要改直接说。"
Wait for user confirmation before proceeding to Stage 3.
Generate a structured PRD document based on the confirmed architecture and prototype.
Follow the template from references/prd-template.md. Key sections:
The user prefers online collaborative documents (飞书文档 or 腾讯文档). Check which platform the user has access to:
lark-doc skill to create a Feishu Doctencent-docs skill to create a Tencent DocAfter creating the document, provide the direct link. Reference the prototype in the PRD.
After presenting the PRD, ask the user:
"PRD 写好了。看一下验收标准是否可测?有没有'方案走私'(把方案写成需求)?Out of Scope 够明确吗?"
Wait for user confirmation before proceeding to Stage 4.
Generate API interface specifications based on the confirmed PRD and prototype.
Follow the template from references/api-spec-template.md. For each endpoint:
Append the API spec to the same PRD document (as a new section), or create a separate document if too long. The API spec should link back to relevant PRD sections.
After presenting the API spec, ask the user:
"接口定义也好了。字段类型、异常情况、业务规则都覆盖了吗?和 PRD 里的场景能不能对上?"
Once all four artifacts are confirmed, assemble the final handoff package.
Run through the review checklist from references/review-checklist.md:
Present the complete package to the user with a summary:
"交付包齐了——
If the user wants to change something in the current stage, modify it directly. No need to revisit earlier stages unless the change fundamentally alters scope.
If the user changes architecture after the prototype is built:
For small changes (e.g., "change button text", "add a field"), modify the relevant artifact directly without restarting the pipeline.
references/prd-template.md — Full PRD template with all required sectionsreferences/api-spec-template.md — API interface definition formatreferences/review-checklist.md — Per-stage and final review checklistLoad these reference files as needed during the workflow, particularly when producing Stage 3 (PRD) and Stage 4 (API spec).