@leeovery/claude-technical-workflows 2.0.15 → 2.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/README.md +41 -24
  2. package/commands/link-dependencies.md +170 -0
  3. package/commands/start-discussion.md +6 -313
  4. package/commands/start-feature.md +80 -0
  5. package/commands/start-implementation.md +7 -101
  6. package/commands/start-planning.md +7 -86
  7. package/commands/start-research.md +7 -13
  8. package/commands/start-specification.md +7 -81
  9. package/commands/workflow:start-discussion.md +339 -0
  10. package/commands/workflow:start-implementation.md +187 -0
  11. package/commands/workflow:start-planning.md +111 -0
  12. package/commands/workflow:start-research.md +38 -0
  13. package/commands/workflow:start-review.md +112 -0
  14. package/commands/workflow:start-specification.md +106 -0
  15. package/package.json +1 -1
  16. package/skills/technical-discussion/SKILL.md +13 -8
  17. package/skills/technical-implementation/SKILL.md +23 -11
  18. package/skills/technical-planning/SKILL.md +14 -12
  19. package/skills/technical-planning/references/dependencies.md +69 -0
  20. package/skills/technical-planning/references/formal-planning.md +25 -0
  21. package/skills/technical-planning/references/output-backlog-md.md +75 -4
  22. package/skills/technical-planning/references/output-beads.md +95 -5
  23. package/skills/technical-planning/references/output-linear.md +57 -4
  24. package/skills/technical-planning/references/output-local-markdown.md +71 -3
  25. package/skills/technical-research/SKILL.md +13 -9
  26. package/skills/technical-review/SKILL.md +26 -9
  27. package/skills/technical-review/references/review-checklist.md +4 -2
  28. package/skills/technical-specification/SKILL.md +16 -9
  29. package/skills/technical-specification/references/specification-guide.md +8 -9
@@ -9,23 +9,25 @@ Act as **expert technical architect**, **product owner**, and **plan documenter*
9
9
 
