gza-task-draft
Guide user through deliberate task creation with clarification and refinement before running gza add
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Guide user through deliberate task creation with clarification and refinement before running gza add
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Review changes on current branch and output a structured review. Optionally post to PR with --pr flag, or apply non-blocking follow-ups inline with --apply-followups.
Run an interactive code-only review for a gza task's implementation branch and produce structured review output compatible with gza-task-improve
Check the implementation against the behavior specs in specs/behavior/. Reports where the code diverges from intended behavior — each divergence is either a code bug or a spec gap. The behavior spec is the source of truth; this skill never edits code or the spec.
Check the behavior spec set for coherence, ownership boundaries, and plain-language discipline without editing the spec or the code
Turn the recurring `watch` stuck-task pile into (1) a diagnosis of why each class is stuck, (2) the existing stuck rows actually cleared now, and (3) systemic prevention so it does not recur. Snapshots watch/incomplete/queue, buckets stuck tasks by failure class, dedups against already-tracked `system` work, unsticks each row by its clearing action (drop moot/dead/stale, spawn follow-up, hand review-loop rows to /gza-task-fix), then ranks and files `system`-tagged prevention fixes by blast radius (cascade-preventer first). Never merges, retries, resumes, deletes branches, or edits code.
Triage `gza incomplete` rows — classify each unresolved merge-unit lineage and recommend the right corrective action (drop moot leaves, escalate to fix, surface manual-resolve rebases, etc.). Never merges, retries, resumes, or deletes branches; never edits code.
| name | gza-task-draft |
| description | Guide user through deliberate task creation with clarification and refinement before running gza add |
| allowed-tools | Read, Bash(uv run gza add:*), AskUserQuestion |
| version | 1.0.0 |
| public | true |
Guide the user through a deliberate task creation process: clarify scope, surface risks, draft a prompt, get approval, then run uv run gza add.
Read /workspace/AGENTS.md — specifically the "Creating Tasks from Conversations" section — to understand task types, flags, and prompt conventions.
Evaluate how detailed the user's description already is:
If vague or missing key context (objective unclear, scope undefined, approach unspecified): ask clarifying questions using AskUserQuestion (max 4 questions per call, 2–4 options each).
Focus on what matters most:
If already detailed (clear objective, known scope, specific requirements): skip to Step 3 directly.
Draft a task prompt that:
For implement tasks, push toward a prompt shape like:
If too many of those fields are unknown, ambiguous, or cross-cutting, recommend splitting the work or creating a plan task first rather than drafting a vague implement prompt.
Also identify and surface:
--depends-on or --based-on?When reviewing the draft with the user, explicitly check for:
Present the draft prompt and concerns clearly to the user.
Based on the discussion, suggest the full uv run gza add command. For any multi-line prompt, write the body to a tempfile (Write tool, e.g. /tmp/gza-prompt-<short-name>.md) and pass --prompt-file. Only inline as a positional arg for single-line prompts.
# Single-line:
uv run gza add [FLAGS] "short prompt"
# Multi-line (the common case for drafted tasks):
uv run gza add [FLAGS] --prompt-file /tmp/gza-prompt-<short-name>.md
Do not use "$(cat <<'EOF' ... EOF)" to inline multi-line prompts — backticks, $, parens, and indented code blocks in the body break it, silently mangling the prompt or leaking the body to bash as commands. The tempfile path is always safe.
Flags to consider:
--type — task (default), explore, plan, implement, review--review — auto-create review task after implementation (for significant changes)--tag TAG — attach a tag to relate the task to other work (repeatable)--depends-on ID — task cannot start until another completes--based-on ID — implementation draws from a previous task's outputUse AskUserQuestion to let the user review the draft:
Options:
uv run gza add as proposedRepeat Steps 3–5 if refinement is needed.
Once approved:
Write it to /tmp/gza-prompt-<short-name>.md and run uv run gza add ... --prompt-file <path>.Show the created task ID and confirm type/tags if set.
--type plan task first