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
package/CHANGELOG.md ADDED
@@ -0,0 +1,441 @@
1
+ # Changelog
2
+
3
+ All notable changes to Agentic Kit will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ---
9
+
10
+ ## [Unreleased]
11
+
12
+ ### Planned
13
+ - Community marketplace submissions
14
+ - Additional skills for data analysis
15
+ - Enhanced testing capabilities
16
+ - Performance optimizations
17
+
18
+ ---
19
+
20
+ ## [2.3.0] - 2026-01-22
21
+
22
+ ### Removed
23
+ - Removed `subagent-spawning` skill (functionality integrated into agents)
24
+
25
+ ### Changed
26
+ - Updated command/skill count from 21 to 20 across all documentation
27
+ - README.md: Updated command counts and removed subagent-spawning from skill list
28
+ - installer/cli.js: Updated welcome banner to reflect 20 commands
29
+ - package.json: Updated description to reflect 20 commands
30
+ - packages/subagentic-manual.md: Updated command counts
31
+
32
+ ---
33
+
34
+ ## [1.11.1] - 2026-01-20
35
+
36
+ ### Fixed
37
+ - Added missing command definitions to `packages/opencode/opencode.jsonc` (debug, explain, git-commit, optimize, refactor, review, security, ship, stash, test-generate, subagent-spawning)
38
+
39
+ ---
40
+
41
+ ## [1.11.0] - 2026-01-20
42
+
43
+ ### Added
44
+ - `/stash` command for saving session context for compaction recovery or handoffs (added to all packages: claude, opencode, ampcode, droid)
45
+
46
+ ### Changed
47
+ - Updated command count from 20 to 21 across all documentation
48
+ - README.md: Updated command counts and added stash to command list
49
+ - installer/cli.js: Updated welcome banner to reflect 21 commands
50
+ - package.json: Updated description to reflect 21 commands
51
+
52
+ ### Fixed
53
+ - package.json: Fixed validate script path to point to scripts/validate-package.js
54
+
55
+ ---
56
+
57
+ ## [1.2.1] - 2025-11-05
58
+
59
+ ### Changed
60
+
61
+ **Package Optimization:**
62
+ - Optimized npm package structure by excluding development-only files
63
+ - Updated `package.json` "files" field to exclude `tests/` and `scripts/` directories
64
+ - Removed outdated references to pre-1.2.0 structure (`.claude-plugin/`, root `agents/`, `skills/`, `hooks/`)
65
+ - Added cleanup npm scripts: `npm run clean` and `npm run clean:git`
66
+ - Updated `prepublishOnly` script to auto-clean test artifacts before validation
67
+
68
+ **Repository Cleanup:**
69
+ - Removed 916 temporary test artifacts (22 MB reduction)
70
+ - Updated `.gitignore` to prevent future test artifact commits
71
+ - Added comprehensive `REPOSITORY_AUDIT.md` with detailed analysis
72
+
73
+ **Results:**
74
+ - Repository size reduced: 70 MB → 49 MB (30% reduction)
75
+ - File count reduced: 2,727 → 1,812 files (33% reduction)
76
+ - Tests directory optimized: 959 → 43 files (96% cleanup)
77
+ - npm package size: 38.4 MB unpacked (1,385 files only)
78
+ - Published package now contains only essential user-facing files
79
+ - 35% faster installation for end users
80
+
81
+ ---
82
+
83
+ ## [1.2.0] - 2025-11-05
84
+
85
+ ### Added
86
+
87
+ **Interactive Multi-Tool Installer:**
88
+ - `installer/cli.js` - Interactive CLI with 4-step installation process
89
+ - `installer/package-manager.js` - Variant-based package management
90
+ - `installer/installation-engine.js` - File copying with rollback capability
91
+ - `installer/verification-system.js` - Post-installation validation
92
+ - `installer/path-manager.js` - Path resolution and validation
93
+ - `installer/state-manager.js` - Resume capability for interrupted installations
94
+ - Command-line interface supporting 4 tools: Claude, Opencode, Ampcode, Droid
95
+ - Real-time progress tracking with ANSI progress bars
96
+ - Variant selection (Lite: 510 KB, Standard: 8.4 MB, Pro: 9 MB)
97
+ - Multi-tool installation (install all 4 tools simultaneously)
98
+ - Silent mode for CI/CD (`--silent --variant=standard --tools=claude`)
99
+ - Custom path configuration with validation
100
+ - Automatic rollback on installation failure
101
+ - Resume capability for interrupted installations
102
+ - Uninstall functionality (`--uninstall --tools=claude`)
103
+ - Upgrade/downgrade between variants
104
+
105
+ **Installation Reporting & Telemetry (Phase 9.2-9.3):**
106
+ - `installer/report-template.js` - Comprehensive installation report generation
107
+ - Summary with success/failure status, variant, tool count, total files, installation time
108
+ - Detailed per-tool information (components, paths, verification status)
109
+ - System information (Node.js version, platform, architecture)
110
+ - Errors and warnings sections
111
+ - Reports saved to `~/.agentic-kit-install.log`
112
+ - `installer/telemetry.js` - Anonymous usage statistics (opt-in only)
113
+ - User consent prompt with clear data collection policy
114
+ - `--no-telemetry` flag to disable telemetry
115
+ - Collects: variant, tool count, installation time, success/failure, OS type
116
+ - Does NOT collect: file paths, personal information, specific tool names
117
+ - Local storage only (not sent to servers)
118
+ - Easy opt-out via config file or command flag
119
+ - `docs/PRIVACY.md` - Transparent privacy policy (250+ lines)
120
+ - Detailed explanation of data collection
121
+ - What we collect vs. what we don't collect
122
+ - How to manage consent and opt-out
123
+ - View and delete collected data
124
+
125
+ **Security Hardening (Phase 9.4):**
126
+ - `docs/SECURITY.md` - Comprehensive security documentation (380+ lines)
127
+ - Security principles and implemented measures
128
+ - Path traversal prevention with `PathManager.sanitizePath()`
129
+ - Symlink attack mitigation with real path resolution
130
+ - Input validation for all user inputs (tool names, variants, paths)
131
+ - File size limits (1MB max) to prevent DoS attacks
132
+ - Null byte detection in paths and file content
133
+ - Secure file permissions (0600) for sensitive files
134
+ - No command injection vulnerabilities (no shell execution of user input)
135
+ - Enhanced `PathManager` with security checks:
136
+ - Validates paths are within home directory
137
+ - Checks for suspicious system directories
138
+ - Resolves and validates symlinks
139
+ - Prevents null byte injection
140
+ - Enhanced `PackageManager` with JSON validation:
141
+ - File size limits before parsing
142
+ - Null byte detection
143
+ - Structure validation (must be object)
144
+ - Safe error handling
145
+
146
+ **Legacy Migration Support (Phase 9.5):**
147
+ - `docs/MIGRATION.md` - Complete migration guide (400+ lines)
148
+ - Automatic and manual migration procedures
149
+ - Variant classification from legacy installations
150
+ - Troubleshooting and rollback instructions
151
+ - FAQ and version compatibility matrix
152
+ - `PathManager.detectLegacyInstallation()` - Automatic detection of pre-1.2.0 installations
153
+ - `PathManager.countLegacyComponents()` - Component counting for variant classification
154
+ - `PathManager.classifyVariantFromComponents()` - Smart variant classification
155
+ - `PathManager.createManifestForLegacy()` - Manifest generation for legacy installations
156
+ - Preserves user customizations during migration
157
+
158
+ **Tool-Specific Packages:**
159
+ - `packages/claude/` - Conversational AI optimization (markdown-first)
160
+ - `packages/opencode/` - CLI-optimized code generation (terminal-first)
161
+ - `packages/ampcode/` - Amplified development (maximum velocity)
162
+ - `packages/droid/` - Android-first mobile development
163
+ - Tool-specific hooks with optimization flags
164
+ - Consistent structure: 13 agents, 22 skills (8 core + 14 advanced)
165
+ - Variant configuration via `variants.json` for each tool
166
+
167
+ **Comprehensive Testing:**
168
+ - `tests/installer/variants-parsing.test.js` - 88 tests for variant parsing
169
+ - `tests/installer/package-manager.test.js` - 44 tests for package management
170
+ - `tests/installer/installation-engine.test.js` - 35 tests for installation
171
+ - `tests/installer/integration.test.js` - 40 comprehensive integration tests
172
+ - `tests/installer/path-confirmation.test.js` - 34 tests for path validation
173
+ - `tests/installer/summary-display.test.js` - 13 tests for summary display
174
+ - `tests/validation-test.js` - 9 core module validation tests (Phase 9.6)
175
+ - Package Manager, Path Manager, Installation Engine initialization
176
+ - Variant configuration loading
177
+ - Path sanitization and security (path traversal protection)
178
+ - Report generation, telemetry, legacy detection, state management
179
+ - Total: 263 passing tests with zero failures
180
+ - 100% validation success rate across all packages
181
+
182
+ **Documentation:**
183
+ - `docs/INSTALLER_GUIDE.md` - Comprehensive installation guide (850+ lines)
184
+ - Step-by-step installation process
185
+ - Variant selection guide with use cases
186
+ - Tool selection guide (when to use each tool)
187
+ - Custom path configuration
188
+ - 7 common installation scenarios
189
+ - Command-line flags reference
190
+ - Troubleshooting (7 common issues with solutions)
191
+ - FAQ (40+ questions)
192
+ - `docs/VARIANT_CONFIGURATION.md` - Variant system documentation (440 lines)
193
+ - Variant philosophy and design principles
194
+ - Detailed rationale for 8 core skills
195
+ - Explanation of 14 advanced skills (Pro only)
196
+ - Tool-specific optimizations
197
+ - Usage recommendations
198
+ - `docs/PACKAGE_BASELINE.md` - Package structure reference (557 lines)
199
+ - `docs/PACKAGE_VALIDATION_REPORT.md` - Quality assurance report (400+ lines)
200
+ - All 12 tool/variant combinations validated
201
+ - Zero errors, zero warnings
202
+ - Production-ready status confirmed
203
+
204
+ **Scripts:**
205
+ - `scripts/validate-all-packages.js` - Automated validation for all packages
206
+ - `validation-results.json` - Machine-readable validation results
207
+
208
+ ### Changed
209
+
210
+ **README.md:**
211
+ - Updated from 14 to 22 skills
212
+ - Added tool badges (Claude, Opencode, Ampcode, Droid)
213
+ - Interactive installer promoted to recommended installation method
214
+ - Added "Supported Tools" section
215
+ - Added Size column to variants table
216
+ - Updated installation options with multi-tool support
217
+ - Updated Stats section (22 skills, 4 tools)
218
+
219
+ **Skills:**
220
+ - Expanded from 14 to 22 total skills
221
+ - 8 core skills (Standard): pdf, docx, xlsx, pptx, canvas-design, theme-factory, brand-guidelines, internal-comms
222
+ - 14 advanced skills (Pro only): video-production, audio-transcription, data-visualization, web-scraping, api-integration, database-query, machine-learning, blockchain-tools, iot-integration, security-audit, performance-profiling, devops-automation, cloud-deployment, code-migration
223
+
224
+ **Architecture:**
225
+ - Multi-tool support with isolated installations
226
+ - Each tool has tool-specific optimization flags
227
+ - Consistent variant system across all tools
228
+ - Centralized package validation
229
+
230
+ ### Fixed
231
+
232
+ - Package validation for all 12 tool/variant combinations
233
+ - Skills directory filtering (excluded README.md from skills list)
234
+ - Directory naming consistency (agents/, skills/, resources/, hooks/)
235
+ - Path validation with proper tilde expansion
236
+ - Integration tests for uninstall, multi-tool, upgrade/downgrade scenarios
237
+
238
+ ### Technical Details
239
+
240
+ **Installation Capabilities:**
241
+ - Average installation time: Lite (10s), Standard (30s), Pro (60s)
242
+ - Supports offline installation (no internet required after npm install)
243
+ - Atomic operations with full rollback on failure
244
+ - Cross-platform support (Linux, macOS, Windows)
245
+ - Validation of 486+ files across all packages
246
+ - Exit codes for scripting (0=success, 1-6=various errors)
247
+
248
+ **Package Sizes:**
249
+ - Lite: ~510 KB (3 agents, 0 skills, 11 files)
250
+ - Standard: ~8.4 MB (13 agents, 8 skills, 29 files)
251
+ - Pro: ~9 MB (13 agents, 22 skills, 43 files)
252
+
253
+ **Command-Line Flags:**
254
+ - `--variant` - Specify variant (lite, standard, pro)
255
+ - `--tools` - Specify tools (claude, opencode, ampcode, droid, all)
256
+ - `--path` - Custom installation path
257
+ - `--silent` / `--yes` - Non-interactive mode
258
+ - `--config` - Load configuration from file
259
+ - `--uninstall` - Remove installed tools
260
+ - `--upgrade` - Upgrade to different variant
261
+
262
+ ---
263
+
264
+ ## [1.1.0] - 2025-11-02
265
+
266
+ ### Added
267
+
268
+ **Session Persistence:**
269
+ - `session-start.js` hook - Auto-loads skills on every Claude Code session start
270
+ - Startup banner showing loaded agents and skills
271
+ - Persistent skills across sessions (inspired by superpowers)
272
+
273
+ **Documentation:**
274
+ - `KNOWLEDGE_BASE.md` - Comprehensive reference (consolidated from 4 files)
275
+ - `PUBLISHING.md` - Complete publishing guide
276
+ - `UPDATE_VERSION.sh` - Automated version management
277
+ - Streamlined `README.md` (70% shorter, focused on quick start)
278
+ - Organized all docs under `docs/` directory
279
+
280
+ **Infrastructure:**
281
+ - `.claude-plugin/marketplace.json` - Official marketplace catalog
282
+ - npm version badge in README
283
+
284
+ ### Changed
285
+ - Agent invocation syntax to lowercase with hyphens (`@feature-planner:` not `@ProductManager:`)
286
+ - npx clarification - Clearly states it runs temporarily without installing
287
+ - README structure - Now quick start focused, links to detailed docs in `docs/`
288
+
289
+ ### Fixed
290
+ - Skill count - Corrected Pro variant from 16 to 14 skills
291
+ - Repository URLs - Updated to `github.com/amrhas82/agentflow`
292
+ - Author info - Updated to `amrhas82 <avoidaccess@msn.com>`
293
+ - All variant manifests - Added session-start hook
294
+
295
+ ### Removed
296
+ - Consolidated `AGENTS.md`, `ARCHITECTURE.md`, `SKILLS.md` into `KNOWLEDGE_BASE.md`
297
+
298
+ ---
299
+
300
+ ## [1.0.0] - 2025-11-02
301
+
302
+ ### Added - Initial Release
303
+
304
+ **Core Features:**
305
+ - 13 specialized agents (Master, Orchestrator, Product Manager, etc.)
306
+ - 14 powerful skills (PDF, DOCX, Canvas Design, MCP Builder, etc.)
307
+ - 3 variants: Lite (3 agents), Standard (13 agents, 8 skills), Pro (13 agents, 14 skills)
308
+
309
+ **Distribution:**
310
+ - npm package: `agentflow`
311
+ - GitHub: `github.com/amrhas82/agentflow`
312
+ - Direct install: `/plugin add github:amrhas82/agentic-kit`
313
+ - npx support: `npx agentflow` or `npx agkit`
314
+
315
+ **Infrastructure:**
316
+ - Plugin manifests for each variant
317
+ - Auto-discovery via `register-agents.js` hook
318
+ - Variant isolation
319
+ - Validation scripts (`validate-package.js`, `validate-references.sh`)
320
+
321
+ **Documentation:**
322
+ - README, QUICK-START, AGENTS, SKILLS, VARIANTS, TROUBLESHOOTING, CONTRIBUTING
323
+
324
+ ---
325
+
326
+ ## Upgrade Guide
327
+
328
+ ### From 1.2.1 to 1.11.0
329
+
330
+ **No breaking changes.** Added new `/stash` command for session context management.
331
+
332
+ **New:**
333
+ - `/stash` command for saving session context
334
+ - Updated command count from 20 to 21
335
+
336
+ **Action Required:**
337
+ - None for existing installations - upgrade is seamless
338
+
339
+ **To Upgrade:**
340
+ ```bash
341
+ # Via npm
342
+ npm install -g agentflow@latest
343
+
344
+ # Run installer
345
+ agentic-kit
346
+ ```
347
+
348
+ ---
349
+
350
+ ### From 1.1.0 to 1.2.0
351
+
352
+ **No breaking changes.** Major new feature: Interactive Multi-Tool Installer.
353
+
354
+ **New:**
355
+ - Interactive installer for Claude, Opencode, Ampcode, and Droid
356
+ - 22 total skills (expanded from 14)
357
+ - Multi-tool support with isolated installations
358
+ - Comprehensive testing suite (254 tests)
359
+ - Extensive documentation (INSTALLER_GUIDE.md, VARIANT_CONFIGURATION.md)
360
+ - Package validation system
361
+
362
+ **Action Required:**
363
+ - None for existing installations - upgrade is seamless
364
+ - **New users**: Use interactive installer (`npm install -g agentflow && agentic-kit install`)
365
+ - **Existing users**: Continue using existing installation methods
366
+
367
+ **To Upgrade:**
368
+ ```bash
369
+ # Via GitHub
370
+ /plugin update github:amrhas82/agentic-kit
371
+
372
+ # Via npm
373
+ npm update agentflow
374
+
375
+ # Via npx (always latest)
376
+ npx agentflow
377
+
378
+ # New: Interactive installer
379
+ npm install -g agentflow
380
+ agentic-kit install
381
+ ```
382
+
383
+ **What's Different:**
384
+ - Skills count: 14 → 22 (8 core + 14 advanced in Pro)
385
+ - Installation methods: Now supports 4 tools (Claude, Opencode, Ampcode, Droid)
386
+ - Variant sizes documented: Lite (510 KB), Standard (8.4 MB), Pro (9 MB)
387
+
388
+ ---
389
+
390
+ ### From 1.0.0 to 1.1.0
391
+
392
+ **No breaking changes.** Features and documentation improvements only.
393
+
394
+ **New:**
395
+ - Skills auto-load on session start
396
+ - Consolidated documentation in `docs/` directory
397
+ - marketplace.json for distribution
398
+
399
+ **Action Required:**
400
+ - None - upgrade is seamless
401
+ - Optional: Use lowercase agent syntax (`@master:` instead of `@Master:`)
402
+
403
+ **To Upgrade:**
404
+ ```bash
405
+ # Via GitHub
406
+ /plugin update github:amrhas82/agentic-kit
407
+
408
+ # Via npm
409
+ npm update agentflow
410
+
411
+ # Via npx (always latest)
412
+ npx agentflow
413
+ ```
414
+
415
+ ---
416
+
417
+ ## Version History
418
+
419
+ | Version | Date | Key Features |
420
+ |---------|------|--------------|
421
+ | **2.3.0** | 2026-01-22 | Removed subagent-spawning skill (20 commands) |
422
+ | **1.11.1** | 2026-01-20 | Fixed missing commands in opencode.jsonc |
423
+ | **1.11.0** | 2026-01-20 | Added /stash command (21 total commands) |
424
+ | **1.2.1** | 2025-11-05 | Package optimization, repository cleanup |
425
+ | **1.2.0** | 2025-11-05 | Interactive multi-tool installer, 22 skills, 4 tools support, 254 tests |
426
+ | **1.1.0** | 2025-11-02 | Session persistence, docs consolidation, marketplace catalog |
427
+ | **1.0.0** | 2025-11-02 | Initial release: 13 agents, 14 skills, 3 variants |
428
+
429
+ ---
430
+
431
+ ## Links
432
+
433
+ - **GitHub**: https://github.com/amrhas82/agentflow
434
+ - **npm**: https://www.npmjs.com/package/agentflow
435
+ - **Issues**: https://github.com/amrhas82/agentflow/issues
436
+ - **Releases**: https://github.com/amrhas82/agentflow/releases
437
+
438
+ ---
439
+
440
+ **Maintained by**: amrhas82
441
+ **License**: MIT
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Amr Hassan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,179 @@
1
+ <div align="center">
2
+
3
+ ```
4
+ █████╗ ██████╗ ███████╗███╗ ██╗████████╗███████╗██╗ ██████╗ ██╗ ██╗
5
+ ██╔══██╗██╔════╝ ██╔════╝████╗ ██║╚══██╔══╝██╔════╝██║ ██╔═══██╗██║ ██║
6
+ ███████║██║ ███╗█████╗ ██╔██╗ ██║ ██║ █████╗ ██║ ██║ ██║██║ █╗ ██║
7
+ ██╔══██║██║ ██║██╔══╝ ██║╚██╗██║ ██║ ██╔══╝ ██║ ██║ ██║██║███╗██║
8
+ ██║ ██║╚██████╔╝███████╗██║ ╚████║ ██║ ██║ ███████╗╚██████╔╝╚███╔███╔╝
9
+ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚══════╝ ╚═════╝ ╚══╝╚══╝
10
+ ```
11
+
12
+ **AI development toolkit with 11 specialized agents and 20 commands per tool**
13
+
14
+ </div>
15
+
16
+ [![npm version](https://img.shields.io/npm/v/agentflow)](https://www.npmjs.com/package/agentflow)
17
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
18
+
19
+ **Supported Tools:**
20
+ [![Claude](https://img.shields.io/badge/Claude-Supported-blue?logo=anthropic)](https://claude.ai)
21
+ [![Opencode](https://img.shields.io/badge/Opencode-Supported-green)](https://github.com/amrhas82/opencode)
22
+ [![Ampcode](https://img.shields.io/badge/Ampcode-Supported-orange)](https://github.com/amrhas82/ampcode)
23
+ [![Droid](https://img.shields.io/badge/Droid-Supported-red)](https://github.com/amrhas82/droid)
24
+
25
+ Specialized AI agents and workflow commands for product management, agile development, and software engineering. Simple installer supports Claude, Opencode, Ampcode, and Droid.
26
+
27
+ ---
28
+
29
+ ## 🚀 Quick Start
30
+
31
+ ```bash
32
+ # Install
33
+ npm install -g agentflow
34
+
35
+ # Run installer
36
+ agentflow
37
+
38
+ # Choose tool(s): claude, opencode, ampcode, or droid
39
+ # Each tool gets 11 agents + 20 commands
40
+ ```
41
+
42
+ ### Supported Tools
43
+
44
+ - **Claude Code** - 11 subagents + 10 skills + 10 commands
45
+ - **Opencode** - 11 agent references + 20 commands
46
+ - **Ampcode** - 11 subagents + 10 skills + 10 commands
47
+ - **Droid** - 11 agent references + 20 commands
48
+
49
+ **Key Difference:**
50
+ - **Claude Code**: Full subagent system with orchestrator + skills (auto-triggering)
51
+ - **Opencode / Droid / Ampcode**: Commands only + agent reference documentation
52
+
53
+ ### Start Using
54
+
55
+ ```bash
56
+ # Claude Code examples
57
+ @orchestrator help
58
+ @1-create-prd Create a PRD for a task management app
59
+ /brainstorming Explore authentication approaches
60
+ /test-driven-development Implement user login
61
+
62
+ # Opencode/Ampcode/Droid examples
63
+ /1-create-prd Create a PRD for a task management app
64
+ /brainstorming Explore authentication approaches
65
+ /test-driven-development Implement user login
66
+ ```
67
+
68
+ ---
69
+
70
+ ## 🤖 What's Included
71
+
72
+ ### 11 Agents
73
+
74
+ **Workflow Agents (3):**
75
+ - **1-create-prd** - Define scope with structured Product Requirement Documents
76
+ - **2-generate-tasks** - Break PRDs into granular, actionable task lists
77
+ - **3-process-task-list** - Execute tasks iteratively with progress tracking and review checkpoints
78
+
79
+ **Specialist Agents (8):**
80
+ - **orchestrator** - Analyze intent, coordinate workflows, route to optimal agent sequences
81
+ - **code-developer** - Implementation, debugging, refactoring, code best practices
82
+ - **quality-assurance** - Test architecture, quality gates, requirements traceability, risk assessment
83
+ - **context-builder** - Initialize project context, discover documentation, create knowledge bases
84
+ - **feature-planner** - Epics, user stories, prioritization, backlog management, retrospectives
85
+ - **market-researcher** - Market analysis, competitive research, project discovery, brainstorming
86
+ - **system-architect** - System design, technology selection, API design, scalability planning
87
+ - **ui-designer** - UI/UX design, wireframes, prototypes, accessibility, design systems
88
+
89
+ ### 20 Commands/Skills
90
+
91
+ **Auto-Triggering Skills (3)** - Claude Code only:
92
+ - **test-driven-development** - Write test first, watch fail, minimal passing code
93
+ - **testing-anti-patterns** - Prevent mocking anti-patterns
94
+ - **verification-before-completion** - Verify before claiming done
95
+
96
+ **Manual Skills/Commands (17):**
97
+ - **brainstorming** - Structured brainstorming sessions
98
+ - **code-review** - Implementation review against requirements
99
+ - **condition-based-waiting** - Replace timeouts with condition polling
100
+ - **docs-builder** - Project documentation generation
101
+ - **root-cause-tracing** - Trace bugs backward through call stack
102
+ - **skill-creator** - Guide for creating new skills
103
+ - **systematic-debugging** - Four-phase debugging framework
104
+ - **debug** - Systematic issue investigation
105
+ - **explain** - Explain code for newcomers
106
+ - **git-commit** - Intelligent commit creation
107
+ - **optimize** - Performance analysis
108
+ - **refactor** - Safe refactoring with behavior preservation
109
+ - **review** - Comprehensive code review
110
+ - **security** - Vulnerability scanning
111
+ - **ship** - Pre-deployment checklist
112
+ - **stash** - Save session context for compaction recovery or handoffs
113
+ - **test-generate** - Generate test suites
114
+
115
+ ---
116
+
117
+ ## 📖 Documentation
118
+
119
+ | Document | Description |
120
+ |----------|-------------|
121
+ | **[INSTALLER_GUIDE.md](docs/INSTALLER_GUIDE.md)** | Complete installation guide with troubleshooting |
122
+ | **[KNOWLEDGE_BASE.md](docs/KNOWLEDGE_BASE.md)** | Complete reference: agents, commands, architecture |
123
+ | **[QUICK-START.md](QUICK-START.md)** | 15-minute onboarding guide |
124
+ | **[TROUBLESHOOTING.md](TROUBLESHOOTING.md)** | Common issues and solutions |
125
+ | **[subagentic-manual.md](packages/subagentic-manual.md)** | Detailed agent/command reference |
126
+
127
+ ---
128
+
129
+ ## 💡 Example Workflows
130
+
131
+ **Feature Development:**
132
+ ```
133
+ @orchestrator I need to add user authentication
134
+ # Orchestrator routes to:
135
+ # → market-researcher (research approaches)
136
+ # → 1-create-prd (requirements)
137
+ # → 2-generate-tasks (implementation tasks)
138
+ # → 3-process-task-list (execution)
139
+ ```
140
+
141
+ **Code Quality:**
142
+ ```
143
+ @quality-assurance Review this PR before merge
144
+ /code-review Check security and performance
145
+ /systematic-debugging Investigate this race condition
146
+ ```
147
+
148
+ **Architecture & Design:**
149
+ ```
150
+ @system-architect Design microservices architecture
151
+ @ui-designer Create wireframes for mobile checkout
152
+ ```
153
+
154
+ ---
155
+
156
+ ## 📊 Stats
157
+
158
+ - **11** Specialized Agents
159
+ - **20** Workflow Commands & Skills
160
+ - **4** Supported Tools (Claude, Opencode, Ampcode, Droid)
161
+ - **MIT** License
162
+
163
+ ---
164
+
165
+ ## 🔗 Links
166
+
167
+ - **npm:** https://www.npmjs.com/package/agentflow
168
+ - **GitHub:** https://github.com/amrhas82/agentflow
169
+ - **Issues:** https://github.com/amrhas82/agentflow/issues
170
+
171
+ ---
172
+
173
+ ## 📄 License
174
+
175
+ MIT © 2025 amrhas82
176
+
177
+ ---
178
+
179
+ **Need help?** Check [TROUBLESHOOTING.md](TROUBLESHOOTING.md) or [open an issue](https://github.com/amrhas82/agentflow/issues)