Refactor and enhance workflow commands and skills

- Removed obsolete ccw-test command file.
- Updated ccw command to include new team workflows and collaborative planning features.
- Enhanced review-cycle skill with unified auto mode detection for streamlined user experience.
- Improved team-quality-assurance monitoring command to utilize consistent auto mode detection.
- Standardized auto mode detection across workflow-execute and workflow-multi-cli-plan skills.
- Introduced cycle workflows for integration testing and refactoring with self-iterating capabilities.
- Added detailed usage examples for new team workflows and collaborative planning commands.
This commit is contained in:
catlog22
2026-02-17 18:00:58 +08:00
parent d5c6f65599
commit 41c6f07ee0
9 changed files with 476 additions and 1246 deletions

View File

@@ -57,7 +57,7 @@ const SLEEP_CMD = process.platform === 'win32'
: `sleep ${POLL_INTERVAL_SEC}`
// ★ 统一 auto mode 检测:-y/--yes 从 $ARGUMENTS 或 ccw 传播
const autoMode = /\b(-y|--yes)\b/.test(args)
const autoYes = /\b(-y|--yes)\b/.test(args)
```
## Execution Steps
@@ -123,7 +123,7 @@ for (const stageTask of pipelineTasks) {
if (!stageComplete) {
const elapsedMin = Math.round(pollCount * POLL_INTERVAL_SEC / 60)
if (autoMode) {
if (autoYes) {
// 自动模式:记录日志,自动跳过
mcp__ccw-tools__team_msg({
operation: "log", team: teamName, from: "coordinator",
@@ -286,7 +286,7 @@ const summary = {
|----------|------------|
| Message bus unavailable | Fall back to TaskList polling only |
| Stage timeout (交互模式) | AskUserQuestion继续等待 / 跳过 / 终止流水线 |
| Stage timeout (自动模式 `-y`/`--yes`) | 自动跳过,记录日志,继续流水线 |
| Stage timeout (自动模式 `-y`/`--yes``autoYes`) | 自动跳过,记录日志,继续流水线 |
| Teammate unresponsive (2x no response) | Respawn teammate with same task |
| Deadlock detected (tasks blocked indefinitely) | Identify cycle, manually unblock |
| Quality gate FAIL | Report to user, suggest targeted re-run |