diff --git a/.claude/skills/deepwork/SKILL.md b/.claude/skills/deepwork/SKILL.md index ee3021d2..f24c3308 100644 --- a/.claude/skills/deepwork/SKILL.md +++ b/.claude/skills/deepwork/SKILL.md @@ -19,6 +19,24 @@ Execute multi-step workflows with quality gate checkpoints. 4. Call `finished_step` with your outputs when done 5. Handle the response: `needs_work`, `next_step`, or `workflow_complete` +## Creating New Jobs + + +You MUST create new DeepWork jobs by starting the `new_job` workflow via the DeepWork +MCP tools. Follow the guidance from the DeepWork MCP server as you go through the +workflow — it will walk you through each step. + + +To create a new job, use the MCP tools: + +1. Call `get_workflows` to confirm the `deepwork_jobs` job is available +2. Call `start_workflow` with: + - `job_name`: `"deepwork_jobs"` + - `workflow_name`: `"new_job"` + - `goal`: a description of what the new job should accomplish + - `instance_id`: a short name for the new job (e.g., `"code_review"`) +3. Follow the instructions returned by the MCP tools as you progress through the workflow + ## Intent Parsing When the user invokes `/deepwork`, parse their intent: diff --git a/src/deepwork/templates/claude/skill-deepwork.md.jinja b/src/deepwork/templates/claude/skill-deepwork.md.jinja index e9922706..4acc469c 100644 --- a/src/deepwork/templates/claude/skill-deepwork.md.jinja +++ b/src/deepwork/templates/claude/skill-deepwork.md.jinja @@ -27,6 +27,24 @@ Execute multi-step workflows with quality gate checkpoints. 4. Call `finished_step` with your outputs when done 5. Handle the response: `needs_work`, `next_step`, or `workflow_complete` +## Creating New Jobs + + +You MUST create new DeepWork jobs by starting the `new_job` workflow via the DeepWork +MCP tools. Follow the guidance from the DeepWork MCP server as you go through the +workflow — it will walk you through each step. + + +To create a new job, use the MCP tools: + +1. Call `get_workflows` to confirm the `deepwork_jobs` job is available +2. Call `start_workflow` with: + - `job_name`: `"deepwork_jobs"` + - `workflow_name`: `"new_job"` + - `goal`: a description of what the new job should accomplish + - `instance_id`: a short name for the new job (e.g., `"code_review"`) +3. Follow the instructions returned by the MCP tools as you progress through the workflow + ## Intent Parsing When the user invokes `/deepwork`, parse their intent: