Development Workflow
name
Windows 11 Desktop Enhancement App Development Workflow
goal
以 Microsoft Edge WebView2 为核心渲染引擎,持续交付轻量桌面容器和可扩展插件系统能力,支持 H5 动态壁纸、模块化桌面插件、插件自定义、拖拽布局、透明与点击穿透、配置持久化。
flow
flowchart LR
Product["Product\nproduct-agent + prd-skill"]
Architect["Architect\narchitect-agent + arch-skill + plugin-skill"]
Dev["Dev\ndev-agent + codegen-skill + plugin-skill + debug-skill"]
Docs["Manual Update\ndev-agent + product-agent"]
QA["QA\nqa-agent + test-skill + debug-skill"]
Review["Review\nall agents"]
Product --> Architect
Architect --> Dev
Dev --> Docs
Docs --> QA
QA --> Review
Review --> Product
Review --> Architect
Review --> Dev
Review --> Docs
steps
1. Product
- agent:
product-agent
- skills:
prd-skill
plugin-skill when the requirement affects plugin behavior or desktop widget experience
- input:
- user request
- feedback
- roadmap item
- defect report
- output:
- PRD
- user stories
- acceptance criteria
- user manual impact scope when the change affects user-visible flows
- open questions
- next:
- send PRD to
architect-agent
2. Architect
- agent:
architect-agent
- skills:
arch-skill
plugin-skill for plugin protocol, lifecycle, layout, and runtime boundaries
- input:
- PRD from
product-agent
- existing codebase and technical constraints
- output:
- architecture design
- module boundaries
- interfaces
- data model
- implementation tasks
- next:
- send implementation tasks to
dev-agent
- call
dba-agent when persistence schema or migration is required
3. Dev
- agent:
dev-agent
- skills:
codegen-skill
plugin-skill for plugin-related implementation
debug-skill for runtime, build, and integration issues
- input:
- architecture design from
architect-agent
- acceptance criteria from
product-agent
- persistence guidance from
dba-agent when applicable
- output:
- code changes
- scripts
- local verification results
- implementation notes
- next:
- send completed implementation and verification notes to Manual Update
4. Manual Update
- agent:
dev-agent for implementation-aligned operation steps
product-agent when the wording, user scenario, or product boundary needs clarification
- skills:
plugin-skill when updating plugin operation docs
prd-skill when user-facing behavior or positioning needs product confirmation
- input:
- completed code, configuration, script, or plugin changes from
dev-agent
- PRD acceptance criteria and user scenarios from
product-agent
- existing user manual files under
docs/product/user-manual.md and docs/product/user-manual/
- output:
- updated user operation manual for new or changed functionality
- updated plugin operation manual when plugin behavior, configuration, startup, interaction, or troubleshooting changes
- documentation notes covering unchanged-manual decisions when no user-facing behavior changed
- next:
- send implementation notes, verification notes, and manual changes to
qa-agent
5. QA
- agent:
qa-agent
- skills:
test-skill
debug-skill for defect reproduction and diagnosis
- input:
- PRD acceptance criteria
- architecture risk points
- Dev Agent implementation notes
- user operation manual changes or unchanged-manual rationale
- changed files and build output
- output:
- test plan
- test cases
- defect report
- regression result
- manual consistency result
- release recommendation
- next:
- send pass or fail result to Review
- route defects back to
dev-agent
- route missing or inaccurate operation manual content back to Manual Update
6. Review
- agent:
product-agent
architect-agent
dev-agent
dba-agent
qa-agent
- skills:
prd-skill for requirement alignment
arch-skill for design consistency
codegen-skill for implementation review
plugin-skill for plugin contract review
test-skill for release readiness
debug-skill for unresolved defects
- input:
- PRD
- architecture design
- implementation summary
- user operation manual changes
- test results
- known risks
- output:
- review decision:
approved, changes_requested, or blocked
- required changes
- release notes draft
- follow-up tasks
routing_rules
- If the requirement is unclear, return to
product-agent.
- If module boundaries, runtime model, or technical risks change, return to
architect-agent.
- If implementation fails or defects are confirmed, return to
dev-agent.
- If a completed feature or plugin change affects user-visible operation, configuration, startup, interaction, troubleshooting, or known limitations, update the operation manual before QA.
- If manual content is missing, outdated, or inconsistent with actual behavior, return to Manual Update.
- If persistence schema, migration, default values, or compatibility is involved, call
dba-agent.
- If release confidence is low, return to
qa-agent for expanded verification.
output_format
# Workflow Run: <task_name>
## Product Output
## Architecture Output
## Development Output
## Manual Update Output
## QA Output
## Review Decision
## Follow Up Tasks