@fro.bot/systematic 1.22.7 → 1.23.0

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 (40) hide show
  1. package/package.json +1 -1
  2. package/skills/agent-browser/SKILL.md +511 -170
  3. package/skills/agent-browser/references/authentication.md +303 -0
  4. package/skills/agent-browser/references/commands.md +266 -0
  5. package/skills/agent-browser/references/profiling.md +120 -0
  6. package/skills/agent-browser/references/proxy-support.md +194 -0
  7. package/skills/agent-browser/references/session-management.md +193 -0
  8. package/skills/agent-browser/references/snapshot-refs.md +194 -0
  9. package/skills/agent-browser/references/video-recording.md +173 -0
  10. package/skills/agent-browser/templates/authenticated-session.sh +105 -0
  11. package/skills/agent-browser/templates/capture-workflow.sh +69 -0
  12. package/skills/agent-browser/templates/form-automation.sh +62 -0
  13. package/skills/agent-native-audit/SKILL.md +279 -0
  14. package/skills/ce-brainstorm/SKILL.md +146 -0
  15. package/skills/ce-compound/SKILL.md +317 -0
  16. package/skills/ce-plan/SKILL.md +642 -0
  17. package/skills/ce-review/SKILL.md +559 -0
  18. package/skills/ce-work/SKILL.md +471 -0
  19. package/skills/changelog/SKILL.md +139 -0
  20. package/skills/create-agent-skill/SKILL.md +10 -0
  21. package/skills/create-agent-skills/SKILL.md +3 -14
  22. package/skills/deepen-plan/SKILL.md +545 -0
  23. package/skills/deploy-docs/SKILL.md +113 -0
  24. package/skills/feature-video/SKILL.md +352 -0
  25. package/skills/generate_command/SKILL.md +163 -0
  26. package/skills/heal-skill/SKILL.md +148 -0
  27. package/skills/lfg/SKILL.md +34 -0
  28. package/skills/report-bug/SKILL.md +151 -0
  29. package/skills/reproduce-bug/SKILL.md +101 -0
  30. package/skills/resolve_parallel/SKILL.md +35 -0
  31. package/skills/resolve_todo_parallel/SKILL.md +38 -0
  32. package/skills/slfg/SKILL.md +33 -0
  33. package/skills/test-browser/SKILL.md +394 -0
  34. package/skills/test-xcode/SKILL.md +333 -0
  35. package/skills/triage/SKILL.md +312 -0
  36. package/skills/workflows-brainstorm/SKILL.md +11 -0
  37. package/skills/workflows-compound/SKILL.md +10 -0
  38. package/skills/workflows-plan/SKILL.md +10 -0
  39. package/skills/workflows-review/SKILL.md +10 -0
  40. package/skills/workflows-work/SKILL.md +10 -0
