Loading...
Loading...
Compare original and translation side by side
scan(扫出优化点清单)→ design(和用户定做哪几条、按什么顺序)→ apply(逐条执行,每步人工放行)scan (generate optimization point checklist) → design (confirm which items to implement and the order with the user) → apply (execute item by item, with manual approval for each step)cs-refactor-ffcs-refactor-ffcodestable/refactors/codestable/
└── refactors/
└── {YYYY-MM-DD}-{slug}/
├── {slug}-scan.md ← 阶段 1 产出的优化点清单
├── {slug}-refactor-design.md ← 阶段 2 的执行方案(选哪几条、顺序、验证)
├── {slug}-checklist.yaml ← 阶段 2 生成,阶段 3 推进
└── {slug}-apply-notes.md ← 阶段 3 的执行记录(每步做了什么、验证结果、偏离)YYYY-MM-DD-{英文 slug}user-form-splitexport-perfcodestable/refactors/codestable/
└── refactors/
└── {YYYY-MM-DD}-{slug}/
├── {slug}-scan.md ← Optimization point checklist generated in Stage 1
├── {slug}-refactor-design.md ← Execution plan from Stage 2 (selected items, order, verification)
├── {slug}-checklist.yaml ← Generated in Stage 2, used to advance Stage 3
└── {slug}-apply-notes.md ← Execution records from Stage 3 (what was done in each step, verification results, deviations)YYYY-MM-DD-{english slug}user-form-splitexport-perf| 阶段 | 子流程 | 产出 | 谁主导 |
|---|---|---|---|
| 1 scan | 扫出优化点清单 | {slug}-scan.md | AI 扫代码 + 做前置检查,用户勾选 |
| 2 design | 定执行方案 | {slug}-refactor-design.md + {slug}-checklist.yaml | AI 起草,用户整体 review |
| 3 apply | 逐条执行 | 代码改动 + {slug}-apply-notes.md | AI 执行,每步人工放行 |
| Stage | Sub-process | Output | Lead |
|---|---|---|---|
| 1 scan | Generate optimization point checklist | {slug}-scan.md | AI scans code + runs pre-checks, user selects items |
| 2 design | Finalize execution plan | {slug}-refactor-design.md + {slug}-checklist.yaml | AI drafts, user conducts overall review |
| 3 apply | Execute item by item | Code changes + {slug}-apply-notes.md | AI executes, manual approval for each step |
reference/refusal-routing.mdreference/refusal-routing.mdreference/methods.mdreference/methods.md{slug}-scan.mdreference/scan-checklist-format.md{slug}-scan.md{slug}-scan.mdreference/scan-checklist-format.md{slug}-scan.md{slug}-scan.mdreference/methods.md{slug}-scan.mdreference/methods.md{slug}-refactor-design.mdstatusapproved{slug}-checklist.yaml{slug}-refactor-design.mdstatusapproved{slug}-checklist.yaml---
doc_type: refactor-design
refactor: {YYYY-MM-DD}-{slug}
status: draft | approved
scope: {扫描范围一句话}
summary: {本次要做的几条是什么,一句话}
------
doc_type: refactor-design
refactor: {YYYY-MM-DD}-{slug}
status: draft | approved
scope: {one sentence describing scan scope}
summary: {one sentence describing the items to be implemented}
---
---
------
doc_type: refactor-apply-notes
refactor: {YYYY-MM-DD}-{slug}
------
doc_type: refactor-apply-notes
refactor: {YYYY-MM-DD}-{slug}
---undefinedundefined{slug}-scan.md{slug}-refactor-design.md{slug}-checklist.yaml{slug}-scan.md{slug}-refactor-design.md{slug}-checklist.yamlcodestable/reference/system-overview.mdcs-refactor-ff/SKILL.mdreference/scan-checklist-format.mdreference/refusal-routing.mdreference/methods.mdcodestable/reference/shared-conventions.mdcodestable/reference/system-overview.mdcs-refactor-ff/SKILL.mdreference/scan-checklist-format.mdreference/refusal-routing.mdreference/methods.mdcodestable/reference/shared-conventions.md