mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-27 09:13:07 +08:00
feat: Migrate flow-coordinator templates from deleted command paths to Skill names
All 16 template JSON files updated: - Migrated Skills: /workflow:lite-plan → workflow-lite-plan (hyphen format) - Existing commands: /issue:discover → issue:discover (removed leading /) - Added route field for multi-mode Skill routing (lite-execute, plan-verify, etc.) SKILL.md updated: - TemplateStep schema adds route field and cmd naming rules - Execution logic uses Skill() invocation instead of SlashCommand() - Prompt building supports route-based routing - Available Templates table uses new Skill name format
This commit is contained in:
@@ -344,29 +344,45 @@ async function selectTemplate(templates) {
|
||||
**Templates stored in**: `templates/*.json` (discovered at runtime via Glob)
|
||||
|
||||
**TemplateStep Fields**:
|
||||
- `cmd`: Full command path (e.g., `/workflow:lite-plan`, `/workflow:execute`)
|
||||
- `cmd`: Skill name or command path (e.g., `workflow-lite-plan`, `workflow:debug-with-file`, `issue:discover`)
|
||||
- `route?`: Sub-mode for multi-mode Skills (e.g., `lite-execute`, `plan-verify`, `test-cycle-execute`)
|
||||
- `args?`: Arguments with `{{goal}}` and `{{prev}}` placeholders
|
||||
- `unit?`: Minimum execution unit name (groups related commands)
|
||||
- `optional?`: Can be skipped by user
|
||||
- `execution`: Type and mode configuration
|
||||
- `type`: Always `'slash-command'` (for all workflow commands)
|
||||
- `type`: Always `'slash-command'` (invoked via Skill tool)
|
||||
- `mode`: `'mainprocess'` (blocking) or `'async'` (background)
|
||||
- `contextHint?`: Natural language guidance for context assembly
|
||||
|
||||
**cmd 命名规则**:
|
||||
- **Skills(已迁移)**: 使用连字符格式 Skill 名称,如 `workflow-lite-plan`、`review-cycle`
|
||||
- **Commands(仍存在)**: 使用冒号格式命令路径,如 `workflow:brainstorm-with-file`、`issue:discover`
|
||||
|
||||
**route 字段**:
|
||||
多模式 Skill 通过 `route` 区分子模式。同一 Skill 的不同步骤共享 `cmd`,通过 `route` 路由:
|
||||
| Skill | 默认模式 (无 route) | route 值 |
|
||||
|-------|-------------------|----------|
|
||||
| `workflow-lite-plan` | lite-plan | `lite-execute` |
|
||||
| `workflow-plan` | plan | `plan-verify`, `replan` |
|
||||
| `workflow-test-fix` | test-fix-gen | `test-cycle-execute` |
|
||||
| `workflow-tdd` | tdd-plan | `tdd-verify` |
|
||||
| `review-cycle` | - | `session`, `module`, `fix` |
|
||||
|
||||
**Template Example**:
|
||||
```json
|
||||
{
|
||||
"name": "rapid",
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:lite-plan",
|
||||
"cmd": "workflow-lite-plan",
|
||||
"args": "\"{{goal}}\"",
|
||||
"unit": "quick-implementation",
|
||||
"execution": { "type": "slash-command", "mode": "mainprocess" },
|
||||
"contextHint": "Create lightweight implementation plan"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:lite-execute",
|
||||
"cmd": "workflow-lite-plan",
|
||||
"route": "lite-execute",
|
||||
"args": "--in-memory",
|
||||
"unit": "quick-implementation",
|
||||
"execution": { "type": "slash-command", "mode": "async" },
|
||||
@@ -384,9 +400,11 @@ async function selectTemplate(templates) {
|
||||
|
||||
```javascript
|
||||
async function executeSlashCommandSync(step, status) {
|
||||
// Build command: /workflow:cmd -y args
|
||||
const cmd = buildCommand(step, status);
|
||||
const result = await SlashCommand({ command: cmd });
|
||||
// Build Skill invocation args
|
||||
const args = buildSkillArgs(step, status);
|
||||
|
||||
// Invoke via Skill tool: step.cmd is skill name or command path
|
||||
const result = await Skill({ skill: step.cmd, args: args });
|
||||
|
||||
step.session = result.session_id;
|
||||
step.status = 'done';
|
||||
@@ -398,7 +416,7 @@ async function executeSlashCommandSync(step, status) {
|
||||
|
||||
```javascript
|
||||
async function executeSlashCommandAsync(step, status, statusPath) {
|
||||
// Build prompt: /workflow:cmd -y args + context
|
||||
// Build prompt for ccw cli: /<cmd> [--route <route>] args + context
|
||||
const prompt = buildCommandPrompt(step, status);
|
||||
|
||||
step.status = 'running';
|
||||
@@ -413,7 +431,7 @@ async function executeSlashCommandAsync(step, status, statusPath) {
|
||||
step.taskId = taskId;
|
||||
write(statusPath, JSON.stringify(status, null, 2));
|
||||
|
||||
console.log(`Executing: ${step.cmd} (async)`);
|
||||
console.log(`Executing: ${step.cmd}${step.route ? ' --route ' + step.route : ''} (async)`);
|
||||
console.log(`Resume: /flow-coordinator --resume ${status.id}`);
|
||||
}
|
||||
```
|
||||
@@ -422,12 +440,19 @@ async function executeSlashCommandAsync(step, status, statusPath) {
|
||||
|
||||
## Prompt Building
|
||||
|
||||
Prompts are built in format: `/workflow:cmd -y args` + context
|
||||
Prompts are built in format: `/<cmd> [--route <route>] -y args` + context
|
||||
|
||||
```javascript
|
||||
function buildCommandPrompt(step, status) {
|
||||
// step.cmd already contains full path: /workflow:lite-plan, /workflow:execute, etc.
|
||||
let prompt = `${step.cmd} -y`;
|
||||
// step.cmd is skill name or command path
|
||||
let prompt = `/${step.cmd}`;
|
||||
|
||||
// Add route for multi-mode Skills
|
||||
if (step.route) {
|
||||
prompt += ` --route ${step.route}`;
|
||||
}
|
||||
|
||||
prompt += ' -y';
|
||||
|
||||
// Add arguments (with placeholder replacement)
|
||||
if (step.args) {
|
||||
@@ -452,13 +477,32 @@ function buildCommandPrompt(step, status) {
|
||||
return prompt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Build args for Skill() invocation (mainprocess mode)
|
||||
*/
|
||||
function buildSkillArgs(step, status) {
|
||||
let args = '';
|
||||
|
||||
// Add route for multi-mode Skills
|
||||
if (step.route) {
|
||||
args += `--route ${step.route} `;
|
||||
}
|
||||
|
||||
args += '-y';
|
||||
|
||||
// Add step arguments
|
||||
if (step.args) {
|
||||
const resolvedArgs = step.args
|
||||
.replace('{{goal}}', status.goal)
|
||||
.replace('{{prev}}', getPreviousSessionId(status));
|
||||
args += ` ${resolvedArgs}`;
|
||||
}
|
||||
|
||||
return args;
|
||||
}
|
||||
|
||||
function buildContextFromHint(hint, status) {
|
||||
// Parse contextHint instruction and build context accordingly
|
||||
// Examples:
|
||||
// "Summarize IMPL_PLAN.md" → read and summarize plan
|
||||
// "List test coverage gaps" → analyze previous test results
|
||||
// "Pass session ID" → just return session reference
|
||||
|
||||
return parseAndBuildContext(hint, status);
|
||||
}
|
||||
```
|
||||
@@ -466,7 +510,7 @@ function buildContextFromHint(hint, status) {
|
||||
### Example Prompt Output
|
||||
|
||||
```
|
||||
/workflow:lite-plan -y "Implement user registration"
|
||||
/workflow-lite-plan -y "Implement user registration"
|
||||
|
||||
Context:
|
||||
Task: Implement user registration
|
||||
@@ -475,7 +519,7 @@ Previous results:
|
||||
```
|
||||
|
||||
```
|
||||
/workflow:execute -y --in-memory
|
||||
/workflow-lite-plan --route lite-execute -y --in-memory
|
||||
|
||||
Context:
|
||||
Task: Implement user registration
|
||||
@@ -504,13 +548,13 @@ Select workflow template:
|
||||
```
|
||||
Template: coupled
|
||||
Steps:
|
||||
1. /workflow:plan (slash-command mainprocess)
|
||||
2. /workflow:plan-verify (slash-command mainprocess)
|
||||
3. /workflow:execute (slash-command async)
|
||||
4. /workflow:review-session-cycle (slash-command mainprocess)
|
||||
5. /workflow:review-cycle-fix (slash-command mainprocess)
|
||||
6. /workflow:test-fix-gen (slash-command mainprocess)
|
||||
7. /workflow:test-cycle-execute (slash-command async)
|
||||
1. workflow-plan (mainprocess)
|
||||
2. workflow-plan --route plan-verify (mainprocess)
|
||||
3. workflow-execute (async)
|
||||
4. review-cycle --route session (mainprocess)
|
||||
5. review-cycle --route fix (mainprocess)
|
||||
6. workflow-test-fix (mainprocess)
|
||||
7. workflow-test-fix --route test-cycle-execute (async)
|
||||
|
||||
Proceed? [Confirm / Cancel]
|
||||
```
|
||||
@@ -544,15 +588,24 @@ Templates discovered from `templates/*.json`:
|
||||
|
||||
| Template | Use Case | Steps |
|
||||
|----------|----------|-------|
|
||||
| rapid | Simple feature | /workflow:lite-plan → /workflow:lite-execute → /workflow:test-cycle-execute |
|
||||
| coupled | Complex feature | /workflow:plan → /workflow:plan-verify → /workflow:execute → /workflow:review-session-cycle → /workflow:test-fix-gen |
|
||||
| bugfix | Bug fix | /workflow:lite-plan --bugfix → /workflow:lite-execute → /workflow:test-cycle-execute |
|
||||
| tdd | Test-driven | /workflow:tdd-plan → /workflow:execute → /workflow:tdd-verify |
|
||||
| test-fix | Fix failing tests | /workflow:test-fix-gen → /workflow:test-cycle-execute |
|
||||
| brainstorm | Exploration | /workflow:brainstorm-with-file |
|
||||
| debug | Debug with docs | /workflow:debug-with-file |
|
||||
| analyze | Collaborative analysis | /workflow:analyze-with-file |
|
||||
| issue | Issue workflow | /issue:discover → /issue:plan → /issue:queue → /issue:execute |
|
||||
| rapid | Simple feature | workflow-lite-plan → workflow-lite-plan[lite-execute] → workflow-test-fix → workflow-test-fix[test-cycle-execute] |
|
||||
| coupled | Complex feature | workflow-plan → workflow-plan[plan-verify] → workflow-execute → review-cycle[session] → review-cycle[fix] → workflow-test-fix → workflow-test-fix[test-cycle-execute] |
|
||||
| bugfix | Bug fix | workflow-lite-plan --bugfix → workflow-lite-plan[lite-execute] → workflow-test-fix → workflow-test-fix[test-cycle-execute] |
|
||||
| bugfix-hotfix | Urgent hotfix | workflow-lite-plan --hotfix |
|
||||
| tdd | Test-driven | workflow-tdd → workflow-execute → workflow-tdd[tdd-verify] |
|
||||
| test-fix | Fix failing tests | workflow-test-fix → workflow-test-fix[test-cycle-execute] |
|
||||
| review | Code review | review-cycle[session] → review-cycle[fix] → workflow-test-fix → workflow-test-fix[test-cycle-execute] |
|
||||
| multi-cli-plan | Multi-perspective planning | workflow-multi-cli-plan → workflow-lite-plan[lite-execute] → workflow-test-fix → workflow-test-fix[test-cycle-execute] |
|
||||
| full | Complete workflow | brainstorm → workflow-plan → workflow-plan[plan-verify] → workflow-execute → workflow-test-fix → workflow-test-fix[test-cycle-execute] |
|
||||
| docs | Documentation | workflow-lite-plan → workflow-lite-plan[lite-execute] |
|
||||
| brainstorm | Exploration | workflow:brainstorm-with-file |
|
||||
| debug | Debug with docs | workflow:debug-with-file |
|
||||
| analyze | Collaborative analysis | workflow:analyze-with-file |
|
||||
| issue | Issue workflow | issue:discover → issue:plan → issue:queue → issue:execute |
|
||||
| rapid-to-issue | Plan to issue bridge | workflow-lite-plan → issue:convert-to-plan → issue:queue → issue:execute |
|
||||
| brainstorm-to-issue | Brainstorm to issue | issue:from-brainstorm → issue:queue → issue:execute |
|
||||
|
||||
**注**: `[route]` 表示该步骤使用 `route` 字段路由到多模式 Skill 的特定子模式。
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
"level": 3,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:analyze-with-file",
|
||||
"cmd": "workflow:analyze-with-file",
|
||||
"args": "\"{{goal}}\"",
|
||||
"unit": "analyze-with-file",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
"mode": "mainprocess"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"level": 4,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/issue:from-brainstorm",
|
||||
"cmd": "issue:from-brainstorm",
|
||||
"args": "--auto",
|
||||
"unit": "brainstorm-to-issue",
|
||||
"execution": {
|
||||
@@ -14,7 +14,7 @@
|
||||
"contextHint": "Convert brainstorm session findings into issue plans and solutions"
|
||||
},
|
||||
{
|
||||
"cmd": "/issue:queue",
|
||||
"cmd": "issue:queue",
|
||||
"unit": "brainstorm-to-issue",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -23,7 +23,7 @@
|
||||
"contextHint": "Build execution queue from converted brainstorm issues"
|
||||
},
|
||||
{
|
||||
"cmd": "/issue:execute",
|
||||
"cmd": "issue:execute",
|
||||
"args": "--queue auto",
|
||||
"unit": "brainstorm-to-issue",
|
||||
"execution": {
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
"level": 4,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:brainstorm-with-file",
|
||||
"cmd": "workflow:brainstorm-with-file",
|
||||
"args": "\"{{goal}}\"",
|
||||
"unit": "brainstorm-with-file",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
"mode": "mainprocess"
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
"level": 1,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:lite-plan",
|
||||
"cmd": "workflow-lite-plan",
|
||||
"args": "--hotfix \"{{goal}}\"",
|
||||
"unit": "standalone",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
"mode": "async"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"level": 2,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:lite-plan",
|
||||
"cmd": "workflow-lite-plan",
|
||||
"args": "--bugfix \"{{goal}}\"",
|
||||
"unit": "bug-fix",
|
||||
"execution": {
|
||||
@@ -14,7 +14,8 @@
|
||||
"contextHint": "Analyze bug report, trace execution flow, identify root cause with fix strategy"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:lite-execute",
|
||||
"cmd": "workflow-lite-plan",
|
||||
"route": "lite-execute",
|
||||
"args": "--in-memory",
|
||||
"unit": "bug-fix",
|
||||
"execution": {
|
||||
@@ -24,7 +25,7 @@
|
||||
"contextHint": "Implement fix based on diagnosis. Execute against in-memory state from lite-plan analysis."
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:test-fix-gen",
|
||||
"cmd": "workflow-test-fix",
|
||||
"unit": "test-validation",
|
||||
"optional": true,
|
||||
"execution": {
|
||||
@@ -34,7 +35,8 @@
|
||||
"contextHint": "Generate test tasks to verify bug fix and prevent regression"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:test-cycle-execute",
|
||||
"cmd": "workflow-test-fix",
|
||||
"route": "test-cycle-execute",
|
||||
"unit": "test-validation",
|
||||
"optional": true,
|
||||
"execution": {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"level": 3,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:plan",
|
||||
"cmd": "workflow-plan",
|
||||
"args": "\"{{goal}}\"",
|
||||
"unit": "verified-planning-execution",
|
||||
"execution": {
|
||||
@@ -14,7 +14,8 @@
|
||||
"contextHint": "Create detailed implementation plan with architecture design, file structure, dependencies, and milestones"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:plan-verify",
|
||||
"cmd": "workflow-plan",
|
||||
"route": "plan-verify",
|
||||
"unit": "verified-planning-execution",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -23,7 +24,7 @@
|
||||
"contextHint": "Verify IMPL_PLAN.md against requirements, check for missing details, conflicts, and quality gates"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:execute",
|
||||
"cmd": "workflow-execute",
|
||||
"unit": "verified-planning-execution",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -32,7 +33,8 @@
|
||||
"contextHint": "Execute implementation based on verified plan. Resume from planning session with all context preserved."
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:review-session-cycle",
|
||||
"cmd": "review-cycle",
|
||||
"route": "session",
|
||||
"unit": "code-review",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -41,7 +43,8 @@
|
||||
"contextHint": "Perform multi-dimensional code review across correctness, security, performance, maintainability. Reference execution session for full code context."
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:review-cycle-fix",
|
||||
"cmd": "review-cycle",
|
||||
"route": "fix",
|
||||
"unit": "code-review",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -50,7 +53,7 @@
|
||||
"contextHint": "Fix issues identified in review findings with prioritization by severity levels"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:test-fix-gen",
|
||||
"cmd": "workflow-test-fix",
|
||||
"unit": "test-validation",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -59,7 +62,8 @@
|
||||
"contextHint": "Generate comprehensive test tasks for the implementation with coverage analysis"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:test-cycle-execute",
|
||||
"cmd": "workflow-test-fix",
|
||||
"route": "test-cycle-execute",
|
||||
"unit": "test-validation",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
"level": 3,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:debug-with-file",
|
||||
"cmd": "workflow:debug-with-file",
|
||||
"args": "\"{{goal}}\"",
|
||||
"unit": "debug-with-file",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
"mode": "mainprocess"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"level": 2,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:lite-plan",
|
||||
"cmd": "workflow-lite-plan",
|
||||
"args": "\"{{goal}}\"",
|
||||
"unit": "quick-documentation",
|
||||
"execution": {
|
||||
@@ -14,7 +14,8 @@
|
||||
"contextHint": "Plan documentation structure and content organization"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:lite-execute",
|
||||
"cmd": "workflow-lite-plan",
|
||||
"route": "lite-execute",
|
||||
"args": "--in-memory",
|
||||
"unit": "quick-documentation",
|
||||
"execution": {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"level": 4,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/brainstorm",
|
||||
"cmd": "brainstorm",
|
||||
"args": "\"{{goal}}\"",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -13,7 +13,7 @@
|
||||
"contextHint": "Multi-perspective exploration of requirements and possible approaches"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:plan",
|
||||
"cmd": "workflow-plan",
|
||||
"unit": "verified-planning-execution",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -22,7 +22,8 @@
|
||||
"contextHint": "Create detailed implementation plan based on brainstorm insights"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:plan-verify",
|
||||
"cmd": "workflow-plan",
|
||||
"route": "plan-verify",
|
||||
"unit": "verified-planning-execution",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -31,7 +32,7 @@
|
||||
"contextHint": "Verify plan quality and completeness"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:execute",
|
||||
"cmd": "workflow-execute",
|
||||
"unit": "verified-planning-execution",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -40,7 +41,7 @@
|
||||
"contextHint": "Execute implementation from verified plan"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:test-fix-gen",
|
||||
"cmd": "workflow-test-fix",
|
||||
"unit": "test-validation",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -49,7 +50,8 @@
|
||||
"contextHint": "Generate comprehensive test tasks"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:test-cycle-execute",
|
||||
"cmd": "workflow-test-fix",
|
||||
"route": "test-cycle-execute",
|
||||
"unit": "test-validation",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"level": "issue",
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/issue:discover",
|
||||
"cmd": "issue:discover",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
"mode": "mainprocess"
|
||||
@@ -12,7 +12,7 @@
|
||||
"contextHint": "Discover pending issues from codebase for potential fixes"
|
||||
},
|
||||
{
|
||||
"cmd": "/issue:plan",
|
||||
"cmd": "issue:plan",
|
||||
"args": "--all-pending",
|
||||
"unit": "issue-workflow",
|
||||
"execution": {
|
||||
@@ -22,7 +22,7 @@
|
||||
"contextHint": "Create execution plans for all discovered pending issues"
|
||||
},
|
||||
{
|
||||
"cmd": "/issue:queue",
|
||||
"cmd": "issue:queue",
|
||||
"unit": "issue-workflow",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -31,7 +31,7 @@
|
||||
"contextHint": "Build execution queue with issue prioritization and dependencies"
|
||||
},
|
||||
{
|
||||
"cmd": "/issue:execute",
|
||||
"cmd": "issue:execute",
|
||||
"unit": "issue-workflow",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"level": 3,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:multi-cli-plan",
|
||||
"cmd": "workflow-multi-cli-plan",
|
||||
"args": "\"{{goal}}\"",
|
||||
"unit": "multi-cli-planning",
|
||||
"execution": {
|
||||
@@ -14,7 +14,8 @@
|
||||
"contextHint": "Multi-perspective analysis comparing different implementation approaches with trade-off analysis"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:lite-execute",
|
||||
"cmd": "workflow-lite-plan",
|
||||
"route": "lite-execute",
|
||||
"args": "--in-memory",
|
||||
"unit": "multi-cli-planning",
|
||||
"execution": {
|
||||
@@ -24,7 +25,7 @@
|
||||
"contextHint": "Execute best approach selected from multi-perspective analysis"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:test-fix-gen",
|
||||
"cmd": "workflow-test-fix",
|
||||
"unit": "test-validation",
|
||||
"optional": true,
|
||||
"execution": {
|
||||
@@ -34,7 +35,8 @@
|
||||
"contextHint": "Generate test tasks for the implementation"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:test-cycle-execute",
|
||||
"cmd": "workflow-test-fix",
|
||||
"route": "test-cycle-execute",
|
||||
"unit": "test-validation",
|
||||
"optional": true,
|
||||
"execution": {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"level": 2.5,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:lite-plan",
|
||||
"cmd": "workflow-lite-plan",
|
||||
"args": "\"{{goal}}\"",
|
||||
"unit": "rapid-to-issue",
|
||||
"execution": {
|
||||
@@ -14,7 +14,7 @@
|
||||
"contextHint": "Create lightweight plan for the task"
|
||||
},
|
||||
{
|
||||
"cmd": "/issue:convert-to-plan",
|
||||
"cmd": "issue:convert-to-plan",
|
||||
"args": "--latest-lite-plan -y",
|
||||
"unit": "rapid-to-issue",
|
||||
"execution": {
|
||||
@@ -24,7 +24,7 @@
|
||||
"contextHint": "Convert lite plan to structured issue plan"
|
||||
},
|
||||
{
|
||||
"cmd": "/issue:queue",
|
||||
"cmd": "issue:queue",
|
||||
"unit": "rapid-to-issue",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -33,7 +33,7 @@
|
||||
"contextHint": "Build execution queue from converted plan"
|
||||
},
|
||||
{
|
||||
"cmd": "/issue:execute",
|
||||
"cmd": "issue:execute",
|
||||
"args": "--queue auto",
|
||||
"unit": "rapid-to-issue",
|
||||
"execution": {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"level": 2,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:lite-plan",
|
||||
"cmd": "workflow-lite-plan",
|
||||
"args": "\"{{goal}}\"",
|
||||
"unit": "quick-implementation",
|
||||
"execution": {
|
||||
@@ -14,7 +14,8 @@
|
||||
"contextHint": "Analyze requirements and create a lightweight implementation plan with key decisions and file structure"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:lite-execute",
|
||||
"cmd": "workflow-lite-plan",
|
||||
"route": "lite-execute",
|
||||
"args": "--in-memory",
|
||||
"unit": "quick-implementation",
|
||||
"execution": {
|
||||
@@ -24,7 +25,7 @@
|
||||
"contextHint": "Use the plan from previous step to implement code. Execute against in-memory state."
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:test-fix-gen",
|
||||
"cmd": "workflow-test-fix",
|
||||
"unit": "test-validation",
|
||||
"optional": true,
|
||||
"execution": {
|
||||
@@ -34,7 +35,8 @@
|
||||
"contextHint": "Generate test tasks from the implementation session"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:test-cycle-execute",
|
||||
"cmd": "workflow-test-fix",
|
||||
"route": "test-cycle-execute",
|
||||
"unit": "test-validation",
|
||||
"optional": true,
|
||||
"execution": {
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
"level": 3,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:review-session-cycle",
|
||||
"cmd": "review-cycle",
|
||||
"route": "session",
|
||||
"unit": "code-review",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -13,16 +14,17 @@
|
||||
"contextHint": "Perform comprehensive multi-dimensional code review across correctness, security, performance, maintainability dimensions"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:review-cycle-fix",
|
||||
"cmd": "review-cycle",
|
||||
"route": "fix",
|
||||
"unit": "code-review",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
"mode": "mainprocess"
|
||||
},
|
||||
"contextHint": "Fix all review findings prioritized by severity level (critical → high → medium → low)"
|
||||
"contextHint": "Fix all review findings prioritized by severity level (critical -> high -> medium -> low)"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:test-fix-gen",
|
||||
"cmd": "workflow-test-fix",
|
||||
"unit": "test-validation",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -31,7 +33,8 @@
|
||||
"contextHint": "Generate test tasks for fixed code with coverage analysis"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:test-cycle-execute",
|
||||
"cmd": "workflow-test-fix",
|
||||
"route": "test-cycle-execute",
|
||||
"unit": "test-validation",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"level": 3,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:tdd-plan",
|
||||
"cmd": "workflow-tdd",
|
||||
"args": "\"{{goal}}\"",
|
||||
"unit": "tdd-planning-execution",
|
||||
"execution": {
|
||||
@@ -14,7 +14,7 @@
|
||||
"contextHint": "Create TDD task plan with Red-Green-Refactor cycles, test specifications, and implementation strategy"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:execute",
|
||||
"cmd": "workflow-execute",
|
||||
"unit": "tdd-planning-execution",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
@@ -23,7 +23,8 @@
|
||||
"contextHint": "Execute TDD tasks following Red-Green-Refactor workflow with test-first development"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:tdd-verify",
|
||||
"cmd": "workflow-tdd",
|
||||
"route": "tdd-verify",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
"mode": "mainprocess"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"level": 2,
|
||||
"steps": [
|
||||
{
|
||||
"cmd": "/workflow:test-fix-gen",
|
||||
"cmd": "workflow-test-fix",
|
||||
"args": "\"{{goal}}\"",
|
||||
"unit": "test-validation",
|
||||
"execution": {
|
||||
@@ -14,7 +14,8 @@
|
||||
"contextHint": "Analyze failing tests, generate targeted test tasks with root cause and fix strategy"
|
||||
},
|
||||
{
|
||||
"cmd": "/workflow:test-cycle-execute",
|
||||
"cmd": "workflow-test-fix",
|
||||
"route": "test-cycle-execute",
|
||||
"unit": "test-validation",
|
||||
"execution": {
|
||||
"type": "slash-command",
|
||||
|
||||
Reference in New Issue
Block a user