liteagents 2.4.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 (215) hide show
  1. package/CHANGELOG.md +441 -0
  2. package/LICENSE +21 -0
  3. package/README.md +179 -0
  4. package/cli.js +230 -0
  5. package/docs/.gitkeep +1 -0
  6. package/docs/CONTRIBUTING.md +739 -0
  7. package/docs/DUAL_PUBLISH_SUMMARY.md +177 -0
  8. package/docs/ERROR_HANDLING_IMPLEMENTATION.md +327 -0
  9. package/docs/GITHUB_PACKAGES.md +181 -0
  10. package/docs/GITHUB_SETUP.md +158 -0
  11. package/docs/INSTALLATION_DEMO.md +691 -0
  12. package/docs/INSTALLATION_LOCATIONS.md +299 -0
  13. package/docs/INSTALLER_GUIDE.md +1586 -0
  14. package/docs/INTEGRATION_ISSUES_9.1.md +341 -0
  15. package/docs/KNOWLEDGE_BASE.md +727 -0
  16. package/docs/MIGRATION.md +384 -0
  17. package/docs/PACKAGE_BASELINE.md +557 -0
  18. package/docs/PACKAGE_VALIDATION_REPORT.md +427 -0
  19. package/docs/PASS_INTEGRATION.md +307 -0
  20. package/docs/PASS_QUICK_START.md +150 -0
  21. package/docs/PRIVACY.md +203 -0
  22. package/docs/PUBLISHING.md +494 -0
  23. package/docs/QUICK-START.md +318 -0
  24. package/docs/RELEASE_NOTES_1.2.0.md +323 -0
  25. package/docs/SECURITY.md +317 -0
  26. package/docs/SILENT_MODE_GUIDE.md +526 -0
  27. package/docs/SKILLS_CONVERSION.md +154 -0
  28. package/docs/TESTING.md +582 -0
  29. package/docs/TEST_COVERAGE.md +347 -0
  30. package/docs/TROUBLESHOOTING.md +788 -0
  31. package/docs/UPDATED_VARIANT_CONFIGURATION.md +274 -0
  32. package/docs/VARIANT_CONFIGURATION.md +440 -0
  33. package/installer/cli.js +761 -0
  34. package/installer/installation-engine.js +1536 -0
  35. package/installer/package-manager.js +640 -0
  36. package/installer/path-manager.js +427 -0
  37. package/installer/report-template.js +298 -0
  38. package/installer/verification-system.js +274 -0
  39. package/package.json +83 -0
  40. package/packages/ampcode/AGENT.md +58 -0
  41. package/packages/ampcode/README.md +17 -0
  42. package/packages/ampcode/agents/1-create-prd.md +175 -0
  43. package/packages/ampcode/agents/2-generate-tasks.md +190 -0
  44. package/packages/ampcode/agents/3-process-task-list.md +225 -0
  45. package/packages/ampcode/agents/code-developer.md +198 -0
  46. package/packages/ampcode/agents/context-builder.md +142 -0
  47. package/packages/ampcode/agents/feature-planner.md +199 -0
  48. package/packages/ampcode/agents/market-researcher.md +89 -0
  49. package/packages/ampcode/agents/orchestrator.md +116 -0
  50. package/packages/ampcode/agents/quality-assurance.md +115 -0
  51. package/packages/ampcode/agents/system-architect.md +135 -0
  52. package/packages/ampcode/agents/ui-designer.md +184 -0
  53. package/packages/ampcode/commands/brainstorming.md +56 -0
  54. package/packages/ampcode/commands/code-review.md +107 -0
  55. package/packages/ampcode/commands/condition-based-waiting/example.ts +158 -0
  56. package/packages/ampcode/commands/condition-based-waiting.md +122 -0
  57. package/packages/ampcode/commands/debug.md +20 -0
  58. package/packages/ampcode/commands/docs-builder/templates.md +572 -0
  59. package/packages/ampcode/commands/docs-builder.md +106 -0
  60. package/packages/ampcode/commands/explain.md +18 -0
  61. package/packages/ampcode/commands/git-commit.md +14 -0
  62. package/packages/ampcode/commands/optimize.md +20 -0
  63. package/packages/ampcode/commands/refactor.md +21 -0
  64. package/packages/ampcode/commands/review.md +18 -0
  65. package/packages/ampcode/commands/root-cause-tracing/find-polluter.sh +63 -0
  66. package/packages/ampcode/commands/root-cause-tracing.md +176 -0
  67. package/packages/ampcode/commands/security.md +21 -0
  68. package/packages/ampcode/commands/ship.md +18 -0
  69. package/packages/ampcode/commands/skill-creator/scripts/init_skill.py +303 -0
  70. package/packages/ampcode/commands/skill-creator/scripts/package_skill.py +110 -0
  71. package/packages/ampcode/commands/skill-creator/scripts/quick_validate.py +65 -0
  72. package/packages/ampcode/commands/skill-creator.md +211 -0
  73. package/packages/ampcode/commands/stash.md +45 -0
  74. package/packages/ampcode/commands/systematic-debugging.md +297 -0
  75. package/packages/ampcode/commands/test-driven-development.md +390 -0
  76. package/packages/ampcode/commands/test-generate.md +18 -0
  77. package/packages/ampcode/commands/testing-anti-patterns.md +304 -0
  78. package/packages/ampcode/commands/verification-before-completion.md +152 -0
  79. package/packages/ampcode/settings.json +13 -0
  80. package/packages/ampcode/variants.json +8 -0
  81. package/packages/claude/CLAUDE.md +58 -0
  82. package/packages/claude/README.md +23 -0
  83. package/packages/claude/agents/1-create-prd.md +175 -0
  84. package/packages/claude/agents/2-generate-tasks.md +190 -0
  85. package/packages/claude/agents/3-process-task-list.md +225 -0
  86. package/packages/claude/agents/code-developer.md +198 -0
  87. package/packages/claude/agents/context-builder.md +142 -0
  88. package/packages/claude/agents/feature-planner.md +199 -0
  89. package/packages/claude/agents/market-researcher.md +89 -0
  90. package/packages/claude/agents/orchestrator.md +117 -0
  91. package/packages/claude/agents/quality-assurance.md +115 -0
  92. package/packages/claude/agents/system-architect.md +135 -0
  93. package/packages/claude/agents/ui-designer.md +184 -0
  94. package/packages/claude/commands/debug.md +20 -0
  95. package/packages/claude/commands/explain.md +18 -0
  96. package/packages/claude/commands/git-commit.md +14 -0
  97. package/packages/claude/commands/optimize.md +20 -0
  98. package/packages/claude/commands/refactor.md +21 -0
  99. package/packages/claude/commands/review.md +18 -0
  100. package/packages/claude/commands/security.md +21 -0
  101. package/packages/claude/commands/ship.md +18 -0
  102. package/packages/claude/commands/stash.md +45 -0
  103. package/packages/claude/commands/test-generate.md +18 -0
  104. package/packages/claude/skills/brainstorming/SKILL.md +56 -0
  105. package/packages/claude/skills/code-review/SKILL.md +107 -0
  106. package/packages/claude/skills/code-review/code-reviewer.md +146 -0
  107. package/packages/claude/skills/condition-based-waiting/SKILL.md +122 -0
  108. package/packages/claude/skills/condition-based-waiting/example.ts +158 -0
  109. package/packages/claude/skills/docs-builder/SKILL.md +106 -0
  110. package/packages/claude/skills/docs-builder/references/templates.md +572 -0
  111. package/packages/claude/skills/root-cause-tracing/SKILL.md +176 -0
  112. package/packages/claude/skills/root-cause-tracing/find-polluter.sh +63 -0
  113. package/packages/claude/skills/skill-creator/LICENSE.txt +202 -0
  114. package/packages/claude/skills/skill-creator/SKILL.md +211 -0
  115. package/packages/claude/skills/skill-creator/scripts/init_skill.py +303 -0
  116. package/packages/claude/skills/skill-creator/scripts/package_skill.py +110 -0
  117. package/packages/claude/skills/skill-creator/scripts/quick_validate.py +65 -0
  118. package/packages/claude/skills/systematic-debugging/CREATION-LOG.md +119 -0
  119. package/packages/claude/skills/systematic-debugging/SKILL.md +296 -0
  120. package/packages/claude/skills/systematic-debugging/test-academic.md +14 -0
  121. package/packages/claude/skills/systematic-debugging/test-pressure-1.md +58 -0
  122. package/packages/claude/skills/systematic-debugging/test-pressure-2.md +68 -0
  123. package/packages/claude/skills/systematic-debugging/test-pressure-3.md +69 -0
  124. package/packages/claude/skills/test-driven-development/SKILL.md +392 -0
  125. package/packages/claude/skills/testing-anti-patterns/SKILL.md +304 -0
  126. package/packages/claude/skills/verification-before-completion/SKILL.md +152 -0
  127. package/packages/claude/variants.json +9 -0
  128. package/packages/droid/AGENTS.md +52 -0
  129. package/packages/droid/README.md +17 -0
  130. package/packages/droid/change_settings.json +61 -0
  131. package/packages/droid/commands/brainstorming.md +56 -0
  132. package/packages/droid/commands/code-review.md +107 -0
  133. package/packages/droid/commands/condition-based-waiting/example.ts +158 -0
  134. package/packages/droid/commands/condition-based-waiting.md +122 -0
  135. package/packages/droid/commands/debug.md +20 -0
  136. package/packages/droid/commands/docs-builder/templates.md +572 -0
  137. package/packages/droid/commands/docs-builder.md +106 -0
  138. package/packages/droid/commands/explain.md +18 -0
  139. package/packages/droid/commands/git-commit.md +14 -0
  140. package/packages/droid/commands/optimize.md +20 -0
  141. package/packages/droid/commands/refactor.md +21 -0
  142. package/packages/droid/commands/review.md +18 -0
  143. package/packages/droid/commands/root-cause-tracing/find-polluter.sh +63 -0
  144. package/packages/droid/commands/root-cause-tracing.md +176 -0
  145. package/packages/droid/commands/security.md +21 -0
  146. package/packages/droid/commands/ship.md +18 -0
  147. package/packages/droid/commands/skill-creator/scripts/init_skill.py +303 -0
  148. package/packages/droid/commands/skill-creator/scripts/package_skill.py +110 -0
  149. package/packages/droid/commands/skill-creator/scripts/quick_validate.py +65 -0
  150. package/packages/droid/commands/skill-creator.md +211 -0
  151. package/packages/droid/commands/stash.md +45 -0
  152. package/packages/droid/commands/systematic-debugging.md +297 -0
  153. package/packages/droid/commands/test-driven-development.md +390 -0
  154. package/packages/droid/commands/test-generate.md +18 -0
  155. package/packages/droid/commands/testing-anti-patterns.md +304 -0
  156. package/packages/droid/commands/verification-before-completion.md +152 -0
  157. package/packages/droid/droids/1-create-prd.md +170 -0
  158. package/packages/droid/droids/2-generate-tasks.md +190 -0
  159. package/packages/droid/droids/3-process-task-list.md +225 -0
  160. package/packages/droid/droids/code-developer.md +198 -0
  161. package/packages/droid/droids/context-builder.md +142 -0
  162. package/packages/droid/droids/feature-planner.md +199 -0
  163. package/packages/droid/droids/market-researcher.md +89 -0
  164. package/packages/droid/droids/orchestrator.md +116 -0
  165. package/packages/droid/droids/quality-assurance.md +115 -0
  166. package/packages/droid/droids/system-architect.md +135 -0
  167. package/packages/droid/droids/ui-designer.md +184 -0
  168. package/packages/droid/variants.json +8 -0
  169. package/packages/opencode/AGENTS.md +52 -0
  170. package/packages/opencode/README.md +17 -0
  171. package/packages/opencode/agent/1-create-prd.md +179 -0
  172. package/packages/opencode/agent/2-generate-tasks.md +194 -0
  173. package/packages/opencode/agent/3-process-task-list.md +229 -0
  174. package/packages/opencode/agent/code-developer.md +202 -0
  175. package/packages/opencode/agent/context-builder.md +146 -0
  176. package/packages/opencode/agent/feature-planner.md +203 -0
  177. package/packages/opencode/agent/market-researcher.md +93 -0
  178. package/packages/opencode/agent/orchestrator.md +120 -0
  179. package/packages/opencode/agent/quality-assurance.md +119 -0
  180. package/packages/opencode/agent/system-architect.md +139 -0
  181. package/packages/opencode/agent/ui-designer.md +188 -0
  182. package/packages/opencode/command/brainstorming.md +56 -0
  183. package/packages/opencode/command/code-review.md +107 -0
  184. package/packages/opencode/command/condition-based-waiting/example.ts +158 -0
  185. package/packages/opencode/command/condition-based-waiting.md +122 -0
  186. package/packages/opencode/command/debug.md +20 -0
  187. package/packages/opencode/command/docs-builder/templates.md +572 -0
  188. package/packages/opencode/command/docs-builder.md +106 -0
  189. package/packages/opencode/command/explain.md +18 -0
  190. package/packages/opencode/command/git-commit.md +14 -0
  191. package/packages/opencode/command/optimize.md +20 -0
  192. package/packages/opencode/command/refactor.md +21 -0
  193. package/packages/opencode/command/review.md +18 -0
  194. package/packages/opencode/command/root-cause-tracing/find-polluter.sh +63 -0
  195. package/packages/opencode/command/root-cause-tracing.md +176 -0
  196. package/packages/opencode/command/security.md +21 -0
  197. package/packages/opencode/command/ship.md +18 -0
  198. package/packages/opencode/command/skill-creator/scripts/init_skill.py +303 -0
  199. package/packages/opencode/command/skill-creator/scripts/package_skill.py +110 -0
  200. package/packages/opencode/command/skill-creator/scripts/quick_validate.py +65 -0
  201. package/packages/opencode/command/skill-creator.md +211 -0
  202. package/packages/opencode/command/stash.md +45 -0
  203. package/packages/opencode/command/systematic-debugging.md +297 -0
  204. package/packages/opencode/command/test-driven-development.md +390 -0
  205. package/packages/opencode/command/test-generate.md +18 -0
  206. package/packages/opencode/command/testing-anti-patterns.md +304 -0
  207. package/packages/opencode/command/verification-before-completion.md +152 -0
  208. package/packages/opencode/opencode.jsonc +201 -0
  209. package/packages/opencode/variants.json +8 -0
  210. package/packages/subagentic-manual.md +349 -0
  211. package/postinstall.js +21 -0
  212. package/tools/ampcode/manifest-template.json +14 -0
  213. package/tools/claude/manifest-template.json +14 -0
  214. package/tools/droid/manifest-template.json +14 -0
  215. package/tools/opencode/manifest-template.json +14 -0
