ccgx-workflow 1.0.3 → 1.0.5

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.
Files changed (46) hide show
  1. package/README.md +1 -1
  2. package/dist/cli.mjs +182 -2
  3. package/dist/index.mjs +3 -2
  4. package/dist/shared/{ccgx-workflow.BnfaZnVu.mjs → ccgx-workflow.CZSjTyQd.mjs} +79 -1
  5. package/package.json +1 -1
  6. package/templates/commands/agents/code-fixer.md +1 -1
  7. package/templates/commands/agents/codebase-mapper.md +1 -1
  8. package/templates/commands/agents/debug-session-manager.md +1 -1
  9. package/templates/commands/agents/debugger.md +1 -1
  10. package/templates/commands/agents/interface-auditor.md +34 -8
  11. package/templates/commands/agents/phase-runner.md +27 -27
  12. package/templates/commands/agents/plan-checker.md +4 -4
  13. package/templates/commands/analyze.md +10 -10
  14. package/templates/commands/autonomous.md +45 -46
  15. package/templates/commands/cancel.md +8 -8
  16. package/templates/commands/codex-exec.md +2 -2
  17. package/templates/commands/debate.md +5 -5
  18. package/templates/commands/debug.md +8 -8
  19. package/templates/commands/execute.md +6 -6
  20. package/templates/commands/init.md +1 -1
  21. package/templates/commands/optimize.md +10 -10
  22. package/templates/commands/plan.md +15 -15
  23. package/templates/commands/result.md +1 -1
  24. package/templates/commands/review.md +70 -31
  25. package/templates/commands/spec-impl.md +1 -1
  26. package/templates/commands/spec-plan.md +2 -2
  27. package/templates/commands/spec-research.md +1 -1
  28. package/templates/commands/spec-review.md +1 -1
  29. package/templates/commands/status.md +15 -15
  30. package/templates/commands/team-exec.md +1 -1
  31. package/templates/commands/team.md +6 -6
  32. package/templates/commands/test.md +9 -9
  33. package/templates/commands/verify-work.md +8 -8
  34. package/templates/commands/verify.md +3 -3
  35. package/templates/commands/workflow.md +2 -2
  36. package/templates/rules/ccg-skills.md +1 -1
  37. package/templates/scripts/ccgx-call-plugin.mjs +324 -0
  38. package/templates/scripts/repatch-gemini-plugin.mjs +10 -0
  39. package/templates/skills/tools/extract-learnings/SKILL.md +1 -3
  40. package/templates/skills/tools/forensics/SKILL.md +0 -2
  41. package/templates/skills/tools/health/SKILL.md +0 -2
  42. package/templates/skills/tools/map-codebase/SKILL.md +0 -2
  43. package/templates/skills/tools/verify-change/SKILL.md +2 -2
  44. package/templates/skills/tools/verify-module/SKILL.md +2 -2
  45. package/templates/skills/tools/verify-quality/SKILL.md +2 -2
  46. package/templates/skills/tools/verify-security/SKILL.md +2 -2
@@ -10,8 +10,6 @@ argument-hint: "[--since=30d]"
10
10
 
11
11
  # 📚 复盘关卡 · 经验萃取
12
12
 
13
- > v4.1-p18:作为 skill 暴露(v3.0 曾有 `/ccg:extract-learnings` 命令规划,v4.0/v4.1 收敛到 skill 化触发)。
14
-
15
13
  从最近的开发活动中萃取**可复用知识**,写入 `.context/learnings/<日期>-extract.md`,避免反复踩同坑。
16
14
 
17
15
  ## 使用方法
