cc-devflow 1.0.2 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/CLAUDE.md +123 -4
- package/.claude/agents/code-quality-reviewer.md +205 -0
- package/.claude/agents/spec-reviewer.md +221 -0
- package/.claude/commands/cancel-ralph.md +59 -0
- package/.claude/commands/flow-dev.md +202 -21
- package/.claude/commands/flow-epic.md +33 -0
- package/.claude/commands/flow-fix.md +138 -20
- package/.claude/commands/flow-init.md +104 -15
- package/.claude/commands/flow-new.md +84 -35
- package/.claude/commands/flow-prd.md +16 -3
- package/.claude/commands/flow-release.md +33 -0
- package/.claude/commands/flow-review.md +257 -0
- package/.claude/docs/templates/ATTEMPT_TEMPLATE.md +156 -0
- package/.claude/docs/templates/BRAINSTORM_TEMPLATE.md +148 -0
- package/.claude/docs/templates/ERROR_LOG_TEMPLATE.md +80 -0
- package/.claude/docs/templates/INIT_FLOW_TEMPLATE.md +22 -14
- package/.claude/guides/workflow-guides/flow-orchestrator.md +2 -2
- package/.claude/hooks/hooks.json +15 -0
- package/.claude/hooks/ralph-stop-hook.sh +190 -0
- package/.claude/rules/devflow-conventions.md +3 -1
- package/.claude/rules/project-constitution.md +256 -2
- package/.claude/rules/rationalization-library.md +282 -0
- package/.claude/scripts/create-requirement.sh +19 -6
- package/.claude/scripts/setup-ralph-loop.sh +155 -0
- package/.claude/scripts/verify-gate.sh +269 -0
- package/.claude/skills/cc-devflow-orchestrator/SKILL.md +70 -20
- package/.claude/skills/file-header-guardian/SKILL.md +56 -0
- package/.claude/skills/flow-attention-refresh/SKILL.md +170 -0
- package/.claude/skills/flow-brainstorming/SKILL.md +161 -0
- package/.claude/skills/flow-debugging/SKILL.md +221 -0
- package/.claude/skills/flow-finishing-branch/SKILL.md +189 -0
- package/.claude/skills/flow-receiving-review/SKILL.md +153 -0
- package/.claude/skills/flow-tdd/SKILL.md +218 -0
- package/.claude/skills/fractal-docs-generator/SKILL.md +45 -0
- package/.claude/skills/skill-rules.json +75 -0
- package/.claude/skills/verification-before-completion/SKILL.md +158 -0
- package/.claude/tsc-cache/777aa1de-497e-411b-a40f-13b74efcec58/edited-files.log +2 -1
- package/README.md +104 -19
- package/README.zh-CN.md +79 -1
- package/docs/commands/flow-init.md +3 -1
- package/docs/commands/flow-init.zh-CN.md +3 -1
- package/package.json +2 -2
- package/.claude/tsc-cache/777aa1de-497e-411b-a40f-13b74efcec58/affected-repos.txt +0 -1
package/README.md
CHANGED
|
@@ -29,6 +29,7 @@ Complete automated workflow from PRD generation to code delivery with `/flow-new
|
|
|
29
29
|
- 🔍 **Consistency Verification** - Enterprise-grade consistency checking with intelligent conflict detection
|
|
30
30
|
- 🧪 **TDD Enforced** - Strict Test-Driven Development with TEST VERIFICATION CHECKPOINT
|
|
31
31
|
- 📜 **Constitution** - 10 Articles governing quality, security, and architecture
|
|
32
|
+
- 🔄 **Autonomous Development** - Ralph × Manus Integration for memory-enhanced continuous iteration
|
|
32
33
|
- 🔌 **Multi-Platform Support** - Compile workflows for Codex, Cursor, Qwen, Antigravity via `npm run adapt`
|
|
33
34
|
|
|
34
35
|
---
|
|
@@ -239,6 +240,8 @@ bash .claude/tests/constitution/run_all_constitution_tests.sh
|
|
|
239
240
|
| `/flow-init` | 📦 Initialize Requirement | `/flow-init "REQ-123\|Feature"` | [→](docs/commands/flow-init.md) |
|
|
240
241
|
| `/flow-clarify` | 🔎 Clarify Ambiguities | `/flow-clarify "REQ-123"` | [→](.claude/commands/flow-clarify.md) |
|
|
241
242
|
| `/flow-checklist` | ✅ Requirement Quality Check | `/flow-checklist --type ux` | [→](.claude/commands/flow-checklist.md) |
|
|
243
|
+
| `/flow-review` | �� Two-Stage Code Review | `/flow-review "REQ-123"` | [→](.claude/commands/flow-review.md) |
|
|
244
|
+
| `/flow-fix` | 🐛 Systematic Bug Fix | `/flow-fix "BUG-123\|Description"` | [→](.claude/commands/flow-fix.md) |
|
|
242
245
|
| `/flow-verify` | 🔍 Verify Consistency | `/flow-verify "REQ-123"` | [→](docs/commands/flow-verify.md) |
|
|
243
246
|
| `/flow-qa` | 🧪 Quality Assurance | `/flow-qa "REQ-123"` | [→](docs/commands/flow-qa.md) |
|
|
244
247
|
| `/flow-release` | 🚢 Create Release | `/flow-release "REQ-123"` | [→](docs/commands/flow-release.md) |
|
|
@@ -275,42 +278,44 @@ The following Mermaid diagram illustrates the complete cc-devflow workflow, incl
|
|
|
275
278
|
```mermaid
|
|
276
279
|
graph TB
|
|
277
280
|
Start([Start Project]) --> ProjectLevel{Project-Level Setup}
|
|
278
|
-
|
|
281
|
+
|
|
279
282
|
ProjectLevel --> CoreRoadmap["/core-roadmap<br/>ROADMAP.md & BACKLOG.md"]
|
|
280
283
|
ProjectLevel --> CoreArch["/core-architecture<br/>ARCHITECTURE.md"]
|
|
281
284
|
ProjectLevel --> CoreGuidelines["/core-guidelines<br/>frontend/backend guidelines"]
|
|
282
285
|
ProjectLevel --> CoreStyle["/core-style<br/>STYLE.md"]
|
|
283
|
-
|
|
286
|
+
|
|
284
287
|
CoreRoadmap --> ReqLevel
|
|
285
288
|
CoreArch --> ReqLevel
|
|
286
289
|
CoreGuidelines --> ReqLevel
|
|
287
290
|
CoreStyle --> ReqLevel
|
|
288
|
-
|
|
289
|
-
ReqLevel([Requirement-Level Development]) --> FlowInit["/flow-init<br/>research.md &
|
|
290
|
-
|
|
291
|
+
|
|
292
|
+
ReqLevel([Requirement-Level Development]) --> FlowInit["/flow-init<br/>research.md & BRAINSTORM.md"]
|
|
293
|
+
|
|
291
294
|
FlowInit --> FlowClarify["/flow-clarify<br/>clarifications/*.md<br/>Optional"]
|
|
292
|
-
FlowClarify --> FlowPRD["/flow-prd<br/>PRD.md"]
|
|
295
|
+
FlowClarify --> FlowPRD["/flow-prd<br/>PRD.md<br/>BRAINSTORM alignment"]
|
|
293
296
|
FlowInit -.->|Skip clarify| FlowPRD
|
|
294
297
|
FlowPRD --> FlowChecklist["/flow-checklist<br/>checklists/*.md<br/>80% Gate"]
|
|
295
298
|
FlowPRD --> FlowTech["/flow-tech<br/>TECH_DESIGN.md & data-model"]
|
|
296
299
|
FlowPRD --> FlowUI["/flow-ui<br/>UI_PROTOTYPE.html<br/>Optional"]
|
|
297
300
|
|
|
298
301
|
FlowChecklist --> FlowEpic
|
|
299
|
-
FlowTech --> FlowEpic["/flow-epic<br/>EPIC.md & TASKS.md"]
|
|
302
|
+
FlowTech --> FlowEpic["/flow-epic<br/>EPIC.md & TASKS.md<br/>bite-sized tasks"]
|
|
300
303
|
FlowUI --> FlowEpic
|
|
301
|
-
|
|
302
|
-
FlowEpic --> FlowDev["/flow-dev<br/>TASKS.md execution<br/>TDD
|
|
303
|
-
|
|
304
|
-
FlowDev -->
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
304
|
+
|
|
305
|
+
FlowEpic --> FlowDev["/flow-dev<br/>TASKS.md execution<br/>TDD Checkpoint"]
|
|
306
|
+
|
|
307
|
+
FlowDev --> FlowReview["/flow-review<br/>Two-Stage Review<br/>Spec → Quality"]
|
|
308
|
+
|
|
309
|
+
FlowReview --> FlowQA["/flow-qa<br/>QA reports & Security"]
|
|
310
|
+
|
|
311
|
+
FlowQA --> FlowRelease["/flow-release<br/>PR creation<br/>Branch decision"]
|
|
312
|
+
|
|
308
313
|
FlowRelease --> FlowVerify["/flow-verify<br/>Consistency check"]
|
|
309
|
-
|
|
314
|
+
|
|
310
315
|
FlowVerify --> End([Release Complete])
|
|
311
|
-
|
|
316
|
+
|
|
312
317
|
FlowVerify -.->|Can be called at any stage| ReqLevel
|
|
313
|
-
|
|
318
|
+
|
|
314
319
|
style ProjectLevel fill:#e1f5ff
|
|
315
320
|
style ReqLevel fill:#fff4e1
|
|
316
321
|
style FlowInit fill:#e8f5e9
|
|
@@ -321,6 +326,7 @@ graph TB
|
|
|
321
326
|
style FlowUI fill:#fff9c4
|
|
322
327
|
style FlowEpic fill:#e8f5e9
|
|
323
328
|
style FlowDev fill:#f3e5f5
|
|
329
|
+
style FlowReview fill:#e1bee7
|
|
324
330
|
style FlowQA fill:#fce4ec
|
|
325
331
|
style FlowRelease fill:#e0f2f1
|
|
326
332
|
style FlowVerify fill:#e3f2fd
|
|
@@ -329,10 +335,12 @@ graph TB
|
|
|
329
335
|
**Workflow Notes**:
|
|
330
336
|
- **Project-Level Commands** (light blue): Execute once at project initialization, establish global standards (SSOT)
|
|
331
337
|
- **Requirement-Level Commands** (light orange): Execute once per requirement (REQ-XXX)
|
|
338
|
+
- **Brainstorming** (v2.3.0): `/flow-init` now generates `BRAINSTORM.md` as requirement "North Star"
|
|
339
|
+
- **Two-Stage Review** (v2.3.0): `/flow-review` validates Spec Compliance before Code Quality
|
|
332
340
|
- **Optional Steps** (yellow): `/flow-clarify` and `/flow-ui` are optional; clarify can be skipped if requirements are clear
|
|
333
341
|
- **Quality Gate** (orange): `/flow-checklist` validates requirement quality with 80% completion threshold before `/flow-epic`
|
|
342
|
+
- **TDD Checkpoint** (v2.3.0): `/flow-dev` includes mandatory TDD checkpoint (tests must FAIL first)
|
|
334
343
|
- **Quality Gates**: Each stage has entry/exit gates ensuring document quality and Constitution compliance
|
|
335
|
-
- **TDD Enforcement**: `/flow-dev` strictly enforces Test-Driven Development order
|
|
336
344
|
- **Consistency Check**: `/flow-verify` can be called at any stage to ensure document consistency
|
|
337
345
|
|
|
338
346
|
---
|
|
@@ -476,7 +484,84 @@ bash .claude/tests/run-all-tests.sh --scripts
|
|
|
476
484
|
|
|
477
485
|
## 📝 Version History
|
|
478
486
|
|
|
479
|
-
### v2.
|
|
487
|
+
### v2.3.0 (2026-01-08) - Latest Release
|
|
488
|
+
|
|
489
|
+
**🛡️ Discipline System: Iron Law + Rationalization Defense + Pressure Testing**
|
|
490
|
+
|
|
491
|
+
v2.3.0 upgrades the Constitution from a "document" to an "executable discipline system", borrowing best practices from superpowers project:
|
|
492
|
+
|
|
493
|
+
- **Iron Law + Rationalization Tables** - Pre-block AI Agent rationalization attempts
|
|
494
|
+
- Each of 10 Constitution Articles now has an Iron Law (absolute prohibition)
|
|
495
|
+
- Rationalization Tables with `| Excuse | Reality |` format
|
|
496
|
+
- Red Flags for AI self-check triggers
|
|
497
|
+
- Centralized `rationalization-library.md` for all rationalizations
|
|
498
|
+
|
|
499
|
+
- **Two-Stage Code Review** - `/flow-review` command (NEW)
|
|
500
|
+
- Stage 1: Spec Compliance (don't trust implementer reports, read code directly)
|
|
501
|
+
- Stage 2: Code Quality (only runs after Stage 1 passes)
|
|
502
|
+
- `spec-reviewer.md` and `code-quality-reviewer.md` agents
|
|
503
|
+
|
|
504
|
+
- **Verification Before Completion** - Evidence before assertions
|
|
505
|
+
- `verification-before-completion` skill
|
|
506
|
+
- `verify-gate.sh` script for all flow exit gates
|
|
507
|
+
- No completion claims without fresh verification evidence
|
|
508
|
+
|
|
509
|
+
- **Systematic Debugging** - `/flow-fix` enhanced with 4-phase debugging
|
|
510
|
+
- Phase 1: Root Cause Investigation (NO FIXES YET)
|
|
511
|
+
- Phase 2: Pattern Analysis
|
|
512
|
+
- Phase 3: Hypothesis and Testing
|
|
513
|
+
- Phase 4: TDD Implementation
|
|
514
|
+
- `flow-debugging` and `flow-tdd` skills
|
|
515
|
+
|
|
516
|
+
- **Brainstorming Integration** - `/flow-init` now includes brainstorming
|
|
517
|
+
- `BRAINSTORM.md` as requirement "North Star"
|
|
518
|
+
- `/flow-prd` requires BRAINSTORM alignment check
|
|
519
|
+
- `flow-brainstorming` skill
|
|
520
|
+
|
|
521
|
+
- **Pressure Testing Framework** - TDD for Skills
|
|
522
|
+
- `tests/pressure-scenarios/` with 4 scenarios
|
|
523
|
+
- Tests AI behavior under time/sunk cost/authority/exhaustion pressure
|
|
524
|
+
- `run-pressure-tests.sh` runner
|
|
525
|
+
|
|
526
|
+
- **Skills Fusion** - Superpowers skills migrated to local
|
|
527
|
+
- `flow-tdd`, `flow-debugging`, `flow-receiving-review`, `flow-finishing-branch`
|
|
528
|
+
- All `superpowers:xxx` references replaced with local skills
|
|
529
|
+
|
|
530
|
+
- **Ralph × Manus Integration** - Autonomous development with memory (NEW)
|
|
531
|
+
- Merged into `/flow-dev` (Autonomous by default)
|
|
532
|
+
- `flow-attention-refresh` skill with 4 refresh protocols
|
|
533
|
+
- `ERROR_LOG.md` structured error tracking
|
|
534
|
+
- `research/attempts/` failure trace recording
|
|
535
|
+
- Stop Hook for self-referential loops
|
|
536
|
+
- Manus method in `/flow-init` Stage 2.5 Research
|
|
537
|
+
- Target: ≥85% task completion rate without human intervention
|
|
538
|
+
|
|
539
|
+
**📋 Constitution v2.1.0**:
|
|
540
|
+
- All 10 Articles now have Iron Law + Rationalization Defense + Red Flags
|
|
541
|
+
- Cross-reference to `rationalization-library.md`
|
|
542
|
+
|
|
543
|
+
**📁 New Files**:
|
|
544
|
+
- `.claude/commands/cancel-ralph.md` - Cancel Ralph loop command
|
|
545
|
+
- `.claude/skills/flow-attention-refresh/SKILL.md` - 4 attention refresh protocols
|
|
546
|
+
- `.claude/hooks/ralph-stop-hook.sh` - Stop Hook for self-referential loops
|
|
547
|
+
- `.claude/hooks/hooks.json` - Hook registration configuration
|
|
548
|
+
- `.claude/scripts/setup-ralph-loop.sh` - Ralph state initialization script
|
|
549
|
+
- `.claude/docs/templates/ERROR_LOG_TEMPLATE.md` - Execution error log format
|
|
550
|
+
- `.claude/docs/templates/ATTEMPT_TEMPLATE.md` - Research attempt log format
|
|
551
|
+
- `.claude/agents/spec-reviewer.md` - Stage 1 spec compliance reviewer
|
|
552
|
+
- `.claude/agents/code-quality-reviewer.md` - Stage 2 code quality reviewer
|
|
553
|
+
- `.claude/commands/flow-review.md` - Two-stage review command
|
|
554
|
+
- `.claude/rules/rationalization-library.md` - Centralized rationalization defense
|
|
555
|
+
- `.claude/scripts/verify-gate.sh` - Exit gate verification script
|
|
556
|
+
- `.claude/skills/flow-brainstorming/` - Brainstorming skill
|
|
557
|
+
- `.claude/skills/flow-debugging/` - Systematic debugging skill
|
|
558
|
+
- `.claude/skills/flow-tdd/` - TDD enforcement skill
|
|
559
|
+
- `.claude/skills/flow-receiving-review/` - Review feedback handling skill
|
|
560
|
+
- `.claude/skills/flow-finishing-branch/` - Branch completion decision skill
|
|
561
|
+
- `.claude/skills/verification-before-completion/` - Completion verification skill
|
|
562
|
+
- `tests/` - Pressure testing framework
|
|
563
|
+
|
|
564
|
+
### v2.2.0 (2025-12-19)
|
|
480
565
|
|
|
481
566
|
**🔌 Multi-Platform Adaptation: Agent Adapter Architecture + Command Emitter**
|
|
482
567
|
|
package/README.zh-CN.md
CHANGED
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
- 🔍 **一致性验证** - 企业级一致性检查,智能冲突检测
|
|
30
30
|
- 🧪 **TDD 强制执行** - 严格的测试驱动开发,TEST VERIFICATION CHECKPOINT
|
|
31
31
|
- 📜 **Constitution** - 10条宪法条款管控质量、安全和架构
|
|
32
|
+
- 🔄 **自主开发** - Ralph × Manus 集成实现有记忆的持续迭代
|
|
32
33
|
- 🔌 **多平台支持** - 通过 `npm run adapt` 编译工作流到 Codex、Cursor、Qwen、Antigravity
|
|
33
34
|
|
|
34
35
|
---
|
|
@@ -471,7 +472,84 @@ bash .claude/tests/run-all-tests.sh --scripts
|
|
|
471
472
|
|
|
472
473
|
## 📝 版本历史
|
|
473
474
|
|
|
474
|
-
### v2.
|
|
475
|
+
### v2.3.0 (2026-01-08) - 最新版本
|
|
476
|
+
|
|
477
|
+
**🛡️ 纪律系统:铁律 + 合理化防御 + 压力测试**
|
|
478
|
+
|
|
479
|
+
v2.3.0 将 Constitution 从"文档"升级为"可执行纪律系统",借鉴 superpowers 项目最佳实践:
|
|
480
|
+
|
|
481
|
+
- **铁律 + 合理化表格** - 预先阻止 AI Agent 合理化尝试
|
|
482
|
+
- 10 条 Constitution 条款现在都有铁律(绝对禁止)
|
|
483
|
+
- 合理化表格采用 `| 借口 | 现实 |` 格式
|
|
484
|
+
- 红旗标志用于 AI 自检触发
|
|
485
|
+
- 集中式 `rationalization-library.md` 存储所有合理化
|
|
486
|
+
|
|
487
|
+
- **两阶段代码审查** - `/flow-review` 命令(新增)
|
|
488
|
+
- 阶段 1:规格合规性(不信任实现者报告,直接读代码)
|
|
489
|
+
- 阶段 2:代码质量(仅在阶段 1 通过后运行)
|
|
490
|
+
- `spec-reviewer.md` 和 `code-quality-reviewer.md` 代理
|
|
491
|
+
|
|
492
|
+
- **完成前验证** - 断言前先有证据
|
|
493
|
+
- `verification-before-completion` 技能
|
|
494
|
+
- `verify-gate.sh` 脚本用于所有流程出口闸门
|
|
495
|
+
- 没有新鲜验证证据不得声称完成
|
|
496
|
+
|
|
497
|
+
- **系统化调试** - `/flow-fix` 增强 4 阶段调试
|
|
498
|
+
- 阶段 1:根因调查(尚未修复)
|
|
499
|
+
- 阶段 2:模式分析
|
|
500
|
+
- 阶段 3:假设和测试
|
|
501
|
+
- 阶段 4:TDD 实现
|
|
502
|
+
- `flow-debugging` 和 `flow-tdd` 技能
|
|
503
|
+
|
|
504
|
+
- **头脑风暴集成** - `/flow-init` 现在包含头脑风暴
|
|
505
|
+
- `BRAINSTORM.md` 作为需求"北极星"
|
|
506
|
+
- `/flow-prd` 需要 BRAINSTORM 对齐检查
|
|
507
|
+
- `flow-brainstorming` 技能
|
|
508
|
+
|
|
509
|
+
- **压力测试框架** - 技能的 TDD
|
|
510
|
+
- `tests/pressure-scenarios/` 包含 4 个场景
|
|
511
|
+
- 测试 AI 在时间/沉没成本/权威/疲劳压力下的行为
|
|
512
|
+
- `run-pressure-tests.sh` 运行器
|
|
513
|
+
|
|
514
|
+
- **技能融合** - Superpowers 技能迁移到本地
|
|
515
|
+
- `flow-tdd`、`flow-debugging`、`flow-receiving-review`、`flow-finishing-branch`
|
|
516
|
+
- 所有 `superpowers:xxx` 引用替换为本地技能
|
|
517
|
+
|
|
518
|
+
- **Ralph × Manus 集成** - 有记忆的自主开发(新增)
|
|
519
|
+
- 合并入 `/flow-dev` (默认自主模式)
|
|
520
|
+
- `flow-attention-refresh` 技能提供 4 个刷新协议
|
|
521
|
+
- `ERROR_LOG.md` 结构化错误追踪
|
|
522
|
+
- `research/attempts/` 失败痕迹记录
|
|
523
|
+
- Stop Hook 实现自引用循环
|
|
524
|
+
- `/flow-init` Stage 2.5 融入 Manus 研究方法
|
|
525
|
+
- 目标:无人工干预任务完成率 ≥85%
|
|
526
|
+
|
|
527
|
+
**📋 Constitution v2.1.0**:
|
|
528
|
+
- 所有 10 条条款现在都有铁律 + 合理化防御 + 红旗标志
|
|
529
|
+
- 交叉引用到 `rationalization-library.md`
|
|
530
|
+
|
|
531
|
+
**📁 新增文件**:
|
|
532
|
+
- `.claude/commands/cancel-ralph.md` - 取消 Ralph 循环命令
|
|
533
|
+
- `.claude/skills/flow-attention-refresh/SKILL.md` - 4 个注意力刷新协议
|
|
534
|
+
- `.claude/hooks/ralph-stop-hook.sh` - 自引用循环 Stop Hook
|
|
535
|
+
- `.claude/hooks/hooks.json` - Hook 注册配置
|
|
536
|
+
- `.claude/scripts/setup-ralph-loop.sh` - Ralph 状态初始化脚本
|
|
537
|
+
- `.claude/docs/templates/ERROR_LOG_TEMPLATE.md` - 执行错误日志格式
|
|
538
|
+
- `.claude/docs/templates/ATTEMPT_TEMPLATE.md` - 研究尝试日志格式
|
|
539
|
+
- `.claude/agents/spec-reviewer.md` - 阶段 1 规格合规性审查员
|
|
540
|
+
- `.claude/agents/code-quality-reviewer.md` - 阶段 2 代码质量审查员
|
|
541
|
+
- `.claude/commands/flow-review.md` - 两阶段审查命令
|
|
542
|
+
- `.claude/rules/rationalization-library.md` - 集中式合理化防御
|
|
543
|
+
- `.claude/scripts/verify-gate.sh` - 出口闸门验证脚本
|
|
544
|
+
- `.claude/skills/flow-brainstorming/` - 头脑风暴技能
|
|
545
|
+
- `.claude/skills/flow-debugging/` - 系统化调试技能
|
|
546
|
+
- `.claude/skills/flow-tdd/` - TDD 强制执行技能
|
|
547
|
+
- `.claude/skills/flow-receiving-review/` - 审查反馈处理技能
|
|
548
|
+
- `.claude/skills/flow-finishing-branch/` - 分支完成决策技能
|
|
549
|
+
- `.claude/skills/verification-before-completion/` - 完成验证技能
|
|
550
|
+
- `tests/` - 压力测试框架
|
|
551
|
+
|
|
552
|
+
### v2.2.0 (2025-12-19)
|
|
475
553
|
|
|
476
554
|
**🔌 多平台适配:Agent 适配器架构 + 命令编译器**
|
|
477
555
|
|
|
@@ -22,6 +22,8 @@ Initialize requirement directory structure and load roadmap and architecture con
|
|
|
22
22
|
|-----------|-------------|----------|---------|
|
|
23
23
|
| **REQ-ID** | Requirement number | ✅ | `REQ-123` |
|
|
24
24
|
| **Feature Title** | Brief description | ✅ | `User Authentication Feature` |
|
|
25
|
+
|
|
26
|
+
> If the title contains non-ASCII text, the agent produces an English semantic translation for branch naming (not pinyin), while keeping the original title in docs.
|
|
25
27
|
| **--interactive** | Interactive ID selection | ❌ | Auto-select next available ID |
|
|
26
28
|
|
|
27
29
|
## 🎬 Use Cases
|
|
@@ -68,7 +70,7 @@ Stage 2.6: Research task dispatch & decision integration
|
|
|
68
70
|
└─ Consolidate research findings
|
|
69
71
|
↓
|
|
70
72
|
Stage 3: Git branch creation
|
|
71
|
-
└─ Create feature/REQ-XXX-
|
|
73
|
+
└─ Create feature/REQ-XXX-english-slug branch (model-translated, not pinyin)
|
|
72
74
|
```
|
|
73
75
|
|
|
74
76
|
## 💡 Examples
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
| **功能标题** | 简短描述 | ✅ | `用户认证功能` |
|
|
21
21
|
| **--interactive** | 交互式选择 ID | ❌ | 自动选择下一个可用 ID |
|
|
22
22
|
|
|
23
|
+
> 若标题包含中文/非ASCII,分支名将使用模型意译生成英文语义短语(禁止拼音/音译),文档标题仍保留原始中文。
|
|
24
|
+
|
|
23
25
|
## 🎬 使用场景
|
|
24
26
|
|
|
25
27
|
### ✅ 推荐场景
|
|
@@ -65,7 +67,7 @@ Stage 2.6: 调研任务分派与决策整合(FIXED)
|
|
|
65
67
|
└─ 整合研究结论 (consolidate-research.sh)
|
|
66
68
|
↓
|
|
67
69
|
Stage 3: Git 分支创建
|
|
68
|
-
└─ 创建 feature/REQ-123-user-auth
|
|
70
|
+
└─ 创建 feature/REQ-123-user-auth 分支(标题英文意译,非拼音)
|
|
69
71
|
```
|
|
70
72
|
|
|
71
73
|
## 💡 示例
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cc-devflow",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "DevFlow CLI tool",
|
|
5
5
|
"main": "bin/cc-devflow.js",
|
|
6
6
|
"bin": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"adapt:antigravity": "node bin/adapt.js --platform antigravity"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"gray-matter": "^4.0.3",
|
|
40
39
|
"@iarna/toml": "^2.2.5",
|
|
40
|
+
"gray-matter": "^4.0.3",
|
|
41
41
|
"js-yaml": "^4.1.0",
|
|
42
42
|
"zod": "^3.22.4"
|
|
43
43
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
root
|