@@ -0,0 +1,274 @@
1
+ # Updated Variant Configuration
2
+
3
+ **Date**: 2025-11-05
4
+ **Applied to**: All 4 packages (Claude, Opencode, Ampcode, Droid)
5
+
6
+ ## Summary
7
+
8
+ All packages now have **progressive variant configurations** with clear differentiation between Lite, Standard, and Pro.
9
+
10
+ ## New Component Counts
11
+
12
+ | Variant | Agents | Skills | Resources | Hooks | Total |
13
+ |----------|--------|--------|-----------|-------|-------|
14
+ | **LITE** | 4 | 7 | 6 | 2 | 19 |
15
+ | **STANDARD** | 9 | 11 | 6 | 2 | 28 |
16
+ | **PRO** | 13 | 22 | 6 | 2 | 43 |
17
+
18
+ ### Previous Configuration (for comparison)
19
+ | Variant | Agents | Skills | Resources | Hooks | Total |
20
+ |----------|--------|--------|-----------|-------|-------|
21
+ | OLD LITE | 3 | 0 | 6 | 2 | 11 |
22
+ | OLD STANDARD | 13 | 8 | 6 | 2 | 29 |
23
+ | OLD PRO | 13 | 22 | 6 | 2 | 43 |
24
+
25
+ **Key Changes**:
26
+ - LITE: Increased from 3 to 4 agents, added 7 skills (was 0)
27
+ - STANDARD: Decreased from 13 to 9 agents, increased from 8 to 11 skills
28
+ - PRO: Unchanged (all agents, all skills)
29
+
30
+ ---
31
+
32
+ ## LITE Variant (19 components)
33
+
34
+ ### Agents (4)
35
+ 1. `1-create-prd`
36
+ 2. `2-generate-tasks`
37
+ 3. `3-process-task-list`
38
+ 4. `master`
39
+
40
+ ### Skills (7)
41
+ 1. `docx` - Document processing
42
+ 2. `pdf` - PDF generation
43
+ 3. `code-review` - Code review assistance
44
+ 4. `brainstorming` - Idea generation
45
+ 5. `root-cause-tracing` - Debugging assistance
46
+ 6. `mcp-builder` - MCP server building
47
+ 7. `systematic-debugging` - Systematic debugging approach
48
+
49
+ ### Resources (6)
50
+ - `agent-teams.yaml`
51
+ - `checklists.md`
52
+ - `data.md`
53
+ - `task-briefs.md`
54
+ - `templates.yaml`
55
+ - `workflows.yaml`
56
+
57
+ ### Hooks (2)
58
+ - `register-agents.js`
59
+ - `session-start.js`
60
+
61
+ ### Use Case
62
+ Essential workflow management with core document processing and debugging skills. Perfect for users who need comprehensive PRD/task management plus basic document and debugging capabilities.
63
+
64
+ ---
65
+
66
+ ## STANDARD Variant (28 components)
67
+
68
+ ### Agents (9)
69
+ 1. `1-create-prd`
70
+ 2. `2-generate-tasks`
71
+ 3. `3-process-task-list`
72
+ 4. `master`
73
+ 5. `orchestrator`
74
+ 6. `quality-assurance`
75
+ 7. `code-developer`
76
+ 8. `market-researcher`
77
+ 9. `ui-designer`
78
+
79
+ ### Skills (11)
80
+ 1. `docx` - Document processing
81
+ 2. `pdf` - PDF generation
82
+ 3. `code-review` - Code review assistance
83
+ 4. `brainstorming` - Idea generation
84
+ 5. `root-cause-tracing` - Debugging assistance
85
+ 6. `mcp-builder` - MCP server building
86
+ 7. `webapp-testing` - Web application testing
87
+ 8. `xlsx` - Spreadsheet processing
88
+ 9. `systematic-debugging` - Systematic debugging approach
89
+ 10. `verification-before-completion` - Pre-completion verification
90
+ 11. `skill-creator` - Create custom skills
91
+
92
+ ### Resources (6)
93
+ - `agent-teams.yaml`
94
+ - `checklists.md`
95
+ - `data.md`
96
+ - `task-briefs.md`
97
+ - `templates.yaml`
98
+ - `workflows.yaml`
99
+
100
+ ### Hooks (2)
101
+ - `register-agents.js`
102
+ - `session-start.js`
103
+
104
+ ### Use Case
105
+ Complete workflow and development team with enhanced testing and validation skills. Ideal for professional developers and teams who need full coordination, QA, and comprehensive skill coverage.
106
+
107
+ ---
108
+
109
+ ## PRO Variant (43 components)
110
+
111
+ ### Agents (13) - ALL AGENTS
112
+ 1. `1-create-prd`
113
+ 2. `2-generate-tasks`
114
+ 3. `3-process-task-list`
115
+ 4. `market-researcher`
116
+ 5. `code-developer`
117
+ 6. `system-architect`
118
+ 7. `master`
119
+ 8. `orchestrator`
120
+ 9. `feature-planner`
121
+ 10. `backlog-manager`
122
+ 11. `quality-assurance`
123
+ 12. `story-writer`
124
+ 13. `ui-designer`
125
+
126
+ ### Skills (22) - ALL SKILLS
127
+ **Core Skills (from Lite):**
128
+ 1. `docx`
129
+ 2. `pdf`
130
+ 3. `code-review`
131
+ 4. `brainstorming`
132
+ 5. `root-cause-tracing`
133
+ 6. `mcp-builder`
134
+ 7. `systematic-debugging`
135
+
136
+ **Additional Standard Skills:**
137
+ 8. `webapp-testing`
138
+ 9. `xlsx`
139
+ 10. `verification-before-completion`
140
+ 11. `skill-creator`
141
+
142
+ **Advanced Pro-Only Skills:**
143
+ 12. `algorithmic-art` - Generate artistic algorithms
144
+ 13. `artifacts-builder` - Build Claude artifacts
145
+ 14. `brand-guidelines` - Brand guideline creation
146
+ 15. `canvas-design` - Canvas design tools
147
+ 16. `condition-based-waiting` - Conditional waiting patterns
148
+ 17. `internal-comms` - Internal communications
149
+ 18. `pptx` - PowerPoint generation
150
+ 19. `slack-gif-creator` - Slack GIF creation
151
+ 20. `test-driven-development` - TDD workflows
152
+ 21. `testing-anti-patterns` - Testing anti-pattern detection
153
+ 22. `theme-factory` - Theme generation
154
+
155
+ ### Resources (6)
156
+ - `agent-teams.yaml`
157
+ - `checklists.md`
158
+ - `data.md`
159
+ - `task-briefs.md`
160
+ - `templates.yaml`
161
+ - `workflows.yaml`
162
+
163
+ ### Hooks (2)
164
+ - `register-agents.js`
165
+ - `session-start.js`
166
+
167
+ ### Use Case
168
+ Complete installation with all capabilities. For power users, enterprises, and teams requiring the full feature set including advanced creative, testing, and automation skills.
169
+
170
+ ---
171
+
172
+ ## Progressive Feature Matrix
173
+
174
+ | Feature Category | Lite | Standard | Pro |
175
+ |------------------|------|----------|-----|
176
+ | **Workflow Management** | ✅ PRD, Tasks, Processing | ✅ + Orchestration | ✅ + Full Team |
177
+ | **Document Processing** | ✅ Word, PDF | ✅ + Excel | ✅ + PowerPoint |
178
+ | **Code Quality** | ✅ Review, Debugging | ✅ + Testing, Verification | ✅ + TDD, Anti-patterns |
179
+ | **Development Tools** | ✅ MCP Builder | ✅ + Skill Creator | ✅ + Artifacts |
180
+ | **Creative Tools** | ❌ | ❌ | ✅ Art, Design, Themes |
181
+ | **Collaboration** | ❌ | ❌ | ✅ Slack, Comms |
182
+ | **Architecture** | ❌ | ❌ | ✅ Holistic Architect |
183
+ | **Product Management** | ❌ | ❌ | ✅ PM, PO, Scrum Master |
184
+
185
+ ---
186
+
187
+ ## Rationale
188
+
189
+ ### Why These Changes?
190
+
191
+ **LITE Enhancement:**
192
+ - **Old**: Only 3 coordination agents, no skills → Too minimal
193
+ - **New**: 4 workflow agents + 7 essential skills → Useful for real work
194
+ - **Impact**: Users can now do meaningful development work with Lite
195
+
196
+ **STANDARD Refinement:**
197
+ - **Old**: All 13 agents (same as Pro) → No differentiation
198
+ - **New**: 9 agents focused on development team → Clear value proposition
199
+ - **Impact**: Better suited for professional teams without unnecessary complexity
200
+
201
+ **PRO Maintained:**
202
+ - **Unchanged**: Still includes everything
203
+ - **Differentiation**: Now clearly distinct from Standard (13 vs 9 agents, 22 vs 11 skills)
204
+
205
+ ---
206
+
207
+ ## Migration Notes
208
+
209
+ ### For Existing Users
210
+
211
+ **If upgrading from old Lite to new Lite:**
212
+ - ✅ Gain: 1 additional agent (1-create-prd, 2-generate-tasks, 3-process-task-list)
213
+ - ✅ Gain: 7 new skills
214
+ - ⚠️ Change: Lost orchestrator and story-writer (moved to Standard)
215
+
216
+ **If upgrading from old Standard to new Standard:**
217
+ - ⚠️ Change: Reduced from 13 to 9 agents
218
+ - ✅ Gain: 3 additional skills (verification-before-completion, skill-creator, webapp-testing)
219
+ - Lost agents: feature-planner, backlog-manager, story-writer, system-architect (moved to Pro only)
220
+
221
+ **If using Pro:**
222
+ - ✅ No changes - still includes everything
223
+
224
+ ---
225
+
226
+ ## Testing Impact
227
+
228
+ ### Test Updates Required
229
+
230
+ 1. **variant-testing.test.js** - Update expected counts:
231
+ ```javascript
232
+ const EXPECTED_COUNTS = {
233
+ lite: { agents: 4, skills: 7, resources: 6, hooks: 2 },
234
+ standard: { agents: 9, skills: 11, resources: 6, hooks: 2 },
235
+ pro: { agents: 13, skills: 22, resources: 6, hooks: 2 }
236
+ };
237
+ ```
238
+
239
+ 2. **LITE_AGENTS** constant update:
240
+ ```javascript
241
+ const LITE_AGENTS = [
242
+ '1-create-prd.md',
243
+ '2-generate-tasks.md',
244
+ '3-process-task-list.md',
245
+ 'master.md'
246
+ ];
247
+ ```
248
+
249
+ 3. **STANDARD_SKILLS** constant update:
250
+ ```javascript
251
+ const STANDARD_SKILLS = [
252
+ 'docx', 'pdf', 'code-review', 'brainstorming',
253
+ 'root-cause-tracing', 'mcp-builder', 'webapp-testing',
254
+ 'xlsx', 'systematic-debugging', 'verification-before-completion',
255
+ 'skill-creator'
256
+ ];
257
+ ```
258
+
259
+ ---
260
+
261
+ ## Documentation Updates Required
262
+
263
+ 1. **README.md** - Update variant descriptions and counts
264
+ 2. **INSTALLER_GUIDE.md** - Update variant tables with new counts
265
+ 3. **VARIANT_CONFIGURATION.md** - Update skill rationale
266
+ 4. **INSTALLATION_DEMO.md** - Update ASCII art demos with new counts
267
+ 5. **CHANGELOG.md** - Add entry for variant reconfiguration
268
+
269
+ ---
270
+
271
+ **Applied**: 2025-11-05
272
+ **Status**: ✅ Complete - All 4 packages updated
273
+ **Next**: Re-run tests with updated expected counts
274
+
@@ -0,0 +1,440 @@
1
+ # Variant Configuration Guide
2
+
3
+ **Purpose:** This document explains the rationale for variant configurations and skill selection across all agentflow tools (Claude, Opencode, Ampcode, Droid).
4
+
5
+ **Last Updated:** 2025-11-04
6
+
7
+ ---
8
+
9
+ ## Table of Contents
10
+
11
+ 1. [Variant Philosophy](#variant-philosophy)
12
+ 2. [Core Skills Selection](#core-skills-selection)
13
+ 3. [Variant Breakdown](#variant-breakdown)
14
+ 4. [Tool-Specific Optimizations](#tool-specific-optimizations)
15
+ 5. [Usage Recommendations](#usage-recommendations)
16
+
17
+ ---
18
+
19
+ ## Variant Philosophy
20
+
21
+ The agentflow installer offers **three variant levels** to accommodate different user needs and resource constraints:
22
+
23
+ ### Design Principles
24
+
25
+ 1. **Progressive Capability:** Each variant builds upon the previous, adding functionality without removing features
26
+ 2. **Clear Use Cases:** Each variant targets specific user personas and workflows
27
+ 3. **Resource Optimization:** Variants minimize disk space and cognitive load while maximizing value
28
+ 4. **Consistent Core:** All tools share the same variant structure for predictability
29
+
30
+ ### Variant Tiers
31
+
32
+ | Variant | Agents | Skills | Target Users | Disk Space |
33
+ |---------|--------|--------|--------------|------------|
34
+ | **Lite** | 3 core | 0 | Beginners, evaluators, minimal setup | ~5-10 MB |
35
+ | **Standard** | All (13) | 8 core | Professional developers, teams | ~50-100 MB |
36
+ | **Pro** | All (13) | All (22) | Power users, enterprises | ~150-200 MB |
37
+
38
+ ---
39
+
40
+ ## Core Skills Selection
41
+
42
+ The **8 core skills** included in the Standard variant were selected based on:
43
+
44
+ ### Selection Criteria
45
+
46
+ 1. **Universal Applicability:** Skills useful across all development workflows
47
+ 2. **Professional Necessity:** Capabilities required for professional development work
48
+ 3. **Document Processing:** Essential document creation and manipulation
49
+ 4. **Design Integration:** Basic design and branding capabilities
50
+ 5. **Communication Support:** Internal communication and documentation needs
51
+
52
+ ### The 8 Core Skills
53
+
54
+ #### Document Processing Skills (4)
55
+
56
+ **1. pdf**
57
+ - **Purpose:** PDF manipulation, form filling, document generation
58
+ - **Rationale:** PDFs are ubiquitous in professional workflows (contracts, reports, forms)
59
+ - **Use Cases:** Invoice generation, form automation, document archival
60
+ - **Size:** ~2 MB (scripts, reference docs)
61
+
62
+ **2. docx**
63
+ - **Purpose:** Microsoft Word document creation and editing
64
+ - **Rationale:** Word is the standard for collaborative document editing
65
+ - **Use Cases:** Technical documentation, proposals, reports, templates
66
+ - **Size:** ~8 MB (OOXML schemas, validation scripts)
67
+
68
+ **3. xlsx**
69
+ - **Purpose:** Excel spreadsheet operations
70
+ - **Rationale:** Spreadsheets essential for data analysis and reporting
71
+ - **Use Cases:** Data exports, financial reports, automated dashboards
72
+ - **Size:** ~500 KB (Python libraries, recalc scripts)
73
+
74
+ **4. pptx**
75
+ - **Purpose:** PowerPoint presentation creation
76
+ - **Rationale:** Presentations required for stakeholder communication
77
+ - **Use Cases:** Project updates, design presentations, pitch decks
78
+ - **Size:** ~8 MB (OOXML schemas, HTML conversion)
79
+
80
+ #### Design & Branding Skills (3)
81
+
82
+ **5. canvas-design**
83
+ - **Purpose:** Graphics, diagrams, and visual content creation
84
+ - **Rationale:** Visual communication essential for modern development
85
+ - **Use Cases:** Architecture diagrams, social media graphics, infographics
86
+ - **Size:** ~15 MB (50+ fonts, templates)
87
+ - **Note:** Largest skill due to font library
88
+
89
+ **6. theme-factory**
90
+ - **Purpose:** Design theme generation (colors, typography, branding)
91
+ - **Rationale:** Consistent branding required across professional projects
92
+ - **Use Cases:** Design systems, brand identity, UI theming
93
+ - **Size:** ~1 MB (theme templates, showcase)
94
+
95
+ **7. brand-guidelines**
96
+ - **Purpose:** Brand guideline document generation
97
+ - **Rationale:** Brand documentation essential for team alignment
98
+ - **Use Cases:** Style guides, brand handoffs, design documentation
99
+ - **Size:** ~100 KB (templates)
100
+
101
+ #### Communication Skill (1)
102
+
103
+ **8. internal-comms**
104
+ - **Purpose:** Internal communication content (newsletters, updates, FAQs)
105
+ - **Rationale:** Team communication foundational to all projects
106
+ - **Use Cases:** Release notes, team announcements, documentation
107
+ - **Size:** ~200 KB (templates, examples)
108
+
109
+ ### Skills Excluded from Standard (14)
110
+
111
+ These advanced skills are available only in the **Pro variant**:
112
+
113
+ **Development Skills:**
114
+ - `artifacts-builder` - Web artifact creation (React, Tailwind)
115
+ - `code-review` - Automated code review
116
+ - `mcp-builder` - MCP server builder
117
+ - `skill-creator` - Create new skills
118
+
119
+ **Testing & Debugging:**
120
+ - `condition-based-waiting` - Test wait conditions
121
+ - `root-cause-tracing` - Bug root cause analysis
122
+ - `systematic-debugging` - Structured debugging
123
+ - `test-driven-development` - TDD methodology
124
+ - `testing-anti-patterns` - Test anti-pattern detection
125
+ - `webapp-testing` - Playwright web testing
126
+
127
+ **Creative Skills:**
128
+ - `algorithmic-art` - Generative art
129
+ - `slack-gif-creator` - Animated GIF creation
130
+
131
+ **Workflow Skills:**
132
+ - `brainstorming` - Facilitated brainstorming
133
+ - `verification-before-completion` - Pre-completion checks
134
+
135
+ **Rationale for Exclusion:**
136
+ - Specialized use cases (not universally needed)
137
+ - Advanced/power user features
138
+ - Niche workflows (algorithmic art, GIF creation)
139
+ - Development-specific tools (MCP, artifacts)
140
+
141
+ ---
142
+
143
+ ## Variant Breakdown
144
+
145
+ ### Lite Variant
146
+
147
+ **Purpose:** Minimal installation for evaluation and basic workflow management
148
+
149
+ **Included:**
150
+ - 3 agents: `master`, `orchestrator`, `story-writer`
151
+ - 0 skills
152
+ - All resources (agent-teams.yaml, checklists.md, etc.)
153
+ - All hooks
154
+
155
+ **Use Cases:**
156
+ - Try agentflow with minimal commitment
157
+ - Learn the agent system before full installation
158
+ - Limited resource environments (cloud VMs, containers)
159
+ - Quick setup for demonstrations
160
+
161
+ **Capabilities:**
162
+ - Task execution and management
163
+ - Multi-agent workflows
164
+ - Agile sprint management
165
+ - Resource-driven operations (checklists, templates)
166
+
167
+ **Limitations:**
168
+ - No document processing
169
+ - No design capabilities
170
+ - No specialized skills
171
+ - Basic workflow support only
172
+
173
+ ### Standard Variant (Recommended)
174
+
175
+ **Purpose:** Balanced installation for professional development
176
+
177
+ **Included:**
178
+ - 13 agents: All agents (master, orchestrator, specialized domain agents)
179
+ - 8 skills: Core document processing and design (pdf, docx, xlsx, pptx, canvas-design, theme-factory, brand-guidelines, internal-comms)
180
+ - All resources
181
+ - All hooks
182
+
183
+ **Use Cases:**
184
+ - Professional software development
185
+ - Team collaboration
186
+ - Document creation and automation
187
+ - Design and branding work
188
+ - 90% of user workflows
189
+
190
+ **Capabilities:**
191
+ - Full agent suite (PRD creation, task generation, development, QA, UX)
192
+ - Complete document processing pipeline
193
+ - Design and branding support
194
+ - Internal communication tools
195
+ - Resource and template management
196
+
197
+ **Recommended For:**
198
+ - Professional developers
199
+ - Development teams
200
+ - Consultants and agencies
201
+ - Anyone doing serious development work
202
+
203
+ ### Pro Variant
204
+
205
+ **Purpose:** Complete installation with all capabilities
206
+
207
+ **Included:**
208
+ - 13 agents: All agents
209
+ - 22 skills: All skills (8 core + 14 advanced)
210
+ - All resources
211
+ - All hooks
212
+
213
+ **Use Cases:**
214
+ - Power users needing every capability
215
+ - Enterprise teams with diverse needs
216
+ - Development teams doing advanced testing
217
+ - Creative workflows requiring algorithmic art/GIFs
218
+ - MCP server development
219
+ - Custom skill creation
220
+
221
+ **Capabilities:**
222
+ - Everything in Standard, plus:
223
+ - Advanced testing (Playwright, condition-based waiting)
224
+ - Debugging tools (root cause tracing, systematic debugging)
225
+ - Creative tools (algorithmic art, GIF creation)
226
+ - Development tools (MCP builder, artifact builder)
227
+ - Skill creation and customization
228
+
229
+ **Recommended For:**
230
+ - Power users
231
+ - Enterprises
232
+ - Teams with comprehensive requirements
233
+ - Users exploring all capabilities
234
+
235
+ ---
236
+
237
+ ## Tool-Specific Optimizations
238
+
239
+ While all tools share the same variant structure and core skills, each has optimizations:
240
+
241
+ ### Claude (Conversational AI)
242
+ - **Optimization:** `conversational-ai`
243
+ - **Focus:** Natural language interactions, markdown-first
244
+ - **Strengths:** Extensive documentation, conversational tone
245
+ - **Best For:** Teams preferring conversational interfaces
246
+
247
+ ### Opencode (CLI-Optimized)
248
+ - **Optimization:** `cli-codegen`
249
+ - **Focus:** Terminal-first workflows, command-line integration
250
+ - **Strengths:** Fast execution, scriptable, automation-ready
251
+ - **Best For:** CLI power users, terminal enthusiasts, DevOps
252
+
253
+ ### Ampcode (Amplified Development)
254
+ - **Optimization:** `amplified-codegen`
255
+ - **Focus:** Maximum velocity, automation-focused
256
+ - **Strengths:** Rapid development, high throughput
257
+ - **Best For:** Teams focused on velocity, fast-paced projects
258
+
259
+ ### Droid (Mobile Development)
260
+ - **Optimization:** `mobile-codegen`
261
+ - **Focus:** Android-first, mobile patterns
262
+ - **Strengths:** Mobile-specific workflows, Android Studio integration
263
+ - **Best For:** Android developers, mobile development teams
264
+
265
+ ---
266
+
267
+ ## Usage Recommendations
268
+
269
+ ### Choosing a Variant
270
+
271
+ **Start with Lite if:**
272
+ - You're evaluating agentflow for the first time
273
+ - You have limited disk space (< 50 MB available)
274
+ - You only need basic workflow management
275
+ - You want to learn the system before full installation
276
+
277
+ **Choose Standard if:**
278
+ - You're a professional developer (90% of users)
279
+ - You need document processing capabilities
280
+ - You work on team projects requiring design/branding
281
+ - You want the "recommended" configuration
282
+ - You have 50-100 MB disk space available
283
+
284
+ **Choose Pro if:**
285
+ - You need every capability
286
+ - You're doing advanced testing or debugging
287
+ - You're building custom skills or MCP servers
288
+ - You have specialized creative needs (art, GIFs)
289
+ - You have 150-200 MB disk space available
290
+ - You're an enterprise with diverse requirements
291
+
292
+ ### Upgrading Between Variants
293
+
294
+ The installer supports seamless upgrades:
295
+
296
+ ```bash
297
+ # Upgrade from Lite to Standard
298
+ node installer/cli.js --upgrade claude standard
299
+
300
+ # Upgrade from Standard to Pro
301
+ node installer/cli.js --upgrade claude pro
302
+
303
+ # Downgrade from Pro to Standard (if needed)
304
+ node installer/cli.js --upgrade claude standard
305
+ ```
306
+
307
+ **Upgrade Process:**
308
+ - Automatic backup created before upgrade
309
+ - Only adds/removes differential files
310
+ - Preserves user-created content
311
+ - Updates manifest with new variant metadata
312
+
313
+ ### Choosing a Tool
314
+
315
+ **Choose Claude if:**
316
+ - You prefer conversational interfaces
317
+ - You value extensive documentation
318
+ - You're comfortable with markdown-first workflows
319
+
320
+ **Choose Opencode if:**
321
+ - You're a CLI power user
322
+ - You prefer terminal-based workflows
323
+ - You need scriptable, automatable processes
324
+
325
+ **Choose Ampcode if:**
326
+ - You prioritize development velocity
327
+ - You need maximum throughput
328
+ - You're focused on rapid iteration
329
+
330
+ **Choose Droid if:**
331
+ - You're developing Android applications
332
+ - You need mobile-specific patterns
333
+ - You work in Android Studio
334
+
335
+ ### Multi-Tool Installation
336
+
337
+ You can install multiple tools simultaneously:
338
+
339
+ ```bash
340
+ # Install both Claude (standard) and Opencode (lite)
341
+ node installer/cli.js --tools claude,opencode --variant standard
342
+
343
+ # Install to custom paths
344
+ node installer/cli.js --tools claude --path claude=~/.claude-ai
345
+ ```
346
+
347
+ ---
348
+
349
+ ## Maintenance and Updates
350
+
351
+ ### Skill Updates
352
+
353
+ Skills are updated independently of agents:
354
+
355
+ - **Minor Updates:** Bug fixes, improved documentation
356
+ - **Major Updates:** New features, breaking changes
357
+ - **Deprecations:** Announced 6 months in advance
358
+
359
+ ### Variant Evolution
360
+
361
+ As agentflow evolves, variant definitions may change:
362
+
363
+ **Standard Variant Philosophy:**
364
+ - Will always include essential document processing (pdf, docx, xlsx, pptx)
365
+ - May add new "core" skills if universally useful
366
+ - Will maintain ~8-12 skills to balance capability vs. bloat
367
+
368
+ **Pro Variant Philosophy:**
369
+ - Will include all available skills (no limit)
370
+ - New experimental skills added here first
371
+ - Power users get early access to new capabilities
372
+
373
+ ---
374
+
375
+ ## Customization
376
+
377
+ ### Custom Variants
378
+
379
+ Advanced users can create custom `variants.json` configurations:
380
+
381
+ ```json
382
+ {
383
+ "custom": {
384
+ "name": "Custom",
385
+ "description": "My custom variant",
386
+ "useCase": "Specific to my workflow",
387
+ "targetUsers": "Me",
388
+ "agents": ["master", "orchestrator", "code-developer"],
389
+ "skills": ["pdf", "docx", "code-review", "webapp-testing"],
390
+ "resources": "*",
391
+ "hooks": "*"
392
+ }
393
+ }
394
+ ```
395
+
396
+ Then install with:
397
+ ```bash
398
+ node installer/cli.js --variant custom
399
+ ```
400
+
401
+ ### Skill-Specific Installation
402
+
403
+ While not officially supported, you can manually add specific skills:
404
+
405
+ 1. Install desired variant
406
+ 2. Manually copy skill directories from another installation
407
+ 3. Update `manifest.json` to include new skills
408
+
409
+ ---
410
+
411
+ ## Summary
412
+
413
+ **Key Takeaways:**
414
+
415
+ 1. **Three Variants:** Lite (minimal), Standard (recommended), Pro (complete)
416
+ 2. **8 Core Skills:** Document processing (pdf, docx, xlsx, pptx) + Design (canvas-design, theme-factory, brand-guidelines) + Communication (internal-comms)
417
+ 3. **Standard for Most:** 90% of users should choose Standard variant
418
+ 4. **Tool-Specific:** Each tool optimized for different workflows (conversational, CLI, amplified, mobile)
419
+ 5. **Upgradeable:** Easy to upgrade between variants as needs change
420
+
421
+ **Configuration Files:**
422
+ - `packages/claude/variants.json` - Claude variant definitions
423
+ - `packages/opencode/variants.json` - Opencode variant definitions
424
+ - `packages/ampcode/variants.json` - Ampcode variant definitions
425
+ - `packages/droid/variants.json` - Droid variant definitions
426
+
427
+ **Related Documentation:**
428
+ - `docs/PACKAGE_BASELINE.md` - Claude package structure reference
429
+ - `installer/README.md` - Installation instructions
430
+ - `docs/INSTALLER_GUIDE.md` - Comprehensive installer guide (coming in Phase 7.0)
431
+
432
+ ---
433
+
434
+ ## Version History
435
+
436
+ - **2025-11-04:** Initial documentation
437
+ - Documented 8 core skills rationale
438
+ - Explained variant philosophy
439
+ - Provided usage recommendations
440
+ - Documented tool-specific optimizations