@comfanion/workflow 4.36.42 → 4.36.43

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfanion/workflow",
3
- "version": "4.36.42",
3
+ "version": "4.36.43",
4
4
  "description": "Initialize OpenCode Workflow system for AI-assisted development with semantic code search",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "4.36.42",
3
- "buildDate": "2026-01-24T22:23:56.887Z",
2
+ "version": "4.36.43",
3
+ "buildDate": "2026-01-24T23:17:57.477Z",
4
4
  "files": [
5
5
  "config.yaml",
6
6
  "FLOW.yaml",
@@ -17,7 +17,7 @@ description: |
17
17
  # CONFIGURATION
18
18
  # =============================================================================
19
19
  config:
20
- file: config.yaml
20
+ file: .opencode/config.yaml
21
21
  variables:
22
22
  - user_name
23
23
  - communication_language
@@ -1,7 +1,6 @@
1
1
  ---
2
- description: Create or update the Architecture document
2
+ description: Use when creating or updating system architecture document. Designs modules, data ownership, integration patterns
3
3
  agent: architect
4
- model: anthropic/claude-sonnet-4-20250514
5
4
  ---
6
5
 
7
6
  # Architecture Creation/Update
@@ -1,6 +1,6 @@
1
1
  ---
2
- description: Archive outdated documents while preserving history
3
- agent: archivist
2
+ description: Use when archiving outdated documents or completed sprints while preserving history
3
+ agent: pm
4
4
  ---
5
5
 
6
6
  # Archive Command
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Manage change proposals for modifying existing documentation
2
+ description: Use when managing change proposals for modifying existing documentation. Tracks deltas and impact
3
3
  agent: change-manager
4
4
  ---
5
5
 
@@ -1,6 +1,6 @@
1
1
  ---
2
- description: Structured clarification of requirements before creating PRD/Architecture
3
- agent: requirements-analyst
2
+ description: Use when clarifying requirements before creating PRD or Architecture. Asks structured questions to uncover gaps
3
+ agent: analyst
4
4
  ---
5
5
 
6
6
  # Clarify Command
@@ -1,3 +1,8 @@
1
+ ---
2
+ description: Use when reviewing implemented code for quality, correctness, and adherence to project standards
3
+ agent: dev
4
+ ---
5
+
1
6
  # /code-review Command
2
7
 
3
8
  Review implemented code for quality, correctness, and adherence to standards.
@@ -14,7 +19,7 @@ Review implemented code for quality, correctness, and adherence to standards.
14
19
 
15
20
  ## Agent
16
21
 
17
- This command invokes the **Dev** agent (Amelia) in review mode.
22
+ This command invokes the **Dev** agent (Rick) in review mode.
18
23
 
19
24
  ## Process
20
25
 
@@ -1,6 +1,6 @@
1
1
  ---
2
- description: Create or update coding standards documentation (modular, multiple files)
3
- agent: coding-standards
2
+ description: Use when creating or updating coding standards documentation. Creates modular files for patterns, testing, API conventions
3
+ agent: architect
4
4
  ---
5
5
 
6
6
  # Coding Standards Creation
@@ -1,3 +1,8 @@
1
+ ---
2
+ description: Use when implementing a story using red-green-refactor TDD cycle. Finds next ready story or uses specified path
3
+ agent: dev
4
+ ---
5
+
1
6
  # /dev-story Command
2
7
 
3
8
  Implement a story using red-green-refactor cycle with TODO tracking.
@@ -14,7 +19,7 @@ Implement a story using red-green-refactor cycle with TODO tracking.
14
19
 
15
20
  ## Agent
16
21
 
17
- This command invokes the **Dev** agent (Amelia).
22
+ This command invokes the **Dev** agent (Rick).
18
23
 
19
24
  ## Process
20
25
 
@@ -1,6 +1,6 @@
1
1
  ---
2
- description: Create technical diagrams (C4, sequence, ER, flowcharts) in Mermaid format
3
- agent: diagram-creator
2
+ description: Use when creating technical diagrams - C4 architecture, sequence flows, ER data models, flowcharts in Mermaid format
3
+ agent: architect
4
4
  ---
5
5
 
6
6
  # Diagram Creation
@@ -1,7 +1,6 @@
1
1
  ---
2
- description: Create epics from PRD and Architecture
3
- agent: sm
4
- model: anthropic/claude-sonnet-4-20250514
2
+ description: Use when creating epics from PRD and Architecture. Breaks PRD requirements into implementable epics aligned with architecture modules
3
+ agent: pm
5
4
  ---
6
5
 
7
6
  # Epic Creation
@@ -1,6 +1,6 @@
1
1
  ---
2
- description: Analyze project state and suggest next steps (context-aware guidance)
3
- agent: workflow-orchestrator
2
+ description: Use when needing guidance on project state, next steps, blockers, or quick wins in the workflow
3
+ agent: pm
4
4
  ---
5
5
 
6
6
  # Help Command
@@ -1,7 +1,6 @@
1
1
  ---
2
- description: Synchronize epics and stories with Jira
3
- agent: sm
4
- model: anthropic/claude-sonnet-4-20250514
2
+ description: Use when synchronizing epics and stories with Jira. Creates issues, updates status, links branches
3
+ agent: pm
5
4
  ---
6
5
 
7
6
  # Jira Synchronization
@@ -1,6 +1,6 @@
1
1
  ---
2
- description: Create detailed documentation for a module in docs/architecture/[module]/
3
- agent: module-docs
2
+ description: Use when creating detailed documentation for a module - index.md, data-model.md, API specs, events
3
+ agent: architect
4
4
  ---
5
5
 
6
6
  # Module Documentation
@@ -1,7 +1,6 @@
1
1
  ---
2
- description: Create or update the Product Requirements Document
2
+ description: Use when creating or updating Product Requirements Document. Defines scope, FRs, NFRs, user journeys
3
3
  agent: pm
4
- model: anthropic/claude-sonnet-4-20250514
5
4
  ---
6
5
 
7
6
  # PRD Creation/Update
@@ -1,6 +1,6 @@
1
1
  ---
2
- description: Quick mode for small changes - minimal documentation workflow
3
- agent: workflow-orchestrator
2
+ description: Use when making small changes (bug fixes, minor features) that don't need full documentation workflow
3
+ agent: pm
4
4
  ---
5
5
 
6
6
  # Quick Mode
@@ -1,7 +1,6 @@
1
1
  ---
2
- description: Gather and document FR/NFR requirements through stakeholder interview
2
+ description: Use when gathering FR/NFR requirements through stakeholder interviews. First step before PRD
3
3
  agent: analyst
4
- model: anthropic/claude-sonnet-4-20250514
5
4
  ---
6
5
 
7
6
  # Requirements Gathering
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Conduct technical, market, or domain research with structured documentation
2
+ description: Use when conducting technical, market, or domain research. Creates structured research documentation
3
3
  agent: researcher
4
4
  ---
5
5
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Semantic code search - find code by meaning, not just text
2
+ description: Use when searching codebase semantically - find code by meaning, not just text matching
3
3
  agent: crawler
4
4
  ---
5
5
 
@@ -1,7 +1,6 @@
1
1
  ---
2
- description: Plan and manage sprints
3
- agent: sm
4
- model: anthropic/claude-sonnet-4-20250514
2
+ description: Use when planning sprints, organizing epics into sprints, or tracking sprint progress. REQUIRES epics to exist first
3
+ agent: pm
5
4
  ---
6
5
 
7
6
  # Sprint Planning
@@ -1,7 +1,6 @@
1
1
  ---
2
- description: Create stories for a specific epic
3
- agent: sm
4
- model: anthropic/claude-sonnet-4-20250514
2
+ description: Use when creating stories for a specific epic. Breaks epic into implementable user stories with Given/When/Then acceptance criteria
3
+ agent: pm
5
4
  ---
6
5
 
7
6
  # Story Creation
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Document module/domain/service/entity/feature using Universal Unit format
2
+ description: Use when documenting module/domain/service/entity using Universal Unit format with index.md, data-model.md
3
3
  agent: architect
4
4
  skills_loaded:
5
5
  - unit-writing
@@ -1,7 +1,6 @@
1
1
  ---
2
- description: Validate project artifacts (requirements, prd, architecture, epics)
2
+ description: Use when validating project artifacts - requirements, PRD, architecture, or epics for completeness and quality
3
3
  agent: architect
4
- model: anthropic/claude-sonnet-4-20250514
5
4
  ---
6
5
 
7
6
  # Artifact Validation
@@ -1,7 +1,6 @@
1
1
  ---
2
- description: Show project workflow status and suggest next steps
3
- agent: sprint-manager
4
- model: anthropic/claude-sonnet-4-20250514
2
+ description: Use when checking project workflow status or getting guidance on next steps in the documentation pipeline
3
+ agent: pm
5
4
  ---
6
5
 
7
6
  # Workflow Status
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: sprint-planning
3
- description: How to organize epics and stories into sprints, manage sprint-status.yaml, and track progress
3
+ description: Use when organizing epics into sprints, creating sprint-status.yaml, or tracking sprint progress. REQUIRES epics to exist first - run /epics if none
4
4
  license: MIT
5
5
  compatibility: opencode
6
6
  metadata:
@@ -18,6 +18,34 @@ Use this skill when you need to:
18
18
  - Track sprint progress
19
19
  - Plan new sprints
20
20
 
21
+ ## Prerequisites
22
+
23
+ **CRITICAL: Epics must exist before sprint planning!**
24
+
25
+ ```
26
+ Check: ls docs/sprint-artifacts/backlog/epic-*.md 2>/dev/null || ls docs/sprint-artifacts/sprint-*/epic-*.md 2>/dev/null
27
+ ```
28
+
29
+ | Check | Action if Missing |
30
+ |-------|-------------------|
31
+ | No epics in backlog or sprints | **STOP** → Run `/epics` first to create epics from PRD |
32
+ | Epics exist but no stories | Epics can be planned, stories created later with `/stories` |
33
+ | PRD missing | **STOP** → Run `/prd` first |
34
+
35
+ ### Dependency Chain
36
+
37
+ ```
38
+ /prd → /architecture → /epics → /sprint-plan
39
+
40
+ YOU ARE HERE
41
+ (need epics first!)
42
+ ```
43
+
44
+ If user asks for sprint planning without epics:
45
+ 1. Inform them epics are required
46
+ 2. Offer to create epics first with `/epics`
47
+ 3. Only proceed with sprint planning after epics exist
48
+
21
49
  ## Sprint Duration
22
50
 
23
51
  - **Recommended:** 2 weeks