From f61a3da95716ccf27ca7aa082c0c7ac9b18dbe7e Mon Sep 17 00:00:00 2001 From: catlog22 Date: Sat, 28 Feb 2026 23:49:59 +0800 Subject: [PATCH] feat(dispatch): update task description template for improved clarity and structure --- .../roles/coordinator/commands/dispatch.md | 74 ++++++++++++++----- 1 file changed, 57 insertions(+), 17 deletions(-) diff --git a/.claude/skills/team-lifecycle-v5/roles/coordinator/commands/dispatch.md b/.claude/skills/team-lifecycle-v5/roles/coordinator/commands/dispatch.md index b2c646c5..530336e1 100644 --- a/.claude/skills/team-lifecycle-v5/roles/coordinator/commands/dispatch.md +++ b/.claude/skills/team-lifecycle-v5/roles/coordinator/commands/dispatch.md @@ -80,18 +80,40 @@ GC loop (max 2 rounds): QA-FE verdict=NEEDS_FIX -> create DEV-FE-002 + QA-FE-002 ### Task Description Template -Every task description includes session, scope, and metadata: +Every task description uses structured format for clarity: ``` TaskCreate({ subject: "", owner: "", - description: "\nSession: \nScope: \nInlineDiscuss: \nInnerLoop: ", + description: "PURPOSE: | Success: +TASK: + - + - + - +CONTEXT: + - Session: + - Scope: + - Upstream artifacts: , + - Key files: , (if applicable) + - Shared memory: /shared-memory.json +EXPECTED: + +CONSTRAINTS: +--- +InlineDiscuss: +InnerLoop: ", blockedBy: [], status: "pending" }) ``` +**Field Guidelines**: +- **PURPOSE**: Clear goal statement + success criteria +- **TASK**: 2-5 actionable steps with specific verbs +- **CONTEXT**: Session path, scope, upstream artifacts, relevant files +- **EXPECTED**: Output artifact path + quality requirements +- **CONSTRAINTS**: Scope boundaries, focus areas, exclusions + **InnerLoop Flag Rules**: | Role | InnerLoop | @@ -107,13 +129,22 @@ TaskCreate({ TaskCreate({ subject: "-R1", owner: "", - description: " revision of .\n - Session: \n - Original artifact: \n - User feedback: \n - Revision scope: \n - InlineDiscuss: \n - InnerLoop: ", + description: "PURPOSE: revision of | Success: Address feedback and pass quality checks +TASK: + - Review original artifact and feedback + - Apply targeted fixes to weak areas + - Validate against quality criteria +CONTEXT: + - Session: + - Original artifact: + - User feedback: + - Revision scope: + - Shared memory: /shared-memory.json +EXPECTED: Updated artifact at + revision summary +CONSTRAINTS: +--- +InlineDiscuss: +InnerLoop: ", status: "pending", blockedBy: [] }) @@ -138,14 +169,23 @@ TaskCreate({ TaskCreate({ subject: "IMPROVE--001", owner: "writer", - description: "Quality improvement: .\n - Session: \n - Current score: %\n - Target: 80%\n - Readiness report: /spec/readiness-report.md\n - Weak areas: \n - Strategy: \n - InnerLoop: true", + description: "PURPOSE: Improve quality from % to 80% | Success: Pass quality threshold +TASK: + - Review readiness report weak areas + - Apply dimension-specific improvement strategy + - Validate improvements against criteria +CONTEXT: + - Session: + - Current score: % + - Target: 80% + - Readiness report: /spec/readiness-report.md + - Weak areas: + - Strategy: + - Shared memory: /shared-memory.json +EXPECTED: Improved artifacts + quality improvement summary +CONSTRAINTS: Focus on only +--- +InnerLoop: true", status: "pending" }) ```