| text-block-timer-dev-pipeline |
Text Block Timer 全流程开发 Skill |
2.0 |
通过一句话需求,自动驱动从 PRD → UI Review → 数据设计 → 技术方案 → 架构 Review → 测试用例 → 编码开发 → 功能测试的全流程开发流水线。
适用于 Obsidian 插件 Text Block Timer 项目的功能开发。
|
frankthwang |
2026-03-01 |
2026-03-01 |
| obsidian-plugin |
| full-stack |
| dev-pipeline |
| typescript |
|
| pattern |
description |
| 请基于 dev-skill-text-block-timer.md 执行开发流水线:* |
完整流水线触发 |
|
| pattern |
description |
| 请执行开发流水线:* |
完整流水线触发(简写) |
|
| pattern |
description |
| 请从 Phase * 开始执行* |
从指定阶段开始 |
|
| pattern |
description |
| 请只执行 Phase * |
单阶段执行 |
|
| pattern |
description |
| 返工 Phase * |
返工指定阶段 |
|
|
| required |
optional |
| name |
type |
description |
| requirement |
string |
用户的一句话需求描述 |
|
|
| name |
type |
range |
default |
description |
| start_phase |
integer |
|
1 |
起始阶段编号(默认从 Phase 1 开始) |
|
| name |
type |
range |
default |
description |
| end_phase |
integer |
|
8 |
结束阶段编号(默认执行到 Phase 8) |
|
| name |
type |
default |
description |
| skip_phases |
array<integer> |
|
需要跳过的阶段编号列表 |
|
| name |
type |
range |
default |
description |
| only_phase |
integer |
|
null |
仅执行指定的单个阶段 |
|
| name |
type |
default |
description |
| existing_prd |
file_path |
null |
已有的 PRD 文件路径(跳过 Phase 1 时必填) |
|
| name |
type |
default |
description |
| test_chain |
string |
null |
Phase 8 仅运行指定的测试链名称 |
|
|
|
| files |
completion_marker |
| path |
phase |
description |
| doc/PRD-{{feature_name}}.md |
1 |
产品需求文档 |
|
| path |
phase |
description |
| doc/tech-design-{{feature_name}}.md |
4 |
技术设计文档 |
|
| path |
phase |
description |
| doc/test-cases-{{feature_name}}.md |
6 |
测试用例文档 |
|
| path |
phase |
description |
| src/**/*.ts |
7 |
功能源码 |
|
| path |
phase |
description |
| tests/e2e-timer-test.mjs |
7 |
E2E 测试脚本 |
|
|
[🎉 全流程完成] |
|
| phase |
name |
role |
output |
tools |
| 1 |
PRD 撰写 |
资深产品经理(10 年经验) |
doc/PRD-{{feature_name}}.md |
|
|
| phase |
name |
role |
output |
tools |
| 2 |
UI/UX Review |
资深 UI/UX 设计师(8 年经验,桌面 + 移动端) |
修改后的 PRD(标注 [UX-优化]) |
| read_file |
| replace_in_file |
|
|
| phase |
name |
role |
output |
tools |
| 3 |
数据表需求设计 |
资深数仓工程师 + 数据分析师 |
数据 Schema 设计(嵌入技术方案或独立输出) |
|
|
| phase |
name |
role |
output |
tools |
| 4 |
技术方案撰写 |
资深前端架构师(8 年 TypeScript 大型项目) |
doc/tech-design-{{feature_name}}.md |
| read_file |
| codebase_search |
| edit_file |
|
|
| phase |
name |
role |
output |
tools |
branch_logic |
| 5 |
架构 Review |
全球顶级首席架构师(15+ 年) |
Review 报告 + 修复后的技术方案 |
| read_file |
| codebase_search |
| replace_in_file |
|
✅→Phase6 | ⚠️→AutoFix→Phase6 | ❌→回退Phase4 |
|
| phase |
name |
role |
output |
tools |
| 6 |
测试用例编写 |
产品经理 + QA 测试负责人 |
doc/test-cases-{{feature_name}}.md |
|
|
| phase |
name |
role |
output |
tools |
| 7 |
编码开发 |
资深全栈开发(TypeScript / Obsidian API / CM6 / ECharts) |
源码 + E2E 测试脚本 |
| read_file |
| codebase_search |
| edit_file |
| replace_in_file |
| multi_replace |
| terminal |
|
|
| phase |
name |
role |
output |
tools |
branch_logic |
| 8 |
测试验证 |
自动化测试工程师 |
测试报告 |
|
全通过→完成 | 失败→修复→重试(≤3轮) | 3轮失败→BLOCKED |
|
|
| mode |
total_phases |
allow_skip |
allow_jump |
allow_single |
allow_rework |
auto_advance |
| sequential_phases |
8 |
true |
true |
true |
true |
true |
|
| 项目已构建通过(npm run build 无报错) |
| Obsidian 开发环境可用(用于 E2E 测试) |
|
| project |
workspace |
| text-block-timer |
d:\work_frankthwang\text-block-timer-dev.obsidian\plugins\text-block-timer |
|
| execution_protocol |
reference_docs |
test_framework |
| doc/dev-skill-text-block-timer.md |
| path |
description |
| doc/architecture.md |
项目整体架构分析 |
|
| path |
description |
| doc/PRD-timer-sidebar.md |
已有 PRD 参考(Timer Sidebar) |
|
| path |
description |
| doc/tech-design-timer-sidebar.md |
已有技术设计参考 |
|
|
tests/e2e-timer-test.mjs |
|
| command |
effect |
| 暂停 |
暂停当前阶段,等待进一步指示 |
|
| command |
effect |
| 继续 |
从暂停处恢复执行 |
|
| command |
effect |
| 返工 Phase N |
回退到 Phase N 重新执行 |
|
| command |
effect |
| 跳过 |
跳过当前阶段,进入下一阶段 |
|
| command |
effect |
| 只测 [chain] |
Phase 8 只运行指定的测试链 |
|
|