@@ -0,0 +1,642 @@
1
+ ---
2
+ name: ce-plan
3
+ description: Transform feature descriptions into well-structured project plans following conventions
4
+ argument-hint: '[feature description, bug report, or improvement idea]'
5
+ ---
6
+
7
+ # Create a plan for a new feature or bug fix
8
+
9
+ ## Introduction
10
+
11
+ **Note: The current year is 2026.** Use this when dating plans and searching for recent documentation.
12
+
13
+ Transform feature descriptions, bug reports, or improvement ideas into well-structured markdown files issues that follow project conventions and best practices. This command provides flexible detail levels to match your needs.
14
+
15
+ ## Feature Description
16
+
17
+ <feature_description> #$ARGUMENTS </feature_description>
18
+
19
+ **If the feature description above is empty, ask the user:** "What would you like to plan? Please describe the feature, bug fix, or improvement you have in mind."
20
+
21
+ Do not proceed until you have a clear feature description from the user.
22
+
23
+ ### 0. Idea Refinement
24
+
25
+ **Check for brainstorm output first:**
26
+
27
+ Before asking questions, look for recent brainstorm documents in `docs/brainstorms/` that match this feature:
28
+
29
+ ```bash
30
+ ls -la docs/brainstorms/*.md 2>/dev/null | head -10
31
+ ```
32
+
33
+ **Relevance criteria:** A brainstorm is relevant if:
34
+ - The topic (from filename or YAML frontmatter) semantically matches the feature description
35
+ - Created within the last 14 days
36
+ - If multiple candidates match, use the most recent one
37
+
38
+ **If a relevant brainstorm exists:**
39
+ 1. Read the brainstorm document **thoroughly** — every section matters
40
+ 2. Announce: "Found brainstorm from [date]: [topic]. Using as foundation for planning."
41
+ 3. Extract and carry forward **ALL** of the following into the plan:
42
+ - Key decisions and their rationale
43
+ - Chosen approach and why alternatives were rejected
44
+ - Constraints and requirements discovered during brainstorming
45
+ - Open questions (flag these for resolution during planning)
46
+ - Success criteria and scope boundaries
47
+ - Any specific technical choices or patterns discussed
48
+ 4. **Skip the idea refinement questions below** — the brainstorm already answered WHAT to build
49
+ 5. Use brainstorm content as the **primary input** to research and planning phases
50
+ 6. **Critical: The brainstorm is the origin document.** Throughout the plan, reference specific decisions with `(see brainstorm: docs/brainstorms/<filename>)` when carrying forward conclusions. Do not paraphrase decisions in a way that loses their original context — link back to the source.
51
+ 7. **Do not omit brainstorm content** — if the brainstorm discussed it, the plan must address it (even if briefly). Scan each brainstorm section before finalizing the plan to verify nothing was dropped.
52
+
53
+ **If multiple brainstorms could match:**
54
+ Use **question tool** to ask which brainstorm to use, or whether to proceed without one.
55
+
56
+ **If no brainstorm found (or not relevant), run idea refinement:**
57
+
58
+ Refine the idea through collaborative dialogue using the **question tool**:
59
+
60
+ - Ask questions one at a time to understand the idea fully
61
+ - Prefer multiple choice questions when natural options exist
62
+ - Focus on understanding: purpose, constraints and success criteria
63
+ - Continue until the idea is clear OR user says "proceed"
64
+
65
+ **Gather signals for research decision.** During refinement, note:
66
+
67
+ - **User's familiarity**: Do they know the codebase patterns? Are they pointing to examples?
68
+ - **User's intent**: Speed vs thoroughness? Exploration vs execution?
69
+ - **Topic risk**: Security, payments, external APIs warrant more caution
70
+ - **Uncertainty level**: Is the approach clear or open-ended?
71
+
72
+ **Skip option:** If the feature description is already detailed, offer:
73
+ "Your description is clear. Should I proceed with research, or would you like to refine it further?"
74
+
75
+ ## Main Tasks
76
+
77
+ ### 1. Local Research (Always Runs - Parallel)
78
+
79
+ <thinking>
80
+ First, I need to understand the project's conventions, existing patterns, and any documented learnings. This is fast and local - it informs whether external research is needed.
81
+ </thinking>
82
+
83
+ Run these agents **in parallel** to gather local context:
84
+
85
+ - task systematic:research:repo-research-analyst(feature_description)
86
+ - task systematic:research:learnings-researcher(feature_description)
87
+
88
+ **What to look for:**
89
+ - **Repo research:** existing patterns, AGENTS.md guidance, technology familiarity, pattern consistency
90
+ - **Learnings:** documented solutions in `docs/solutions/` that might apply (gotchas, patterns, lessons learned)
91
+
92
+ These findings inform the next step.
93
+
94
+ ### 1.5. Research Decision
95
+
96
+ Based on signals from Step 0 and findings from Step 1, decide on external research.
97
+
98
+ **High-risk topics → always research.** Security, payments, external APIs, data privacy. The cost of missing something is too high. This takes precedence over speed signals.
99
+
100
+ **Strong local context → skip external research.** Codebase has good patterns, AGENTS.md has guidance, user knows what they want. External research adds little value.
101
+
102
+ **Uncertainty or unfamiliar territory → research.** User is exploring, codebase has no examples, new technology. External perspective is valuable.
103
+
104
+ **Announce the decision and proceed.** Brief explanation, then continue. User can redirect if needed.
105
+
106
+ Examples:
107
+ - "Your codebase has solid patterns for this. Proceeding without external research."
108
+ - "This involves payment processing, so I'll research current best practices first."
109
+
110
+ ### 1.5b. External Research (Conditional)
111
+
112
+ **Only run if Step 1.5 indicates external research is valuable.**
113
+
114
+ Run these agents in parallel:
115
+
116
+ - task systematic:research:best-practices-researcher(feature_description)
117
+ - task systematic:research:framework-docs-researcher(feature_description)
118
+
119
+ ### 1.6. Consolidate Research
120
+
121
+ After all research steps complete, consolidate findings:
122
+
123
+ - Document relevant file paths from repo research (e.g., `app/services/example_service.rb:42`)
124
+ - **Include relevant institutional learnings** from `docs/solutions/` (key insights, gotchas to avoid)
125
+ - Note external documentation URLs and best practices (if external research was done)
126
+ - List related issues or PRs discovered
127
+ - Capture AGENTS.md conventions
128
+
129
+ **Optional validation:** Briefly summarize findings and ask if anything looks off or missing before proceeding to planning.
130
+
131
+ ### 2. Issue Planning & Structure
132
+
133
+ <thinking>
134
+ Think like a product manager - what would make this issue clear and actionable? Consider multiple perspectives
135
+ </thinking>
136
+
137
+ **Title & Categorization:**
138
+
139
+ - [ ] Draft clear, searchable issue title using conventional format (e.g., `feat: Add user authentication`, `fix: Cart total calculation`)
140
+ - [ ] Determine issue type: enhancement, bug, refactor
141
+ - [ ] Convert title to filename: add today's date prefix, determine daily sequence number, strip prefix colon, kebab-case, add `-plan` suffix
142
+ - Scan `docs/plans/` for files matching today's date pattern `YYYY-MM-DD-\d{3}-`
143
+ - Find the highest existing sequence number for today
144
+ - Increment by 1, zero-padded to 3 digits (001, 002, etc.)
145
+ - Example: `feat: Add User Authentication` → `2026-01-21-001-feat-add-user-authentication-plan.md`
146
+ - Keep it descriptive (3-5 words after prefix) so plans are findable by context
147
+
148
+ **Stakeholder Analysis:**
149
+
150
+ - [ ] Identify who will be affected by this issue (end users, developers, operations)
151
+ - [ ] Consider implementation complexity and required expertise
152
+
153
+ **Content Planning:**
154
+
155
+ - [ ] Choose appropriate detail level based on issue complexity and audience
156
+ - [ ] List all necessary sections for the chosen template
157
+ - [ ] Gather supporting materials (error logs, screenshots, design mockups)
158
+ - [ ] Prepare code examples or reproduction steps if applicable, name the mock filenames in the lists
159
+
160
+ ### 3. SpecFlow Analysis
161
+
162
+ After planning the issue structure, run SpecFlow Analyzer to validate and refine the feature specification:
163
+
164
+ - task systematic:workflow:spec-flow-analyzer(feature_description, research_findings)
165
+
166
+ **SpecFlow Analyzer Output:**
167
+
168
+ - [ ] Review SpecFlow analysis results
169
+ - [ ] Incorporate any identified gaps or edge cases into the issue
170
+ - [ ] Update acceptance criteria based on SpecFlow findings
171
+
172
+ ### 4. Choose Implementation Detail Level
173
+
174
+ Select how comprehensive you want the issue to be, simpler is mostly better.
175
+
176
+ #### 📄 MINIMAL (Quick Issue)
177
+
178
+ **Best for:** Simple bugs, small improvements, clear features
179
+
180
+ **Includes:**
181
+
182
+ - Problem statement or feature description
183
+ - Basic acceptance criteria
184
+ - Essential context only
185
+
186
+ **Structure:**
187
+
188
+ ````markdown
189
+ ---
190
+ title: [Issue Title]
191
+ type: [feat|fix|refactor]
192
+ status: active
193
+ date: YYYY-MM-DD
194
+ origin: docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md # if originated from brainstorm, otherwise omit
195
+ ---
196
+
197
+ # [Issue Title]
198
+
199
+ [Brief problem/feature description]
200
+
201
+ ## Acceptance Criteria
202
+
203
+ - [ ] Core requirement 1
204
+ - [ ] Core requirement 2
205
+
206
+ ## Context
207
+
208
+ [Any critical information]
209
+
210
+ ## MVP
211
+
212
+ ### test.rb
213
+
214
+ ```ruby
215
+ class Test
216
+ def initialize
217
+ @name = "test"
218
+ end
219
+ end
220
+ ```
221
+
222
+ ## Sources
223
+
224
+ - **Origin brainstorm:** [docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md](path) — include if plan originated from a brainstorm
225
+ - Related issue: #[issue_number]
226
+ - Documentation: [relevant_docs_url]
227
+ ````
228
+
229
+ #### 📋 MORE (Standard Issue)
230
+
231
+ **Best for:** Most features, complex bugs, team collaboration
232
+
233
+ **Includes everything from MINIMAL plus:**
234
+
235
+ - Detailed background and motivation
236
+ - Technical considerations
237
+ - Success metrics
238
+ - Dependencies and risks
239
+ - Basic implementation suggestions
240
+
241
+ **Structure:**
242
+
243
+ ```markdown
244
+ ---
245
+ title: [Issue Title]
246
+ type: [feat|fix|refactor]
247
+ status: active
248
+ date: YYYY-MM-DD
249
+ origin: docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md # if originated from brainstorm, otherwise omit
250
+ ---
251
+
252
+ # [Issue Title]
253
+
254
+ ## Overview
255
+
256
+ [Comprehensive description]
257
+
258
+ ## Problem Statement / Motivation
259
+
260
+ [Why this matters]
261
+
262
+ ## Proposed Solution
263
+
264
+ [High-level approach]
265
+
266
+ ## Technical Considerations
267
+
268
+ - Architecture impacts
269
+ - Performance implications
270
+ - Security considerations
271
+
272
+ ## System-Wide Impact
273
+
274
+ - **Interaction graph**: [What callbacks/middleware/observers fire when this runs?]
275
+ - **Error propagation**: [How do errors flow across layers? Do retry strategies align?]
276
+ - **State lifecycle risks**: [Can partial failure leave orphaned/inconsistent state?]
277
+ - **API surface parity**: [What other interfaces expose similar functionality and need the same change?]
278
+ - **Integration test scenarios**: [Cross-layer scenarios that unit tests won't catch]
279
+
280
+ ## Acceptance Criteria
281
+
282
+ - [ ] Detailed requirement 1
283
+ - [ ] Detailed requirement 2
284
+ - [ ] Testing requirements
285
+
286
+ ## Success Metrics
287
+
288
+ [How we measure success]
289
+
290
+ ## Dependencies & Risks
291
+
292
+ [What could block or complicate this]
293
+
294
+ ## Sources & References
295
+
296
+ - **Origin brainstorm:** [docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md](path) — include if plan originated from a brainstorm
297
+ - Similar implementations: [file_path:line_number]
298
+ - Best practices: [documentation_url]
299
+ - Related PRs: #[pr_number]
300
+ ```
301
+
302
+ #### 📚 A LOT (Comprehensive Issue)
303
+
304
+ **Best for:** Major features, architectural changes, complex integrations
305
+
306
+ **Includes everything from MORE plus:**
307
+
308
+ - Detailed implementation plan with phases
309
+ - Alternative approaches considered
310
+ - Extensive technical specifications
311
+ - Resource requirements and timeline
312
+ - Future considerations and extensibility
313
+ - Risk mitigation strategies
314
+ - Documentation requirements
315
+
316
+ **Structure:**
317
+
318
+ ```markdown
319
+ ---
320
+ title: [Issue Title]
321
+ type: [feat|fix|refactor]
322
+ status: active
323
+ date: YYYY-MM-DD
324
+ origin: docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md # if originated from brainstorm, otherwise omit
325
+ ---
326
+
327
+ # [Issue Title]
328
+
329
+ ## Overview
330
+
331
+ [Executive summary]
332
+
333
+ ## Problem Statement
334
+
335
+ [Detailed problem analysis]
336
+
337
+ ## Proposed Solution
338
+
339
+ [Comprehensive solution design]
340
+
341
+ ## Technical Approach
342
+
343
+ ### Architecture
344
+
345
+ [Detailed technical design]
346
+
347
+ ### Implementation Phases
348
+
349
+ #### Phase 1: [Foundation]
350
+
351
+ - Tasks and deliverables
352
+ - Success criteria
353
+ - Estimated effort
354
+
355
+ #### Phase 2: [Core Implementation]
356
+
357
+ - Tasks and deliverables
358
+ - Success criteria
359
+ - Estimated effort
360
+
361
+ #### Phase 3: [Polish & Optimization]
362
+
363
+ - Tasks and deliverables
364
+ - Success criteria
365
+ - Estimated effort
366
+
367
+ ## Alternative Approaches Considered
368
+
369
+ [Other solutions evaluated and why rejected]
370
+
371
+ ## System-Wide Impact
372
+
373
+ ### Interaction Graph
374
+
375
+ [Map the chain reaction: what callbacks, middleware, observers, and event handlers fire when this code runs? Trace at least two levels deep. Document: "Action X triggers Y, which calls Z, which persists W."]
376
+
377
+ ### Error & Failure Propagation
378
+
379
+ [Trace errors from lowest layer up. List specific error classes and where they're handled. Identify retry conflicts, unhandled error types, and silent failure swallowing.]
380
+
381
+ ### State Lifecycle Risks
382
+
383
+ [Walk through each step that persists state. Can partial failure orphan rows, duplicate records, or leave caches stale? Document cleanup mechanisms or their absence.]
384
+
385
+ ### API Surface Parity
386
+
387
+ [List all interfaces (classes, DSLs, endpoints) that expose equivalent functionality. Note which need updating and which share the code path.]
388
+
389
+ ### Integration Test Scenarios
390
+
391
+ [3-5 cross-layer test scenarios that unit tests with mocks would never catch. Include expected behavior for each.]
392
+
393
+ ## Acceptance Criteria
394
+
395
+ ### Functional Requirements
396
+
397
+ - [ ] Detailed functional criteria
398
+
399
+ ### Non-Functional Requirements
400
+
401
+ - [ ] Performance targets
402
+ - [ ] Security requirements
403
+ - [ ] Accessibility standards
404
+
405
+ ### Quality Gates
406
+
407
+ - [ ] Test coverage requirements
408
+ - [ ] Documentation completeness
409
+ - [ ] Code review approval
410
+
411
+ ## Success Metrics
412
+
413
+ [Detailed KPIs and measurement methods]
414
+
415
+ ## Dependencies & Prerequisites
416
+
417
+ [Detailed dependency analysis]
418
+
419
+ ## Risk Analysis & Mitigation
420
+
421
+ [Comprehensive risk assessment]
422
+
423
+ ## Resource Requirements
424
+
425
+ [Team, time, infrastructure needs]
426
+
427
+ ## Future Considerations
428
+
429
+ [Extensibility and long-term vision]
430
+
431
+ ## Documentation Plan
432
+
433
+ [What docs need updating]
434
+
435
+ ## Sources & References
436
+
437
+ ### Origin
438
+
439
+ - **Brainstorm document:** [docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md](path) — include if plan originated from a brainstorm. Key decisions carried forward: [list 2-3 major decisions from brainstorm]
440
+
441
+ ### Internal References
442
+
443
+ - Architecture decisions: [file_path:line_number]
444
+ - Similar features: [file_path:line_number]
445
+ - Configuration: [file_path:line_number]
446
+
447
+ ### External References
448
+
449
+ - Framework documentation: [url]
450
+ - Best practices guide: [url]
451
+ - Industry standards: [url]
452
+
453
+ ### Related Work
454
+
455
+ - Previous PRs: #[pr_numbers]
456
+ - Related issues: #[issue_numbers]
457
+ - Design documents: [links]
458
+ ```
459
+
460
+ ### 5. Issue Creation & Formatting
461
+
462
+ <thinking>
463
+ Apply best practices for clarity and actionability, making the issue easy to scan and understand
464
+ </thinking>
465
+
466
+ **Content Formatting:**
467
+
468
+ - [ ] Use clear, descriptive headings with proper hierarchy (##, ###)
469
+ - [ ] Include code examples in triple backticks with language syntax highlighting
470
+ - [ ] Add screenshots/mockups if UI-related (drag & drop or use image hosting)
471
+ - [ ] Use task lists (- [ ]) for trackable items that can be checked off
472
+ - [ ] Add collapsible sections for lengthy logs or optional details using `<details>` tags
473
+ - [ ] Apply appropriate emoji for visual scanning (🐛 bug, ✨ feature, 📚 docs, ♻️ refactor)
474
+
475
+ **Cross-Referencing:**
476
+
477
+ - [ ] Link to related issues/PRs using #number format
478
+ - [ ] Reference specific commits with SHA hashes when relevant
479
+ - [ ] Link to code using GitHub's permalink feature (press 'y' for permanent link)
480
+ - [ ] Mention relevant team members with @username if needed
481
+ - [ ] Add links to external resources with descriptive text
482
+
483
+ **Code & Examples:**
484
+
485
+ ````markdown
486
+ # Good example with syntax highlighting and line references
487
+
488
+
489
+ ```ruby
490
+ # app/services/user_service.rb:42
491
+ def process_user(user)
492
+
493
+ # Implementation here
494
+
495
+ end
496
+ ```
497
+
498
+ # Collapsible error logs
499
+
500
+ <details>
501
+ <summary>Full error stacktrace</summary>
502
+
503
+ `Error details here...`
504
+
505
+ </details>
506
+ ````
507
+
508
+ **AI-Era Considerations:**
509
+
510
+ - [ ] Account for accelerated development with AI pair programming
511
+ - [ ] Include prompts or instructions that worked well during research
512
+ - [ ] Note which AI tools were used for initial exploration (Claude, Copilot, etc.)
513
+ - [ ] Emphasize comprehensive testing given rapid implementation
514
+ - [ ] Document any AI-generated code that needs human review
515
+
516
+ ### 6. Final Review & Submission
517
+
518
+ **Brainstorm cross-check (if plan originated from a brainstorm):**
519
+
520
+ Before finalizing, re-read the brainstorm document and verify:
521
+ - [ ] Every key decision from the brainstorm is reflected in the plan
522
+ - [ ] The chosen approach matches what was decided in the brainstorm
523
+ - [ ] Constraints and requirements from the brainstorm are captured in acceptance criteria
524
+ - [ ] Open questions from the brainstorm are either resolved or flagged
525
+ - [ ] The `origin:` frontmatter field points to the brainstorm file
526
+ - [ ] The Sources section includes the brainstorm with a summary of carried-forward decisions
527
+
528
+ **Pre-submission Checklist:**
529
+
530
+ - [ ] Title is searchable and descriptive
531
+ - [ ] Labels accurately categorize the issue
532
+ - [ ] All template sections are complete
533
+ - [ ] Links and references are working
534
+ - [ ] Acceptance criteria are measurable
535
+ - [ ] Add names of files in pseudo code examples and todo lists
536
+ - [ ] Add an ERD mermaid diagram if applicable for new model changes
537
+
538
+ ## Write Plan File
539
+
540
+ **REQUIRED: Write the plan file to disk before presenting any options.**
541
+
542
+ ```bash
543
+ mkdir -p docs/plans/
544
+ # Determine daily sequence number
545
+ today=$(date +%Y-%m-%d)
546
+ last_seq=$(ls docs/plans/${today}-*-plan.md 2>/dev/null | grep -oP "${today}-\K\d{3}" | sort -n | tail -1)
547
+ next_seq=$(printf "%03d" $(( ${last_seq:-0} + 1 )))
548
+ ```
549
+
550
+ Use the write tool to save the complete plan to `docs/plans/YYYY-MM-DD-NNN-<type>-<descriptive-name>-plan.md` (where NNN is `$next_seq` from the bash command above). This step is mandatory and cannot be skipped — even when running as part of LFG/SLFG or other automated pipelines.
551
+
552
+ Confirm: "Plan written to docs/plans/[filename]"
553
+
554
+ **Pipeline mode:** If invoked from an automated workflow (LFG, SLFG, or any `disable-model-invocation` context), skip all question calls. Make decisions automatically and proceed to writing the plan without interactive prompts.
555
+
556
+ ## Output Format
557
+
558
+ **Filename:** Use the date, daily sequence number, and kebab-case filename from Step 2 Title & Categorization.
559
+
560
+ ```
561
+ docs/plans/YYYY-MM-DD-NNN-<type>-<descriptive-name>-plan.md
562
+ ```
563
+
564
+ Examples:
565
+ - ✅ `docs/plans/2026-01-15-001-feat-user-authentication-flow-plan.md`
566
+ - ✅ `docs/plans/2026-02-03-001-fix-checkout-race-condition-plan.md`
567
+ - ✅ `docs/plans/2026-03-10-002-refactor-api-client-extraction-plan.md`
568
+ - ❌ `docs/plans/2026-01-15-feat-thing-plan.md` (missing sequence number, not descriptive)
569
+ - ❌ `docs/plans/2026-01-15-001-feat-new-feature-plan.md` (too vague - what feature?)
570
+ - ❌ `docs/plans/2026-01-15-001-feat: user auth-plan.md` (invalid characters - colon and space)
571
+ - ❌ `docs/plans/feat-user-auth-plan.md` (missing date prefix and sequence number)
572
+
573
+ ## Post-Generation Options
574
+
575
+ After writing the plan file, use the **question tool** to present these options:
576
+
577
+ **Question:** "Plan ready at `docs/plans/YYYY-MM-DD-NNN-<type>-<name>-plan.md`. What would you like to do next?"
578
+
579
+ **Options:**
580
+ 1. **Open plan in editor** - Open the plan file for review
581
+ 2. **Run `/deepen-plan`** - Enhance each section with parallel research agents (best practices, performance, UI)
582
+ 3. **Review and refine** - Improve the document through structured self-review
583
+ 4. **Share to Proof** - Upload to Proof for collaborative review and sharing
584
+ 5. **Start `/ce:work`** - Begin implementing this plan locally
585
+ 6. **Start `/ce:work` on remote** - Begin implementing in OpenCode on the web (use `&` to run in background)
586
+ 7. **Create Issue** - Create issue in project tracker (GitHub/Linear)
587
+
588
+ Based on selection:
589
+ - **Open plan in editor** → Run `open docs/plans/<plan_filename>.md` to open the file in the user's default editor
590
+ - **`/deepen-plan`** → Call the /deepen-plan command with the plan file path to enhance with research
591
+ - **Review and refine** → Load `document-review` skill.
592
+ - **Share to Proof** → Upload the plan to Proof:
593
+ ```bash
594
+ CONTENT=$(cat docs/plans/<plan_filename>.md)
595
+ TITLE="Plan: <plan title from frontmatter>"
596
+ RESPONSE=$(curl -s -X POST https://www.proofeditor.ai/share/markdown \
597
+ -H "Content-Type: application/json" \
598
+ -d "$(jq -n --arg title "$TITLE" --arg markdown "$CONTENT" --arg by "ai:compound" '{title: $title, markdown: $markdown, by: $by}')")
599
+ PROOF_URL=$(echo "$RESPONSE" | jq -r '.tokenUrl')
600
+ ```
601
+ Display: `View & collaborate in Proof: <PROOF_URL>` — skip silently if curl fails. Then return to options.
602
+ - **`/ce:work`** → Call the /ce:work command with the plan file path
603
+ - **`/ce:work` on remote** → Run `/ce:work docs/plans/<plan_filename>.md &` to start work in background for OpenCode web
604
+ - **Create Issue** → See "Issue Creation" section below
605
+ - **Other** (automatically provided) → Accept free text for rework or specific changes
606
+
607
+ **Note:** If running `/ce:plan` with ultrathink enabled, automatically run `/deepen-plan` after plan creation for maximum depth and grounding.
608
+
609
+ Loop back to options after Simplify or Other changes until user selects `/ce:work` or another action.
610
+
611
+ ## Issue Creation
612
+
613
+ When user selects "Create Issue", detect their project tracker from AGENTS.md:
614
+
615
+ 1. **Check for tracker preference** in user's AGENTS.md (global or project):
616
+ - Look for `project_tracker: github` or `project_tracker: linear`
617
+ - Or look for mentions of "GitHub Issues" or "Linear" in their workflow section
618
+
619
+ 2. **If GitHub:**
620
+
621
+ Use the title and type from Step 2 (already in context - no need to re-read the file):
622
+
623
+ ```bash
624
+ gh issue create --title "<type>: <title>" --body-file <plan_path>
625
+ ```
626
+
627
+ 3. **If Linear:**
628
+
629
+ ```bash
630
+ linear issue create --title "<title>" --description "$(cat <plan_path>)"
631
+ ```
632
+
633
+ 4. **If no tracker configured:**
634
+ Ask user: "Which project tracker do you use? (GitHub/Linear/Other)"
635
+ - Suggest adding `project_tracker: github` or `project_tracker: linear` to their AGENTS.md
636
+
637
+ 5. **After creation:**
638
+ - Display the issue URL
639
+ - Ask if they want to proceed to `/ce:work`
640
+
641
+ NEVER CODE! Just research and write the plan.
642
+