You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/deepwork_jobs.define/SKILL.md
+33-96Lines changed: 33 additions & 96 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,117 +24,54 @@ agent: deepwork-jobs
24
24
25
25
## Objective
26
26
27
-
Create a `job.yml` specification file by thoroughly understanding the user's workflow requirements through structured questions.
27
+
Create a `job.yml` specification file that defines the structure of a new DeepWork job by understanding the user's workflow requirements through interactive questions.
28
28
29
29
## Task
30
30
31
-
Guide the user through defining a job specification by asking structured questions. **Do not attempt to create the specification without first fully understanding the user's needs.**
31
+
Guide the user through defining a job specification by asking structured questions. The output is **only** the `job.yml` file - step instruction files are created in the `implement` step.
32
32
33
-
The output of this step is **only** the `job.yml` file. Step instruction files are created in the `implement` step.
33
+
### Process
34
34
35
-
### Step 1: Understand the Job Purpose
35
+
1.**Understand the job purpose**
36
+
- Ask structured questions about the overall goal, domain, and frequency
37
+
- Understand what success looks like and who the audience is
38
+
- Identify the major phases of the workflow
36
39
37
-
Ask structured questions to understand what the user wants to accomplish:
40
+
2.**Detect document-oriented workflows**
41
+
- Look for patterns: "report", "summary", "monthly", "for stakeholders"
42
+
- If detected, offer to create a doc spec for consistent quality
43
+
- Use `.deepwork/doc_specs/job_spec.md` as a reference example
38
44
39
-
1.**What is the overall goal of this workflow?**
40
-
- What complex task are they trying to accomplish?
41
-
- What domain is this in? (e.g., research, marketing, development, reporting)
45
+
3.**Define each step**
46
+
- For each phase, gather: purpose, inputs, outputs, dependencies
47
+
- Ask about output file paths and organization
48
+
- Consider whether steps need agent delegation
42
49
43
-
2.**What does success look like?**
44
-
- What's the final deliverable or outcome?
45
-
- Who is the audience for the output?
50
+
4.**Validate the workflow**
51
+
- Summarize the complete workflow
52
+
- Check for gaps in inputs/outputs between steps
53
+
- Confirm job name, summary, and version
46
54
47
-
3.**What are the major phases?**
48
-
- What are the distinct stages from start to finish?
49
-
- Are there any dependencies between phases?
55
+
5.**Create the job specification**
56
+
- Run `make_new_job.sh` to create directory structure:
-[ ] All step instruction files created (complete, not stubs)
80
+
-[ ] All step instruction files created (not stubs)
122
81
-[ ] Instructions are specific and actionable
123
82
-[ ] Output examples provided
124
-
-[ ] Quality criteria defined for each step
125
-
-[ ] User input steps use "ask structured questions"
83
+
-[ ] Quality criteria defined
126
84
-[ ]`deepwork sync` executed successfully
127
-
-[ ] Skills available in platform directory
128
-
-[ ] Considered relevant rules for job domain
85
+
-[ ] Rules considered (suggest if genuinely helpful)
129
86
130
87
## Output
131
88
132
-
Complete step instruction files at`.deepwork/jobs/[job_name]/steps/` and synced skills.
89
+
Complete instruction files in`.deepwork/jobs/[job_name]/steps/` and synced skills in `.claude/skills/`.
133
90
134
91
135
92
### Job Context
@@ -171,29 +128,6 @@ Use branch format: `deepwork/deepwork_jobs-[instance]-YYYYMMDD`
171
128
- Do NOT proceed without required inputs; ask the user if any are missing
172
129
- Do NOT modify files outside the scope of this step's defined outputs
173
130
174
-
## Quality Validation
175
-
176
-
**Before completing this step, you MUST have your work reviewed against the quality criteria below.**
177
-
178
-
Use a sub-agent (Haiku model) to review your work against these criteria:
179
-
180
-
**Criteria (all must be satisfied)**:
181
-
1.**Directory Structure**: Is `.deepwork/jobs/[job_name]/` created correctly?
182
-
2.**Complete Instructions**: Are ALL step instruction files complete (not stubs or placeholders)?
183
-
3.**Specific & Actionable**: Are instructions tailored to each step's purpose, not generic?
184
-
4.**Output Examples**: Does each instruction file show what good output looks like?
185
-
5.**Quality Criteria**: Does each instruction file define quality criteria for its outputs?
186
-
6.**Ask Structured Questions**: Do step instructions that gather user input explicitly use the phrase "ask structured questions"?
187
-
7.**Sync Complete**: Has `deepwork sync` been run successfully?
188
-
8.**Commands Available**: Are the slash-commands generated in `.claude/commands/`?
189
-
9.**Rules Considered**: Has the agent thought about whether rules would benefit this job? If relevant rules were identified, did they explain them and offer to run `/deepwork_rules.define`? Not every job needs rules - only suggest when genuinely helpful.
190
-
**Review Process**:
191
-
1. Once you believe your work is complete, spawn a sub-agent using Haiku to review your work against the quality criteria above
192
-
2. The sub-agent should examine your outputs and verify each criterion is met
193
-
3. If the sub-agent identifies valid issues, fix them
194
-
4. Have the sub-agent review again until all valid feedback has been addressed
195
-
5. Only mark the step complete when the sub-agent confirms all criteria are satisfied
0 commit comments