10
10
  Your role spans product (WHAT we're building and WHY) and technical (HOW to structure the work).
11
11
 
12
- ## Six-Phase Workflow
12
+ ## Purpose in the Workflow
13
13
 
14
- 1. **Research** (previous): EXPLORE - ideas, feasibility, market, business, learning
15
- 2. **Discussion** (previous): WHAT and WHY - decisions, architecture, edge cases
16
- 3. **Specification** (previous): REFINE - validated, standalone specification
17
- 4. **Planning** (YOU): HOW - phases, tasks, acceptance criteria
18
- 5. **Implementation** (next): DOING - tests first, then code
19
- 6. **Review** (final): VALIDATING - check work against artifacts
14
+ This skill can be used:
15
+ - **Sequentially** (Phase 4): From a validated specification
16
+ - **Standalone** (Contract entry): From any specification meeting format requirements
20
17
 
21
- You're at step 4. Create the plan. Don't jump to implementation.
18
+ Either way: Transform specifications into actionable phases, tasks, and acceptance criteria.
22
19
 
23
- ## Source Material
20
+ ### What This Skill Needs
21
+
22
+ - **Specification content** (required) - The validated decisions and requirements to plan from
23
+ - **Topic name** (optional) - Will derive from specification if not provided
24
+ - **Output format preference** (optional) - Will ask if not specified
24
25
 
25
- Plans are built **exclusively** from the specification:
26
- - **Specification** (`docs/workflow/specification/{topic}.md`)
26
+ **If missing:** Will ask user for specification location or content.
27
+
28
+ ## Source Material
27
29
 
28
- The specification is the **sole source of truth**. It contains validated, approved content that has already been filtered and enriched from discussions. Do not reference discussion documents or other source material - everything needed is in the specification.
30
+ **The specification is your sole input.** Everything you need should be in the specification - do not request details from discussion documents or other source material. If information is missing, ask for clarification on the specification itself.
29
31
 
30
32
  ## The Process
31
33
 
@@ -0,0 +1,69 @@
1
+ # Dependencies
2
+
3
+ *Reference for dependency handling across the technical workflow*
4
+
5
+ ---
6
+
7
+ ## Internal Dependencies
8
+
9
+ Internal dependencies are dependencies within a single topic/epic - where one task depends on another task in the same plan. These are handled by the planning output format's native dependency system.
10
+
11
+ During planning, structure tasks in the correct order with appropriate dependencies so work proceeds logically. The output format manages these relationships and ensures tasks are worked in the right sequence.
12
+
13
+ See the relevant output format reference for how to create and query internal dependencies.
14
+
15
+ ## External Dependencies
16
+
17
+ External dependencies are things a feature needs from other topics or systems that are outside the current plan's scope. They come from the specification's Dependencies section.
18
+
19
+ ## Format
20
+
21
+ In plan index files, external dependencies appear in a dedicated section:
22
+
23
+ ```markdown
24
+ ## External Dependencies
25
+
26
+ - billing-system: Invoice generation for order completion
27
+ - user-authentication: User context for permissions → beads-9m3p (resolved)
28
+ - ~~payment-gateway: Payment processing~~ → satisfied externally
29
+ ```
30
+
31
+ If there are no external dependencies, still include the section:
32
+
33
+ ```markdown
34
+ ## External Dependencies
35
+
36
+ No external dependencies.
37
+ ```
38
+
39
+ This makes it explicit for downstream stages that dependencies were considered and none exist.
40
+
41
+ ## States
42
+
43
+ | State | Format | Meaning |
44
+ |-------|--------|---------|
45
+ | Unresolved | `- {topic}: {description}` | Dependency exists but not yet linked to a task |
46
+ | Resolved | `- {topic}: {description} → {task-id}` | Linked to specific task in another plan |
47
+ | Satisfied externally | `- ~~{topic}: {description}~~ → satisfied externally` | Implemented outside workflow |
48
+
49
+ ## Lifecycle
50
+
51
+ ```
52
+ SPECIFICATION PLANNING
53
+ ───────────────────────────────────────────────────────────────────
54
+ Dependencies section → Copied to plan index as unresolved
55
+ (natural language) ↓
56
+ Resolved when linked to specific task ID
57
+ (via planning or /link-dependencies)
58
+ ```
59
+
60
+ ## Resolution
61
+
62
+ Dependencies move from unresolved → resolved when:
63
+ - The dependency topic is planned and you identify the specific task
64
+ - The `/link-dependencies` command finds and wires the match
65
+
66
+ Dependencies become "satisfied externally" when:
67
+ - The user confirms it was implemented outside the workflow
68
+ - It already exists in the codebase
69
+ - It's a third-party system that's already available
@@ -19,9 +19,29 @@ From the specification (`docs/workflow/specification/{topic}.md`), extract:
19
19
  - Architectural choices
20
20
  - Edge cases identified
21
21
  - Constraints and requirements
22
+ - **External dependencies** (from the Dependencies section)
22
23
 
23
24
  **The specification is your sole input.** Discussion documents and other source materials have already been validated, filtered, and enriched during the specification phase. Everything you need is in the specification - do not reference other documents.
24
25
 
26
+ #### Extract External Dependencies
27
+
28
+ The specification's Dependencies section lists things this feature needs from other topics/systems. These are **external dependencies** - things outside this plan's scope that must exist for implementation to proceed.
29
+
30
+ Copy these into the plan index file (see "External Dependencies Section" below). During planning:
31
+
32
+ 1. **Check for existing plans**: For each dependency, search `docs/workflow/planning/` for a matching topic
33
+ 2. **If plan exists**: Try to identify specific tasks that satisfy the dependency. Query the output format to find relevant tasks. If ambiguous, ask the user which tasks apply.
34
+ 3. **If no plan exists**: Record the dependency in natural language - it will be linked later via `/link-dependencies` or when that topic is planned.
35
+
36
+ **Optional reverse check**: Ask the user: "Would you like me to check if any existing plans depend on this topic?"
37
+
38
+ If yes:
39
+ 1. Scan other plan indexes for External Dependencies that reference this topic
40
+ 2. For each match, identify which task(s) in the current plan satisfy that dependency
41
+ 3. Update the other plan's dependency entry with the task ID (unresolved → resolved)
42
+
43
+ Alternatively, the user can run `/link-dependencies` later to resolve dependencies across all plans in bulk.
44
+
25
45
  ### 2. Define Phases
26
46
 
27
47
  Break into logical phases:
@@ -106,6 +126,11 @@ Before handing off to implementation:
106
126
  - [ ] Each task has micro acceptance (test name)
107
127
  - [ ] All edge cases mapped to tasks
108
128
  - [ ] Gaps flagged with `[needs-info]`
129
+ - [ ] External dependencies documented in plan index
130
+
131
+ ## External Dependencies Section
132
+
133
+ The plan index file must include an External Dependencies section. See **[dependencies.md](dependencies.md)** for the format, states, and how they affect implementation.
109
134
 
110
135
  ## Commit Frequently
111
136
 
@@ -71,9 +71,10 @@ This plan is managed via Backlog.md. Tasks are stored in the `backlog/` director
71
71
 
72
72
  **Implementation will**:
73
73
  1. Read this file to identify the plan
74
- 2. Query backlog via MCP or read task files directly
75
- 3. Work through tasks by status/priority
76
- 4. Update task status as work completes
74
+ 2. Check External Dependencies below
75
+ 3. Query backlog via MCP or read task files directly
76
+ 4. Work through tasks by status/priority
77
+ 5. Update task status as work completes
77
78
 
78
79
  **To add tasks**: Run `backlog add "Task title"` or create task files directly.
79
80
 
@@ -86,8 +87,17 @@ Tasks are organized with labels/priorities:
86
87
  ## Key Decisions
87
88
 
88
89
  [Summary of key decisions from specification]
90
+
91
+ ## External Dependencies
92
+
93
+ [Dependencies on other topics - copy from specification's Dependencies section]
94
+
95
+ - {topic}: {description}
96
+ - {topic}: {description} → {task-id} (resolved)
89
97
  ```
90
98
 
99
+ The External Dependencies section tracks what this plan needs from other topics. See `formal-planning.md` for the format and states (unresolved, resolved, satisfied externally).
100
+
91
101
  ### Task File Format
92
102
 
93
103
  Each task is a separate file: `backlog/task-{id} - {title}.md`
@@ -138,7 +148,68 @@ Specification reference: `docs/workflow/specification/{topic}.md` (for ambiguity
138
148
  | `priority` | Importance | high, medium, low |
139
149
  | `labels` | Categories | `[phase-1, api, edge-case, needs-info]` |
140
150
  | `assignee` | Who's working on it | (optional) |
141
- | `dependencies` | Blocking tasks | `[task-1, task-3]` |
151
+ | `dependencies` | Blocking tasks (internal) | `[task-1, task-3]` |
152
+ | `external_deps` | Cross-topic dependencies | `[billing-system#task-5]` |
153
+
154
+ ## Cross-Topic Dependencies
155
+
156
+ Cross-topic dependencies link tasks between different plan topics. This is how you express "this task depends on the billing system being implemented."
157
+
158
+ ### In Task Frontmatter
159
+
160
+ Use the `external_deps` field with the format `{topic}#{task-id}`:
161
+
162
+ ```yaml
163
+ ---
164
+ status: To Do
165
+ priority: high
166
+ labels: [phase-1]
167
+ external_deps: [billing-system#task-5, authentication#task-3]
168
+ ---
169
+ ```
170
+
171
+ ### In Plan Reference File
172
+
173
+ The plan reference file at `docs/workflow/planning/{topic}.md` tracks external dependencies in a dedicated section (see template below).
174
+
175
+ ## Querying Dependencies
176
+
177
+ Use these queries to understand the dependency graph for implementation blocking and `/link-dependencies`.
178
+
179
+ ### Find Tasks With External Dependencies
180
+
181
+ ```bash
182
+ # Find all tasks with external dependencies
183
+ grep -l "external_deps:" backlog/*.md
184
+
185
+ # Find tasks depending on a specific topic
186
+ grep -l "billing-system#" backlog/*.md
187
+ ```
188
+
189
+ ### Check Internal Dependencies
190
+
191
+ ```bash
192
+ # Find tasks with dependencies
193
+ grep -l "dependencies:" backlog/*.md
194
+
195
+ # Show dependency values
196
+ grep "dependencies:" backlog/*.md
197
+ ```
198
+
199
+ ### Check if a Dependency is Complete
200
+
201
+ Read the task file and check the frontmatter:
202
+ - `status: Done` means the dependency is met
203
+ - Any other status means it's still blocking
204
+
205
+ ### Parse Frontmatter Programmatically
206
+
207
+ For more complex queries, parse the YAML frontmatter:
208
+
209
+ ```bash
210
+ # Extract frontmatter from a task file
211
+ sed -n '/^---$/,/^---$/p' backlog/task-5*.md
212
+ ```
142
213
 
143
214
  ### Using `needs-info` Label
144
215
 
@@ -78,10 +78,13 @@ This creates `.beads/config.yaml` with the appropriate `no-db` setting.
78
78
 
79
79
  | Planning Concept | Beads Entity |
80
80
  |------------------|--------------|
81
- | Plan | Epic issue |
81
+ | Specification/Topic | Epic issue |
82
82
  | Phase | Sub-issue under epic |
83
83
  | Task | Sub-task under phase |
84
- | Dependency | `bd dep add` relationship |
84
+ | Internal dependency | `bd dep add` within same epic |
85
+ | Cross-topic dependency | `bd dep add` across epics |
86
+
87
+ Each specification topic becomes its own epic. All epics live in one beads database, enabling cross-topic dependencies.
85
88
 
86
89
  Example hierarchy:
87
90
  ```
@@ -91,8 +94,85 @@ bd-a3f8 (Epic: User Authentication)
91
94
  │ └── bd-a3f8.1.2 (Task: Session management)
92
95
  └── bd-a3f8.2 (Phase 2: OAuth)
93
96
  └── bd-a3f8.2.1 (Task: Google provider)
97
+
98
+ bd-b7c2 (Epic: Billing System) ← Different topic, same database
99
+ ├── bd-b7c2.1 (Phase 1: Invoicing)
100
+ │ └── bd-b7c2.1.1 (Task: Invoice generation)
101
+ ```
102
+
103
+ ## Cross-Epic Dependencies
104
+
105
+ Cross-topic dependencies link tasks between different epics (different specifications/topics). This is how you express "billing depends on authentication being complete."
106
+
107
+ ### Creating Cross-Epic Dependencies
108
+
109
+ Use the same `bd dep add` command - it works across epics:
110
+
111
+ ```bash
112
+ # Invoice generation (in billing epic) depends on user authentication (in auth epic)
113
+ bd dep add bd-b7c2.1.1 bd-a3f8.1.1
114
+ ```
115
+
116
+ After adding, `bd ready` will not show `bd-b7c2.1.1` until `bd-a3f8.1.1` is closed.
117
+
118
+ ### Viewing Cross-Epic Dependencies
119
+
120
+ ```bash
121
+ # Show what a task depends on
122
+ bd show bd-b7c2.1.1
123
+
124
+ # Show what depends on a task
125
+ bd show bd-a3f8.1.1 --deps
126
+ ```
127
+
128
+ ## Querying Dependencies
129
+
130
+ Use these queries to understand the dependency graph for implementation blocking and `/link-dependencies`.
131
+
132
+ ### Find Ready Tasks (No Open Blockers)
133
+
134
+ ```bash
135
+ bd ready
94
136
  ```
95
137
 
138
+ Returns tasks with no incomplete dependencies - these are safe to implement.
139
+
140
+ ### Find All Tasks Blocked By a Specific Task
141
+
142
+ ```bash
143
+ bd show bd-a3f8.1.1 --deps
144
+ ```
145
+
146
+ Shows what will be unblocked when this task completes.
147
+
148
+ ### Find What a Task Depends On
149
+
150
+ ```bash
151
+ bd show bd-b7c2.1.1
152
+ ```
153
+
154
+ The output includes a "Blocked by" section listing dependencies.
155
+
156
+ ### Query Via JSONL (Advanced)
157
+
158
+ For programmatic queries, read `.beads/issues.jsonl` directly:
159
+
160
+ ```bash
161
+ # Find all dependencies (grep for blocked_by field)
162
+ grep -o '"blocked_by":\[[^]]*\]' .beads/issues.jsonl
163
+
164
+ # Find tasks depending on a specific ID
165
+ grep '"bd-a3f8.1.1"' .beads/issues.jsonl | grep blocked_by
166
+ ```
167
+
168
+ ### Check if a Task is Complete
169
+
170
+ ```bash
171
+ bd show bd-a3f8.1.1
172
+ ```
173
+
174
+ Look for `status: closed` in the output. A dependency is "met" when the task is closed.
175
+
96
176
  ## Output Process
97
177
 
98
178
  ### 1. Create Epic for Plan
@@ -180,9 +260,10 @@ This plan is managed via Beads. Tasks are stored in `.beads/` and tracked as a d
180
260
 
181
261
  **Implementation will**:
182
262
  1. Read this file to identify the epic
183
- 2. Query `bd ready` for unblocked tasks
184
- 3. Work through tasks respecting dependencies
185
- 4. Close tasks with `bd close bd-{id} "reason"`
263
+ 2. Check External Dependencies below
264
+ 3. Query `bd ready` for unblocked tasks
265
+ 4. Work through tasks respecting dependencies
266
+ 5. Close tasks with `bd close bd-{id} "reason"`
186
267
 
187
268
  ## Key Decisions
188
269
 
@@ -194,8 +275,17 @@ This plan is managed via Beads. Tasks are stored in `.beads/` and tracked as a d
194
275
  |-------|------|---------|
195
276
  | Phase 1 | {Goal} | bd-{id}.1 |
196
277
  | Phase 2 | {Goal} | bd-{id}.2 |
278
+
279
+ ## External Dependencies
280
+
281
+ [Dependencies on other topics - copy from specification's Dependencies section]
282
+
283
+ - {topic}: {description}
284
+ - {topic}: {description} → {task-id} (resolved)
197
285
  ```
198
286
 
287
+ The External Dependencies section tracks what this plan needs from other topics. See `formal-planning.md` for the format and states (unresolved, resolved, satisfied externally).
288
+
199
289
  ## Frontmatter
200
290
 
201
291
  The `format: beads` frontmatter tells implementation to use beads CLI:
@@ -18,9 +18,52 @@ Ask the user: **Which team should own this project?**
18
18
 
19
19
  | Planning Concept | Linear Entity |
20
20
  |------------------|---------------|
21
- | Plan | Project |
21
+ | Specification/Topic | Project |
22
22
  | Phase | Label (e.g., `phase-1`, `phase-2`) |
23
23
  | Task | Issue |
24
+ | Internal dependency | Issue blocking relationship (within project) |
25
+ | Cross-topic dependency | Issue blocking relationship (across projects) |
26
+
27
+ Each specification topic becomes its own Linear project. Cross-topic dependencies link issues between projects.
28
+
29
+ ## Cross-Project Dependencies
30
+
31
+ Cross-topic dependencies link issues between different Linear projects (different specifications/topics). This is how you express "billing depends on authentication being complete."
32
+
33
+ ### Creating Cross-Project Dependencies
34
+
35
+ Linear supports blocking relationships between issues, even across projects. Via MCP or the Linear UI:
36
+
37
+ 1. Open the dependent issue (the one that's blocked)
38
+ 2. Add a "Blocked by" relationship to the issue in the other project
39
+ 3. Linear will show this issue as blocked until the dependency is complete
40
+
41
+ ## Querying Dependencies
42
+
43
+ Use these queries to understand the dependency graph for implementation blocking and `/link-dependencies`.
44
+
45
+ ### Via MCP
46
+
47
+ Query Linear for issues with blocking relationships:
48
+
49
+ ```
50
+ # Get all issues in a project
51
+ linear_getIssues(projectId: "{project_id}")
52
+
53
+ # Check if an issue has blockers
54
+ linear_getIssue(issueId: "{issue_id}")
55
+ # Look for blockedByIssues in the response
56
+ ```
57
+
58
+ ### Check if a Dependency is Complete
59
+
60
+ Query the blocking issue and check its state:
61
+ - `state.type === "completed"` means the dependency is met
62
+ - Any other state means it's still blocking
63
+
64
+ ### Find Issues Blocked by a Specific Issue
65
+
66
+ Via the Linear API or MCP, query for issues where `blockedByIssues` contains the issue ID.
24
67
 
25
68
  ## Output Process
26
69
 
@@ -125,17 +168,27 @@ This plan is managed in Linear. The source of truth for tasks and progress is th
125
168
 
126
169
  **Implementation will**:
127
170
  1. Read this file to find the Linear project
128
- 2. Query Linear for project issues
129
- 3. Work through tasks in phase order (by label)
130
- 4. Update issue status as tasks complete
171
+ 2. Check External Dependencies below
172
+ 3. Query Linear for project issues
173
+ 4. Work through tasks in phase order (by label)
174
+ 5. Update issue status as tasks complete
131
175
 
132
176
  **To add tasks**: Create issues in the Linear project. They'll be picked up automatically.
133
177
 
134
178
  ## Key Decisions
135
179
 
136
180
  [Summary of key decisions from specification - for quick reference]
181
+
182
+ ## External Dependencies
183
+
184
+ [Dependencies on other topics - copy from specification's Dependencies section]
185
+
186
+ - {topic}: {description}
187
+ - {topic}: {description} → {issue-id} (resolved)
137
188
  ```
138
189
 
190
+ The External Dependencies section tracks what this plan needs from other topics. See `formal-planning.md` for the format and states (unresolved, resolved, satisfied externally).
191
+
139
192
  ## Frontmatter
140
193
 
141
194
  The frontmatter contains all information needed to query Linear:
@@ -124,11 +124,18 @@ Map edge cases from specification to specific tasks:
124
124
 
125
125
  Tables, schemas, API contracts
126
126
 
127
- ## Dependencies
127
+ ## Internal Dependencies
128
128
 
129
129
  - Prerequisites for Phase 1
130
- - Phase dependencies
131
- - External blockers
130
+ - Phase dependencies (Phase 2 depends on Phase 1, etc.)
131
+
132
+ ## External Dependencies
133
+
134
+ [Dependencies on other topics - copy from specification's Dependencies section]
135
+
136
+ - {topic}: {description}
137
+ - {topic}: {description} → {task-reference} (resolved)
138
+ - ~~{topic}: {description}~~ → satisfied externally
132
139
 
133
140
  ## Rollback (if applicable)
134
141
 
@@ -141,6 +148,67 @@ Triggers and steps
141
148
  | YYYY-MM-DD | Created from specification |
142
149
  ```
143
150
 
151
+ ## Cross-Topic Dependencies
152
+
153
+ Cross-topic dependencies link tasks between different plan files. This is how you express "this feature depends on the billing system being implemented."
154
+
155
+ ### In the External Dependencies Section
156
+
157
+ Use the format `{topic}: {description} → {task-reference}` where task-reference points to a specific task in another plan file:
158
+
159
+ ```markdown
160
+ ## External Dependencies
161
+
162
+ - billing-system: Invoice generation → billing-system.md#phase-1-task-2 (resolved)
163
+ - authentication: User context → authentication.md#phase-2-task-1 (resolved)
164
+ - payment-gateway: Payment processing (unresolved - not yet planned)
165
+ ```
166
+
167
+ ### Task References
168
+
169
+ For local markdown plans, reference tasks using:
170
+ - `{topic}.md#phase-{n}-task-{m}` - references a specific task by phase and number
171
+ - Consider adding nano IDs to task headers for more stable references
172
+
173
+ ## Querying Dependencies
174
+
175
+ Use these queries to understand the dependency graph for implementation blocking and `/link-dependencies`.
176
+
177
+ ### Find Plans With External Dependencies
178
+
179
+ ```bash
180
+ # Find all plans with external dependencies
181
+ grep -l "## External Dependencies" docs/workflow/planning/*.md
182
+
183
+ # Find unresolved dependencies (no arrow →)
184
+ grep -A 10 "## External Dependencies" docs/workflow/planning/*.md | grep "^- " | grep -v "→"
185
+ ```
186
+
187
+ ### Find Dependencies on a Specific Topic
188
+
189
+ ```bash
190
+ # Find plans that depend on billing-system
191
+ grep -l "billing-system:" docs/workflow/planning/*.md
192
+ ```
193
+
194
+ ### Check if a Dependency Task Exists
195
+
196
+ Read the referenced plan file and verify the task exists:
197
+
198
+ ```bash
199
+ # Check if a task exists in another plan
200
+ grep "Phase 1.*Task 2" docs/workflow/planning/billing-system.md
201
+ ```
202
+
203
+ ### Check if a Dependency is Complete
204
+
205
+ For local markdown, check if the task's acceptance criteria are checked off:
206
+
207
+ ```bash
208
+ # Look for completed acceptance criteria
209
+ grep -A 5 "### Phase 1" docs/workflow/planning/billing-system.md | grep "\[x\]"
210
+ ```
211
+
144
212
  ## Frontmatter
145
213
 
146
214
  The `format: local-markdown` frontmatter tells implementation that the full plan content is in this file.
@@ -7,16 +7,20 @@ description: "Explore ideas, validate concepts, and research broadly across tech
7
7
 
8
8
  Act as **research partner** with broad expertise spanning technical, product, business, and market domains. Your role is learning, exploration, and discovery.
9
9
 
10
- ## Six-Phase Workflow
10
+ ## Purpose in the Workflow
11
11
 
12
- 1. **Research** (YOU): EXPLORE - ideas, feasibility, market, business, learning
13
- 2. **Discussion** (next): WHAT and WHY - decisions, architecture, edge cases
14
- 3. **Specification** (after): REFINE - validate and build standalone spec
15
- 4. **Planning** (after): HOW - phases, tasks, acceptance criteria
16
- 5. **Implementation** (after): DOING - tests first, then code
17
- 6. **Review** (final): VALIDATING - check work against artifacts
12
+ This skill can be used:
13
+ - **Sequentially** (Phase 1): First phase, to explore ideas before discussion
14
+ - **Standalone** (Contract entry): To research and validate any idea, feature, or concept
18
15
 
19
- You're at step 1. Explore freely.
16
+ Either way: Explore feasibility (technical, business, market), validate assumptions, document findings.
17
+
18
+ ### What This Skill Needs
19
+
20
+ - **Topic or idea** (required) - What to research/explore
21
+ - **Existing context** (optional) - Any prior research or constraints
22
+
23
+ **If missing:** Will ask user what they want to explore.
20
24
 
21
25
  ## Your Expertise
22
26
 
@@ -58,7 +62,7 @@ Start with one file. Early research is messy - topics aren't clear, you're follo
58
62
 
59
63
  **Let themes emerge**: Over multiple sessions, topics may become distinct. When they do, split into semantic files (`market-landscape.md`, `technical-feasibility.md`).
60
64
 
61
- **Periodic review**: Every few sessions, assess: are themes emerging? Split them out. Still fuzzy? Keep exploring. Ready for deeper discussion? Move to `docs/workflow/discussion/`.
65
+ **Periodic review**: Every few sessions, assess: are themes emerging? Split them out. Still fuzzy? Keep exploring. Ready for deeper discussion? Research phase is complete.
62
66
 
63
67
  ## Documentation Loop
64
68
 
@@ -9,20 +9,37 @@ Act as a **senior software architect** with deep experience in code review. You
9
9
 
10
10
  This is **product review**, **feature review**, **test review**, AND **code review**. Not just "does the code work?" but "was every task done correctly, tested properly, and built to professional standards?"
11
11
 
12
- ## Six-Phase Workflow
12
+ ## Review Artifacts
13
13
 
14
- 1. **Research** (artifact): EXPLORE - ideas, feasibility, market, business, learning
15
- 2. **Discussion** (artifact): WHAT and WHY - decisions, architecture, rationale
16
- 3. **Specification** (artifact): REFINE - validated, standalone specification
17
- 4. **Planning** (artifact): HOW - phases, tasks, acceptance criteria
18
- 5. **Implementation** (completed): DOING - tests and code
19
- 6. **Review** (YOU): VALIDATING - verify every task
14
+ This skill reviews against available artifacts. Required:
15
+ - **Plan** (the tasks and acceptance criteria)
20
16
 
21
- You're at step 6. The code exists. Your job is comprehensive verification.
17
+ Optional but helpful:
18
+ - **Specification** (context for design decisions)
19
+
20
+ ## Purpose in the Workflow
21
+
22
+ This skill can be used:
23
+ - **Sequentially** (Phase 6): After implementation of a planned feature
24
+ - **Standalone** (Contract entry): To review any implementation against a plan
25
+
26
+ Either way: Verify every plan task was implemented, tested adequately, and meets quality standards.
27
+
28
+ ### What This Skill Needs
29
+
30
+ - **Plan content** (required) - Tasks and acceptance criteria to verify against
31
+ - **Specification content** (optional) - Context for design decisions
32
+ - **Implementation scope** (optional) - What code/files to review. Will identify from git if not specified.
33
+
34
+ **If missing:** Will ask user for plan location. Can proceed without specification.
22
35
 
23
36
  ## Review Approach
24
37
 
25
- Start from the **plan** - it contains the granular tasks and acceptance criteria. Use the **specification** for context. Verify **all** tasks, not a sample.
38
+ Start from the **plan** - it contains the granular tasks and acceptance criteria.
39
+
40
+ Use the **specification** for context if available. If no specification exists, the plan is the source of truth for design decisions.
41
+
42
+ Verify **all** tasks, not a sample.
26
43
 
27
44
  ```
28
45
  Plan (tasks + acceptance criteria)
@@ -6,8 +6,10 @@
6
6
 
7
7
  ## Before Starting
8
8
 
9
- 1. Read plan: `docs/workflow/planning/{topic}.md`
10
- 2. Read specification: `docs/workflow/specification/{topic}.md` (for context)
9
+ 1. Read plan (from the location provided)
10
+ - If not found at expected path, ask user where the plan is
11
+ 2. Read specification if available and linked in plan
12
+ - Not required, but helpful for context if it exists
11
13
  3. Identify what code/files were changed
12
14
  4. Check for project-specific skills in `.claude/skills/`
13
15