@codemcp/workflows 6.0.1 → 6.0.2
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 +3 -2
- package/packages/cli/package.json +1 -1
- package/packages/cli/resources/agents/architect.yaml +61 -0
- package/packages/cli/resources/agents/business-analyst.yaml +60 -0
- package/packages/cli/resources/agents/developer.yaml +61 -0
- package/packages/cli/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
- package/packages/cli/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
- package/packages/cli/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
- package/packages/cli/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
- package/packages/cli/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
- package/packages/cli/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
- package/packages/cli/resources/templates/architecture/c4.md +224 -0
- package/packages/cli/resources/templates/architecture/freestyle.md +53 -0
- package/packages/cli/resources/templates/architecture/game.md +250 -0
- package/packages/cli/resources/templates/architecture/none.md +17 -0
- package/packages/cli/resources/templates/design/comprehensive.md +207 -0
- package/packages/cli/resources/templates/design/freestyle.md +37 -0
- package/packages/cli/resources/templates/design/game.md +66 -0
- package/packages/cli/resources/templates/design/none.md +17 -0
- package/packages/cli/resources/templates/requirements/ears.md +90 -0
- package/packages/cli/resources/templates/requirements/freestyle.md +42 -0
- package/packages/cli/resources/templates/requirements/game.md +162 -0
- package/packages/cli/resources/templates/requirements/none.md +17 -0
- package/packages/cli/resources/templates/skills/POWER.md +23 -0
- package/packages/cli/resources/templates/skills/SKILL.md +19 -0
- package/packages/cli/resources/workflows/adr.yaml +157 -0
- package/packages/cli/resources/workflows/big-bang-conversion.yaml +592 -0
- package/packages/cli/resources/workflows/boundary-testing.yaml +376 -0
- package/packages/cli/resources/workflows/bugfix.yaml +177 -0
- package/packages/cli/resources/workflows/business-analysis.yaml +597 -0
- package/packages/cli/resources/workflows/c4-analysis.yaml +471 -0
- package/packages/cli/resources/workflows/epcc.yaml +183 -0
- package/packages/cli/resources/workflows/game-beginner.yaml +434 -0
- package/packages/cli/resources/workflows/greenfield.yaml +201 -0
- package/packages/cli/resources/workflows/minor.yaml +138 -0
- package/packages/cli/resources/workflows/posts.yaml +193 -0
- package/packages/cli/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
- package/packages/cli/resources/workflows/sdd-bugfix.yaml +381 -0
- package/packages/cli/resources/workflows/sdd-feature-crowd.yaml +713 -0
- package/packages/cli/resources/workflows/sdd-feature.yaml +471 -0
- package/packages/cli/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
- package/packages/cli/resources/workflows/sdd-greenfield.yaml +463 -0
- package/packages/cli/resources/workflows/slides.yaml +237 -0
- package/packages/cli/resources/workflows/tdd.yaml +160 -0
- package/packages/cli/resources/workflows/waterfall.yaml +209 -0
- package/packages/core/package.json +1 -1
- package/packages/core/resources/agents/architect.yaml +61 -0
- package/packages/core/resources/agents/business-analyst.yaml +60 -0
- package/packages/core/resources/agents/developer.yaml +61 -0
- package/packages/core/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
- package/packages/core/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
- package/packages/core/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
- package/packages/core/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
- package/packages/core/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
- package/packages/core/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
- package/packages/core/resources/templates/architecture/c4.md +224 -0
- package/packages/core/resources/templates/architecture/freestyle.md +53 -0
- package/packages/core/resources/templates/architecture/game.md +250 -0
- package/packages/core/resources/templates/architecture/none.md +17 -0
- package/packages/core/resources/templates/design/comprehensive.md +207 -0
- package/packages/core/resources/templates/design/freestyle.md +37 -0
- package/packages/core/resources/templates/design/game.md +66 -0
- package/packages/core/resources/templates/design/none.md +17 -0
- package/packages/core/resources/templates/requirements/ears.md +90 -0
- package/packages/core/resources/templates/requirements/freestyle.md +42 -0
- package/packages/core/resources/templates/requirements/game.md +162 -0
- package/packages/core/resources/templates/requirements/none.md +17 -0
- package/packages/core/resources/templates/skills/POWER.md +23 -0
- package/packages/core/resources/templates/skills/SKILL.md +19 -0
- package/packages/core/resources/workflows/adr.yaml +157 -0
- package/packages/core/resources/workflows/big-bang-conversion.yaml +592 -0
- package/packages/core/resources/workflows/boundary-testing.yaml +376 -0
- package/packages/core/resources/workflows/bugfix.yaml +177 -0
- package/packages/core/resources/workflows/business-analysis.yaml +597 -0
- package/packages/core/resources/workflows/c4-analysis.yaml +471 -0
- package/packages/core/resources/workflows/epcc.yaml +183 -0
- package/packages/core/resources/workflows/game-beginner.yaml +434 -0
- package/packages/core/resources/workflows/greenfield.yaml +201 -0
- package/packages/core/resources/workflows/minor.yaml +138 -0
- package/packages/core/resources/workflows/posts.yaml +193 -0
- package/packages/core/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
- package/packages/core/resources/workflows/sdd-bugfix.yaml +381 -0
- package/packages/core/resources/workflows/sdd-feature-crowd.yaml +713 -0
- package/packages/core/resources/workflows/sdd-feature.yaml +471 -0
- package/packages/core/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
- package/packages/core/resources/workflows/sdd-greenfield.yaml +463 -0
- package/packages/core/resources/workflows/slides.yaml +237 -0
- package/packages/core/resources/workflows/tdd.yaml +160 -0
- package/packages/core/resources/workflows/waterfall.yaml +209 -0
- package/packages/docs/package.json +1 -1
- package/packages/mcp-server/package.json +1 -1
- package/packages/mcp-server/resources/agents/architect.yaml +61 -0
- package/packages/mcp-server/resources/agents/business-analyst.yaml +60 -0
- package/packages/mcp-server/resources/agents/developer.yaml +61 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
- package/packages/mcp-server/resources/templates/architecture/c4.md +224 -0
- package/packages/mcp-server/resources/templates/architecture/freestyle.md +53 -0
- package/packages/mcp-server/resources/templates/architecture/game.md +250 -0
- package/packages/mcp-server/resources/templates/architecture/none.md +17 -0
- package/packages/mcp-server/resources/templates/design/comprehensive.md +207 -0
- package/packages/mcp-server/resources/templates/design/freestyle.md +37 -0
- package/packages/mcp-server/resources/templates/design/game.md +66 -0
- package/packages/mcp-server/resources/templates/design/none.md +17 -0
- package/packages/mcp-server/resources/templates/requirements/ears.md +90 -0
- package/packages/mcp-server/resources/templates/requirements/freestyle.md +42 -0
- package/packages/mcp-server/resources/templates/requirements/game.md +162 -0
- package/packages/mcp-server/resources/templates/requirements/none.md +17 -0
- package/packages/mcp-server/resources/templates/skills/POWER.md +23 -0
- package/packages/mcp-server/resources/templates/skills/SKILL.md +19 -0
- package/packages/mcp-server/resources/workflows/adr.yaml +157 -0
- package/packages/mcp-server/resources/workflows/big-bang-conversion.yaml +592 -0
- package/packages/mcp-server/resources/workflows/boundary-testing.yaml +376 -0
- package/packages/mcp-server/resources/workflows/bugfix.yaml +177 -0
- package/packages/mcp-server/resources/workflows/business-analysis.yaml +597 -0
- package/packages/mcp-server/resources/workflows/c4-analysis.yaml +471 -0
- package/packages/mcp-server/resources/workflows/epcc.yaml +183 -0
- package/packages/mcp-server/resources/workflows/game-beginner.yaml +434 -0
- package/packages/mcp-server/resources/workflows/greenfield.yaml +201 -0
- package/packages/mcp-server/resources/workflows/minor.yaml +138 -0
- package/packages/mcp-server/resources/workflows/posts.yaml +193 -0
- package/packages/mcp-server/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
- package/packages/mcp-server/resources/workflows/sdd-bugfix.yaml +381 -0
- package/packages/mcp-server/resources/workflows/sdd-feature-crowd.yaml +713 -0
- package/packages/mcp-server/resources/workflows/sdd-feature.yaml +471 -0
- package/packages/mcp-server/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
- package/packages/mcp-server/resources/workflows/sdd-greenfield.yaml +463 -0
- package/packages/mcp-server/resources/workflows/slides.yaml +237 -0
- package/packages/mcp-server/resources/workflows/tdd.yaml +160 -0
- package/packages/mcp-server/resources/workflows/waterfall.yaml +209 -0
- package/packages/visualizer/package.json +1 -1
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# yaml-language-server: $schema=../state-machine-schema.json
|
|
2
|
+
---
|
|
3
|
+
name: 'minor'
|
|
4
|
+
description: 'A streamlined workflow for small-impact changes: Explore (analysis + design) → Implement (code + test + commit) - optimized for minor enhancements'
|
|
5
|
+
initial_state: 'explore'
|
|
6
|
+
|
|
7
|
+
# Enhanced metadata for better discoverability
|
|
8
|
+
metadata:
|
|
9
|
+
domain: 'code'
|
|
10
|
+
complexity: 'low'
|
|
11
|
+
bestFor:
|
|
12
|
+
- 'Small bug fixes'
|
|
13
|
+
- 'Minor feature enhancements'
|
|
14
|
+
- 'Code refactoring'
|
|
15
|
+
- 'Documentation updates'
|
|
16
|
+
useCases:
|
|
17
|
+
- 'Adding a new parameter to an existing function'
|
|
18
|
+
- 'Improving error messages'
|
|
19
|
+
- 'Small UI adjustments'
|
|
20
|
+
examples:
|
|
21
|
+
- 'Fix a typo in user interface text'
|
|
22
|
+
- 'Add validation to an input field'
|
|
23
|
+
- 'Enhance logging in a specific module'
|
|
24
|
+
|
|
25
|
+
# States with default instructions and transitions
|
|
26
|
+
states:
|
|
27
|
+
explore:
|
|
28
|
+
description: 'Analysis and design phase - understanding and planning without implementation'
|
|
29
|
+
default_instructions: >
|
|
30
|
+
Understand the problem, analyze existing patterns, and design your approach.
|
|
31
|
+
Consider the scope and impact of the change.
|
|
32
|
+
|
|
33
|
+
**STEP 1: Analyze Requirements**
|
|
34
|
+
- If `$REQUIREMENTS_DOC` exists: Use it to understand the required changes
|
|
35
|
+
- Otherwise: Document requirements in your task management system
|
|
36
|
+
|
|
37
|
+
**STEP 2: Review Design Approach**
|
|
38
|
+
- If `$DESIGN_DOC` exists: Respect the design approach documented in `$DESIGN_DOC`
|
|
39
|
+
- Otherwise: Design your approach based on the problem analysis
|
|
40
|
+
|
|
41
|
+
**STEP 3: Document Decisions**
|
|
42
|
+
- Document your analysis and design decisions
|
|
43
|
+
- Create tasks to guide implementation
|
|
44
|
+
- Focus on analysis and design only - do not write any code yet
|
|
45
|
+
transitions:
|
|
46
|
+
- trigger: 'exploration_complete'
|
|
47
|
+
to: 'implement'
|
|
48
|
+
transition_reason: 'Analysis and design complete, ready for streamlined implementation'
|
|
49
|
+
|
|
50
|
+
implement:
|
|
51
|
+
description: 'Combined implementation phase - code, test, and commit'
|
|
52
|
+
default_instructions: >
|
|
53
|
+
Write clean, focused code for the minor enhancement, test your changes, and prepare for commit.
|
|
54
|
+
|
|
55
|
+
**STEP 1: Review Design and Requirements**
|
|
56
|
+
- If `$DESIGN_DOC` exists: Follow your design from `$DESIGN_DOC`
|
|
57
|
+
- Otherwise: Elaborate design options and present them to the user
|
|
58
|
+
- If `$REQUIREMENTS_DOC` exists: Ensure the relevant requirements from `$REQUIREMENTS_DOC` are met
|
|
59
|
+
- Otherwise: Ensure existing requirements are met based on your task context
|
|
60
|
+
|
|
61
|
+
**STEP 2: Implement Changes**
|
|
62
|
+
- Write clean, focused code for the minor enhancement
|
|
63
|
+
- Test your changes to ensure they work correctly and don't break existing functionality
|
|
64
|
+
|
|
65
|
+
**STEP 3: Prepare for Finalization**
|
|
66
|
+
- Update task progress as needed
|
|
67
|
+
- Prepare documentation and commit when ready
|
|
68
|
+
transitions:
|
|
69
|
+
- trigger: 'need_more_analysis'
|
|
70
|
+
to: 'explore'
|
|
71
|
+
additional_instructions: 'Implementation revealed gaps in analysis or design. Focus on the specific areas that need clarification before continuing with implementation.'
|
|
72
|
+
transition_reason: 'Implementation work revealed need for more analysis or design'
|
|
73
|
+
|
|
74
|
+
- trigger: 'implementation_complete'
|
|
75
|
+
to: 'finalize'
|
|
76
|
+
transition_reason: 'Implementation complete, ready for finalization'
|
|
77
|
+
|
|
78
|
+
- trigger: 'abandon_feature'
|
|
79
|
+
to: 'explore'
|
|
80
|
+
instructions: >
|
|
81
|
+
Minor enhancement abandoned during implementation. Clean up any incomplete code and return to exploration.
|
|
82
|
+
Task history and any completed work will remain for future reference.
|
|
83
|
+
additional_instructions: 'Clean up any incomplete code and prepare for new tasks.'
|
|
84
|
+
transition_reason: 'User decided to abandon minor enhancement during implementation'
|
|
85
|
+
|
|
86
|
+
finalize:
|
|
87
|
+
description: 'Code cleanup and documentation finalization'
|
|
88
|
+
default_instructions: >
|
|
89
|
+
Ensure code quality and documentation accuracy through systematic cleanup and review.
|
|
90
|
+
|
|
91
|
+
**STEP 1: Code Cleanup**
|
|
92
|
+
Systematically clean up development artifacts:
|
|
93
|
+
|
|
94
|
+
- **Remove Debug Output**: Search for and remove all temporary debug output statements used during development.
|
|
95
|
+
Look for language-specific debug output methods (console logging, print statements, debug output functions).
|
|
96
|
+
Remove any debugging statements that were added for development purposes.
|
|
97
|
+
|
|
98
|
+
- **Review TODO/FIXME Comments**:
|
|
99
|
+
- Address each TODO/FIXME comment by either implementing the solution or documenting why it's deferred
|
|
100
|
+
- Remove completed TODOs
|
|
101
|
+
- Convert remaining TODOs to proper issue tracking if needed
|
|
102
|
+
|
|
103
|
+
- **Remove Debugging Code Blocks**:
|
|
104
|
+
- Remove temporary debugging code, test code blocks, and commented-out code
|
|
105
|
+
- Clean up any experimental code that's no longer needed
|
|
106
|
+
- Ensure proper error handling replaces temporary debug logging
|
|
107
|
+
|
|
108
|
+
**STEP 2: Documentation Review**
|
|
109
|
+
Review and update documentation to reflect final implementation:
|
|
110
|
+
|
|
111
|
+
- **Update Long-Term Memory Documents**: Based on what was actually implemented:
|
|
112
|
+
- If `$REQUIREMENTS_DOC` exists: Update `$REQUIREMENTS_DOC` if requirements changed during development
|
|
113
|
+
- If `$DESIGN_DOC` exists: Update `$DESIGN_DOC` if design details were refined or changed
|
|
114
|
+
- **Compare Against Implementation**: Review documentation against actual implemented functionality
|
|
115
|
+
- **Update Changed Sections**: Only modify documentation sections that have functional changes
|
|
116
|
+
- **Remove Development Progress**: Remove references to development iterations, progress notes, and temporary decisions
|
|
117
|
+
- **Focus on Final State**: Ensure documentation describes the final implemented state, not the development process
|
|
118
|
+
- **Ask User to Review Document Updates**
|
|
119
|
+
|
|
120
|
+
**STEP 3: Final Validation**
|
|
121
|
+
- Run existing tests to ensure cleanup didn't break functionality
|
|
122
|
+
- Verify documentation accuracy with a final review
|
|
123
|
+
- Ensure minor enhancement is ready for delivery
|
|
124
|
+
- Update task progress and mark completed work as you finalize the minor enhancement
|
|
125
|
+
transitions:
|
|
126
|
+
- trigger: 'need_implementation_changes'
|
|
127
|
+
to: 'implement'
|
|
128
|
+
additional_instructions: 'Finalization revealed issues that require implementation changes. Focus on the specific problems identified during final review.'
|
|
129
|
+
transition_reason: 'Finalization revealed issues requiring implementation changes'
|
|
130
|
+
|
|
131
|
+
- trigger: 'finalization_complete'
|
|
132
|
+
to: 'explore'
|
|
133
|
+
transition_reason: 'Minor enhancement delivery complete, ready for next task'
|
|
134
|
+
|
|
135
|
+
- trigger: 'abandon_feature'
|
|
136
|
+
to: 'explore'
|
|
137
|
+
additional_instructions: 'Clean up any finalization artifacts and prepare for new tasks.'
|
|
138
|
+
transition_reason: 'User decided to abandon minor enhancement during finalization'
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
name: posts
|
|
2
|
+
description: 'A comprehensive workflow for writing posts - from blog posts to short-form content, with research, story development, and multi-platform publishing'
|
|
3
|
+
initial_state: discovery
|
|
4
|
+
|
|
5
|
+
# Enhanced metadata for better discoverability
|
|
6
|
+
metadata:
|
|
7
|
+
domain: 'office'
|
|
8
|
+
complexity: 'medium'
|
|
9
|
+
bestFor:
|
|
10
|
+
- 'Blog post writing'
|
|
11
|
+
- 'Content creation'
|
|
12
|
+
- 'Article development'
|
|
13
|
+
- 'Social media content'
|
|
14
|
+
useCases:
|
|
15
|
+
- 'Writing technical blog posts'
|
|
16
|
+
- 'Creating marketing content'
|
|
17
|
+
- 'Developing thought leadership articles'
|
|
18
|
+
examples:
|
|
19
|
+
- 'Write a tutorial blog post'
|
|
20
|
+
- 'Create a product announcement'
|
|
21
|
+
- 'Develop a technical deep-dive article'
|
|
22
|
+
|
|
23
|
+
states:
|
|
24
|
+
discovery:
|
|
25
|
+
description: 'Research topic, decide format, and analyze competitive landscape'
|
|
26
|
+
default_instructions: |
|
|
27
|
+
Define the foundation of your post by establishing topic understanding and format.
|
|
28
|
+
|
|
29
|
+
Determine post format by asking about:
|
|
30
|
+
- Goal (quick insight vs deep exploration)
|
|
31
|
+
- Topic complexity level
|
|
32
|
+
- Available time for development
|
|
33
|
+
|
|
34
|
+
- Research existing content on this topic to identify gaps and opportunities
|
|
35
|
+
- Guide user to articulate personal motivation and unique angle
|
|
36
|
+
- Conduct competitive landscape analysis to avoid duplication
|
|
37
|
+
- Define target audience and platform considerations
|
|
38
|
+
- Gather initial sources and reference materials
|
|
39
|
+
|
|
40
|
+
Establish clear direction before moving to story development.
|
|
41
|
+
Update `$PLAN_FILE` with discovery progress and key decisions.
|
|
42
|
+
|
|
43
|
+
transitions:
|
|
44
|
+
- trigger: discovery_complete
|
|
45
|
+
to: story
|
|
46
|
+
transition_reason: 'Topic researched and format decided, ready for story structure development'
|
|
47
|
+
|
|
48
|
+
story:
|
|
49
|
+
description: 'Create narrative structure and story outline'
|
|
50
|
+
default_instructions: |
|
|
51
|
+
Create a compelling narrative structure for your post.
|
|
52
|
+
|
|
53
|
+
- Create detailed story outline with clear beginning, middle, end
|
|
54
|
+
- Identify key messages and memorable metaphors/examples
|
|
55
|
+
- Define content scope boundaries to maintain focus and avoid adjacent topics
|
|
56
|
+
- Plan how content will adapt across different platforms
|
|
57
|
+
- Ensure narrative arc matches chosen format (concise for short posts, comprehensive for long-form)
|
|
58
|
+
- Structure content to maintain user's personal voice and conversational style
|
|
59
|
+
|
|
60
|
+
Build a solid story foundation before moving to writing.
|
|
61
|
+
Update `$PLAN_FILE` with story decisions and structural progress.
|
|
62
|
+
|
|
63
|
+
transitions:
|
|
64
|
+
- trigger: story_complete
|
|
65
|
+
to: writing
|
|
66
|
+
additional_instructions: |
|
|
67
|
+
Story complete! ✅ You have a clear narrative structure and content outline.
|
|
68
|
+
|
|
69
|
+
Update `$PLAN_FILE` with writing tasks and mark completed story work.
|
|
70
|
+
transition_reason: 'Story structure and outline complete, ready for content creation'
|
|
71
|
+
|
|
72
|
+
- trigger: need_more_discovery
|
|
73
|
+
to: discovery
|
|
74
|
+
additional_instructions: 'Resolve gaps in research or format clarity by focusing on foundational aspects.'
|
|
75
|
+
transition_reason: 'Story work revealed need for additional discovery or research'
|
|
76
|
+
|
|
77
|
+
- trigger: abandon_post
|
|
78
|
+
to: discovery
|
|
79
|
+
instructions: |
|
|
80
|
+
Abandon post development during story phase. Clean up story work and return to discovery.
|
|
81
|
+
The `$PLAN_FILE` and any completed work will remain for future reference.
|
|
82
|
+
additional_instructions: 'Clean up and prepare for new topics.'
|
|
83
|
+
transition_reason: 'User decided to abandon post during story phase'
|
|
84
|
+
|
|
85
|
+
writing:
|
|
86
|
+
description: 'Create the actual post content following story outline'
|
|
87
|
+
default_instructions: |
|
|
88
|
+
Create engaging content following the established story outline.
|
|
89
|
+
|
|
90
|
+
- Write content following the established story outline
|
|
91
|
+
- Maintain consistent narrative flow and personal voice
|
|
92
|
+
- Create engaging, conversational content in user's style
|
|
93
|
+
- Ensure content length matches chosen format (3-10 lines for short, 2000-5000+ words for long)
|
|
94
|
+
- Stay within defined content scope to avoid adjacent topics
|
|
95
|
+
- Include concrete examples and metaphors as planned
|
|
96
|
+
- Create clear section structure with appropriate headings (for long-form)
|
|
97
|
+
|
|
98
|
+
Focus on high-quality content creation without visual elements.
|
|
99
|
+
Update `$PLAN_FILE` with writing progress and content decisions.
|
|
100
|
+
|
|
101
|
+
transitions:
|
|
102
|
+
- trigger: writing_complete
|
|
103
|
+
to: illustration
|
|
104
|
+
additional_instructions: |
|
|
105
|
+
Writing complete! ✅ You have solid content that follows your story outline.
|
|
106
|
+
|
|
107
|
+
Update `$PLAN_FILE` with illustration tasks and mark completed writing work.
|
|
108
|
+
transition_reason: 'Content creation complete, ready for visual enhancement'
|
|
109
|
+
|
|
110
|
+
- trigger: need_story_revision
|
|
111
|
+
to: story
|
|
112
|
+
additional_instructions: 'Refine the story foundation to address issues with structure or narrative flow.'
|
|
113
|
+
transition_reason: 'Content creation revealed need for story structure refinement'
|
|
114
|
+
|
|
115
|
+
- trigger: abandon_post
|
|
116
|
+
to: discovery
|
|
117
|
+
instructions: |
|
|
118
|
+
Abandon post development during writing. Clean up writing work and return to discovery.
|
|
119
|
+
The `$PLAN_FILE` and any completed work will remain for future reference.
|
|
120
|
+
additional_instructions: 'Clean up and prepare for new topics.'
|
|
121
|
+
transition_reason: 'User decided to abandon post during writing phase'
|
|
122
|
+
|
|
123
|
+
illustration:
|
|
124
|
+
description: 'Create and integrate visual elements'
|
|
125
|
+
default_instructions: |
|
|
126
|
+
Enhance your content with visual elements.
|
|
127
|
+
|
|
128
|
+
- Identify strategic locations for visual elements
|
|
129
|
+
- Create or source appropriate visuals (screenshots, diagrams, metaphorical images)
|
|
130
|
+
- Ensure visual density matches format (minimal for short posts, comprehensive for long-form)
|
|
131
|
+
- Maintain visual consistency and professional appearance
|
|
132
|
+
- Ensure visuals support and enhance the written content
|
|
133
|
+
- Consider accessibility and platform compatibility
|
|
134
|
+
- Plan visual integration and placement
|
|
135
|
+
|
|
136
|
+
Create visuals that enhance rather than distract from the content.
|
|
137
|
+
Update `$PLAN_FILE` with illustration progress and visual decisions.
|
|
138
|
+
|
|
139
|
+
transitions:
|
|
140
|
+
- trigger: illustration_complete
|
|
141
|
+
to: distribution
|
|
142
|
+
additional_instructions: |
|
|
143
|
+
Illustration complete! ✅ You have visually enhanced content ready for publishing.
|
|
144
|
+
|
|
145
|
+
Update `$PLAN_FILE` with distribution tasks and mark completed illustration work.
|
|
146
|
+
transition_reason: 'Visual elements complete, ready for SEO optimization and publishing'
|
|
147
|
+
|
|
148
|
+
- trigger: need_more_content
|
|
149
|
+
to: writing
|
|
150
|
+
additional_instructions: 'Complete the content foundation to address gaps revealed during visual work.'
|
|
151
|
+
transition_reason: 'Visual work revealed need for additional written content'
|
|
152
|
+
|
|
153
|
+
- trigger: abandon_post
|
|
154
|
+
to: discovery
|
|
155
|
+
instructions: |
|
|
156
|
+
Abandon post development during illustration. Clean up illustration work and return to discovery.
|
|
157
|
+
The `$PLAN_FILE` and any completed work will remain for future reference.
|
|
158
|
+
additional_instructions: 'Clean up and prepare for new topics.'
|
|
159
|
+
transition_reason: 'User decided to abandon post during illustration phase'
|
|
160
|
+
|
|
161
|
+
distribution:
|
|
162
|
+
description: 'Optimize for SEO and publish across platforms'
|
|
163
|
+
default_instructions: |
|
|
164
|
+
Optimize content and publish across multiple platforms.
|
|
165
|
+
|
|
166
|
+
- Create compelling, SEO-optimized titles and descriptions
|
|
167
|
+
- Add appropriate tags and metadata for discoverability
|
|
168
|
+
- Adapt content formatting for different platforms (LinkedIn, Medium, HN)
|
|
169
|
+
- Maintain core message while adjusting for platform-specific requirements
|
|
170
|
+
- Conduct final quality review and polish
|
|
171
|
+
- Prepare publishing materials and schedule
|
|
172
|
+
- Execute multi-platform publishing strategy
|
|
173
|
+
|
|
174
|
+
Maximize reach while maintaining content quality and consistency.
|
|
175
|
+
Update `$PLAN_FILE` with distribution progress and publishing decisions.
|
|
176
|
+
|
|
177
|
+
transitions:
|
|
178
|
+
- trigger: distribution_complete
|
|
179
|
+
to: discovery
|
|
180
|
+
transition_reason: 'Post publishing completed successfully, ready for new projects'
|
|
181
|
+
|
|
182
|
+
- trigger: need_final_review
|
|
183
|
+
to: illustration
|
|
184
|
+
additional_instructions: 'Refine visuals or content presentation based on issues identified during publishing preparation.'
|
|
185
|
+
transition_reason: 'Publishing preparation identified issues requiring visual or content refinement'
|
|
186
|
+
|
|
187
|
+
- trigger: abandon_post
|
|
188
|
+
to: discovery
|
|
189
|
+
instructions: |
|
|
190
|
+
Abandon post development before distribution. Clean up distribution preparation and return to discovery.
|
|
191
|
+
The `$PLAN_FILE` and completed work will remain for future reference.
|
|
192
|
+
additional_instructions: 'Clean up and prepare for new topics.'
|
|
193
|
+
transition_reason: 'User decided to abandon post before distribution'
|