@@ -58,7 +56,7 @@ ls .claude/team-plan/*-report.md 2>/dev/null
58
56
  1. ...
59
57
 
60
58
  ## 决策记录
61
- - **D1: 用 SessionStart hook 注入 roadmap** — 原因:v4.0 主线零项目记忆痛点
59
+ - **D1: 用 SessionStart hook 注入 roadmap** — 原因:主线零项目记忆痛点
62
60
 
63
61
  ## 工具陷阱
64
62
  - **subagent 不能 spawn 子 agent**(commit a7cdffd 实测)
@@ -10,8 +10,6 @@ argument-hint: "<file:line> 或 <function-name>"
10
10
 
11
11
  # 🔬 取证关卡 · 代码考古
12
12
 
13
- > v4.1-p18:作为 skill 暴露(v3.0 曾有 `/ccg:forensics` 规划)。
14
-
15
13
  给定一段"问题代码"或"已知 bug 现场",反向重建事故时间线:
16
14
 
17
15
  - 这一段最早什么时候引入?哪个 PR?
@@ -10,8 +10,6 @@ argument-hint: "[--repair]"
10
10
 
11
11
  # 🏥 健康度关卡 · 项目体检
12
12
 
13
- > v4.1-p18:从 `/ccg:health` 命令迁移为 skill。`/ccg:health` 自动生成路由保留。
14
-
15
13
  一次性盘点项目"是不是在烂掉"。不深入业务正确性,只看**工程层面的卫生指标**:依赖陈旧度、已知漏洞、文档与代码同步度、堆积的 TODO、CLAUDE.md 是否还反映现状、测试覆盖率(如可拿到)。输出 markdown 报告,每项打分 + 给出可执行修复建议。
16
14
 
17
15
  `--repair` 模式:对**安全且确定**的问题(如自动生成的过期文档骨架)询问后修复,绝不擅自动核心代码或依赖。
@@ -10,8 +10,6 @@ argument-hint: "[--fast] [focus-area]"
10
10
 
11
11
  # 🗺 制图关卡 · 代码库结构图
12
12
 
13
- > v4.1-p18:从 `/ccg:map-codebase` 命令迁移为 skill。`/ccg:map-codebase` 自动生成路由保留。
14
-
15
13
  为陌生项目 / 大型 brownfield 项目快速画一张"地图":哪些模块、模块间怎么依赖、关键技术栈、入口点在哪。输出三件套:
16
14
 
17
15
  1. **mermaid 模块依赖图**(可视化)
@@ -7,9 +7,9 @@ user-invocable: true
7
7
  disable-model-invocation: false
8
8
  allowed-tools: Bash, Read, Grep
9
9
  argument-hint: [--mode working|staged|committed]
10
- deprecated_in: v4.0
10
+ deprecated_in: 1.0.0
11
11
  replaced_by: /ccg:verify --gate=change
12
- deprecation_message: v4.0+ 推荐使用 `/ccg:verify --gate=change`。本命令仍可用以保持 BC,将在 v5.0 移除。详见 .ccg-migration/DEPRECATIONS.md
12
+ deprecation_message: 推荐使用 `/ccg:verify --gate=change`。本命令仍可用以保持 BC。详见 .ccg-migration/DEPRECATIONS.md
13
13
  ---
14
14
 
15
15
  # ⚖ 校验关卡 · 变更校验
@@ -7,9 +7,9 @@ user-invocable: true
7
7
  disable-model-invocation: false
8
8
  allowed-tools: Bash, Read, Glob
9
9
  argument-hint: <模块路径>
10
- deprecated_in: v4.0
10
+ deprecated_in: 1.0.0
11
11
  replaced_by: /ccg:verify --gate=module
12
- deprecation_message: v4.0+ 推荐使用 `/ccg:verify --gate=module`。本命令仍可用以保持 BC,将在 v5.0 移除。详见 .ccg-migration/DEPRECATIONS.md
12
+ deprecation_message: 推荐使用 `/ccg:verify --gate=module`。本命令仍可用以保持 BC。详见 .ccg-migration/DEPRECATIONS.md
13
13
  ---
14
14
 
15
15
  # ⚖ 校验关卡 · 模块完整性
@@ -7,9 +7,9 @@ user-invocable: true
7
7
  disable-model-invocation: false
8
8
  allowed-tools: Bash, Read, Glob
9
9
  argument-hint: <扫描路径>
10
- deprecated_in: v4.0
10
+ deprecated_in: 1.0.0
11
11
  replaced_by: /ccg:verify --gate=quality
12
- deprecation_message: v4.0+ 推荐使用 `/ccg:verify --gate=quality`。本命令仍可用以保持 BC,将在 v5.0 移除。详见 .ccg-migration/DEPRECATIONS.md
12
+ deprecation_message: 推荐使用 `/ccg:verify --gate=quality`。本命令仍可用以保持 BC。详见 .ccg-migration/DEPRECATIONS.md
13
13
  ---
14
14
 
15
15
  # ⚖ 校验关卡 · 代码质量
@@ -7,9 +7,9 @@ user-invocable: true
7
7
  disable-model-invocation: false
8
8
  allowed-tools: Bash, Read, Grep
9
9
  argument-hint: <扫描路径>
10
- deprecated_in: v4.0
10
+ deprecated_in: 1.0.0
11
11
  replaced_by: /ccg:verify --gate=security
12
- deprecation_message: v4.0+ 推荐使用 `/ccg:verify --gate=security`。本命令仍可用以保持 BC,将在 v5.0 移除。详见 .ccg-migration/DEPRECATIONS.md
12
+ deprecation_message: 推荐使用 `/ccg:verify --gate=security`。本命令仍可用以保持 BC。详见 .ccg-migration/DEPRECATIONS.md
13
13
  ---
14
14
 
15
15
  # ⚖ 校验关卡 · 安全校验