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,557 @@
1
+ # Package Baseline: Claude Code
2
+
3
+ **Purpose:** This document serves as the baseline reference for the Claude Code package structure, used as a template for creating Opencode, Ampcode, and Droid packages.
4
+
5
+ **Package Location:** `/packages/claude/`
6
+
7
+ **Last Updated:** 2025-11-04
8
+
9
+ ---
10
+
11
+ ## Table of Contents
12
+
13
+ 1. [Package Overview](#package-overview)
14
+ 2. [Agents (13 Total)](#agents-13-total)
15
+ 3. [Skills (22 Total)](#skills-22-total)
16
+ 4. [Resources (6 Files)](#resources-6-files)
17
+ 5. [Hooks (2 Files)](#hooks-2-files)
18
+ 6. [Agent Prompt Structures](#agent-prompt-structures)
19
+ 7. [Skill Implementation Patterns](#skill-implementation-patterns)
20
+ 8. [Resource Formats](#resource-formats)
21
+ 9. [Hook Integration Points](#hook-integration-points)
22
+ 10. [Claude-Specific Optimizations](#claude-specific-optimizations)
23
+
24
+ ---
25
+
26
+ ## Package Overview
27
+
28
+ The Claude package is optimized for **conversational AI-driven code generation** with comprehensive workflow management, document processing, and creative capabilities.
29
+
30
+ ### Variant Configuration
31
+
32
+ Defined in `packages/claude/variants.json`:
33
+
34
+ | Variant | Agents | Skills | Use Case |
35
+ |---------|--------|--------|----------|
36
+ | **Lite** | 3 (master, orchestrator, story-writer) | 0 | Minimal footprint, basic workflow |
37
+ | **Standard** | 13 (all) | 8 (core document/design) | Professional development |
38
+ | **Pro** | 13 (all) | 22 (all) | Full-featured, power users |
39
+
40
+ ---
41
+
42
+ ## Agents (13 Total)
43
+
44
+ All agents follow the Claude Code conversational AI pattern with markdown formatting and command-based interactions.
45
+
46
+ ### Core Workflow Agents (Lite Variant)
47
+
48
+ 1. **master.md**
49
+ - **Description:** Universal task executor for comprehensive task execution across all domains
50
+ - **Purpose:** Primary interface for agentic framework, executes tasks/checklists/templates/workflows
51
+ - **Pattern:** Command-based with `*` prefix (e.g., `*help`, `*task`)
52
+ - **Key Features:** Runtime resource loading, direct execution without persona transformation
53
+
54
+ 2. **orchestrator.md**
55
+ - **Description:** Multi-agent workflow coordinator and delegation specialist
56
+ - **Purpose:** Manages complex multi-step projects requiring multiple specialized agents
57
+ - **Pattern:** Delegation and coordination across agent teams
58
+ - **Key Features:** Team composition, workflow orchestration, progress tracking
59
+
60
+ 3. **story-writer.md**
61
+ - **Description:** Agile workflow facilitator and sprint management expert
62
+ - **Purpose:** Manages sprints, daily standups, retrospectives, and agile ceremonies
63
+ - **Pattern:** Agile methodology implementation
64
+ - **Key Features:** Sprint planning, backlog management, velocity tracking
65
+
66
+ ### Specialized Domain Agents (Standard/Pro Variants)
67
+
68
+ 4. **1-create-prd.md**
69
+ - **Description:** Product Requirements Document creation specialist
70
+ - **Purpose:** Creates comprehensive PRDs from user requirements
71
+ - **Pattern:** Structured document generation
72
+ - **Key Features:** Requirement analysis, PRD template application
73
+
74
+ 5. **2-generate-tasks.md**
75
+ - **Description:** Task breakdown and decomposition expert
76
+ - **Purpose:** Converts PRDs into actionable task lists
77
+ - **Pattern:** Hierarchical task decomposition
78
+ - **Key Features:** Task estimation, dependency identification
79
+
80
+ 6. **3-process-task-list.md**
81
+ - **Description:** Task list execution manager with sequential workflow
82
+ - **Purpose:** Manages implementation progress using markdown task lists
83
+ - **Pattern:** Sequential execution, test-first workflow, commit management
84
+ - **Key Features:** One-task-at-a-time execution, test suite validation, git integration
85
+
86
+ 7. **market-researcher.md**
87
+ - **Description:** Business requirements analysis and documentation specialist
88
+ - **Purpose:** Analyzes business needs, creates specifications
89
+ - **Pattern:** Requirements gathering and documentation
90
+ - **Key Features:** Stakeholder analysis, requirement prioritization
91
+
92
+ 8. **code-developer.md**
93
+ - **Description:** Full-stack development expert (frontend + backend + database)
94
+ - **Purpose:** Implements complete features across entire stack
95
+ - **Pattern:** Multi-layer development
96
+ - **Key Features:** API development, UI implementation, database design
97
+
98
+ 9. **system-architect.md**
99
+ - **Description:** System architecture and design specialist
100
+ - **Purpose:** Creates architectural decisions, system design documents
101
+ - **Pattern:** Architecture-first approach
102
+ - **Key Features:** Design patterns, scalability planning, technology selection
103
+
104
+ 10. **feature-planner.md**
105
+ - **Description:** Product strategy and roadmap management expert
106
+ - **Purpose:** Defines product vision, prioritizes features
107
+ - **Pattern:** Product-led thinking
108
+ - **Key Features:** Roadmap planning, feature prioritization, market analysis
109
+
110
+ 11. **backlog-manager.md**
111
+ - **Description:** Agile product ownership and backlog management
112
+ - **Purpose:** Manages product backlog, defines user stories
113
+ - **Pattern:** Agile product ownership
114
+ - **Key Features:** User story creation, acceptance criteria, backlog refinement
115
+
116
+ 12. **quality-assurance.md**
117
+ - **Description:** Test strategy and quality assurance specialist
118
+ - **Purpose:** Designs test plans, ensures quality standards
119
+ - **Pattern:** Test-first approach
120
+ - **Key Features:** Test coverage analysis, CI/CD integration, quality metrics
121
+
122
+ 13. **ui-designer.md**
123
+ - **Description:** User experience and interface design specialist
124
+ - **Purpose:** Creates UX designs, wireframes, user flows
125
+ - **Pattern:** User-centered design
126
+ - **Key Features:** Wireframing, usability testing, design systems
127
+
128
+ ---
129
+
130
+ ## Skills (22 Total)
131
+
132
+ Skills are directory-based with `SKILL.md` as entry point plus supporting scripts/templates.
133
+
134
+ ### Core Skills (Standard Variant - 8 Total)
135
+
136
+ #### Document Processing Skills
137
+
138
+ 1. **pdf/**
139
+ - **Description:** Comprehensive PDF manipulation toolkit
140
+ - **Core Capabilities:** Extract text/tables, create PDFs, merge/split, handle forms
141
+ - **Technologies:** pypdf (Python), pdf-lib (JavaScript)
142
+ - **Files:** SKILL.md, reference.md, forms.md, scripts/*.py
143
+ - **Use Case:** PDF form filling, document generation, batch processing
144
+
145
+ 2. **docx/**
146
+ - **Description:** Word document creation and manipulation
147
+ - **Core Capabilities:** Create .docx files, modify templates, extract content
148
+ - **Technologies:** python-docx, Open XML SDK
149
+ - **Files:** SKILL.md, docx-js.md, ooxml.md, scripts/*.py, schemas/
150
+ - **Use Case:** Report generation, template-based documents, content extraction
151
+
152
+ 3. **xlsx/**
153
+ - **Description:** Excel spreadsheet operations
154
+ - **Core Capabilities:** Create spreadsheets, formulas, charts, data processing
155
+ - **Technologies:** openpyxl (Python)
156
+ - **Files:** SKILL.md, recalc.py
157
+ - **Use Case:** Data analysis, financial reports, automated spreadsheets
158
+
159
+ 4. **pptx/**
160
+ - **Description:** PowerPoint presentation creation
161
+ - **Core Capabilities:** Create slides, add content, themes, export
162
+ - **Technologies:** python-pptx, Open XML
163
+ - **Files:** SKILL.md, html2pptx.md, ooxml.md, scripts/*.py
164
+ - **Use Case:** Automated presentations, reporting dashboards, slide generation
165
+
166
+ #### Design & Branding Skills
167
+
168
+ 5. **canvas-design/**
169
+ - **Description:** Design canvas for graphics, diagrams, visual content
170
+ - **Core Capabilities:** Create graphics, diagrams, infographics
171
+ - **Technologies:** Canvas API, custom fonts
172
+ - **Files:** SKILL.md, canvas-fonts/ (50+ fonts)
173
+ - **Use Case:** Marketing graphics, diagrams, social media content
174
+
175
+ 6. **theme-factory/**
176
+ - **Description:** Design theme creation and management
177
+ - **Core Capabilities:** Generate color schemes, typography, brand themes
178
+ - **Technologies:** Custom theme templates
179
+ - **Files:** SKILL.md, themes/*.md, theme-showcase.pdf
180
+ - **Use Case:** Brand identity, design systems, consistent styling
181
+
182
+ 7. **brand-guidelines/**
183
+ - **Description:** Brand guideline document generation
184
+ - **Core Capabilities:** Create brand style guides, logo usage, color palettes
185
+ - **Technologies:** Template-based generation
186
+ - **Files:** SKILL.md
187
+ - **Use Case:** Brand documentation, design handoffs, style guides
188
+
189
+ #### Communication Skill
190
+
191
+ 8. **internal-comms/**
192
+ - **Description:** Internal communication content creation
193
+ - **Core Capabilities:** Newsletters, announcements, FAQs, updates
194
+ - **Technologies:** Markdown templates
195
+ - **Files:** SKILL.md, examples/*.md
196
+ - **Use Case:** Company communications, team updates, documentation
197
+
198
+ ### Additional Skills (Pro Variant Only - 14 Total)
199
+
200
+ #### Creative Skills
201
+
202
+ 9. **algorithmic-art/**
203
+ - **Description:** Generative art and algorithmic design
204
+ - **Files:** SKILL.md, LICENSE.txt, templates/*.js, templates/viewer.html
205
+
206
+ 10. **slack-gif-creator/**
207
+ - **Description:** Animated GIF creation for Slack/messaging
208
+ - **Files:** SKILL.md, core/*.py, templates/*.py, requirements.txt
209
+
210
+ #### Development Skills
211
+
212
+ 11. **artifacts-builder/**
213
+ - **Description:** Web artifact creation (React, Tailwind, shadcn)
214
+ - **Files:** SKILL.md, scripts/*.sh, scripts/shadcn-components.tar.gz
215
+
216
+ 12. **code-review/**
217
+ - **Description:** Automated code review and analysis
218
+ - **Files:** SKILL.md, code-reviewer.md
219
+
220
+ 13. **mcp-builder/**
221
+ - **Description:** Model Context Protocol (MCP) server builder
222
+ - **Files:** SKILL.md, reference/*.md, scripts/*.py
223
+
224
+ 14. **skill-creator/**
225
+ - **Description:** Create new skills for Claude Code
226
+ - **Files:** SKILL.md, scripts/*.py
227
+
228
+ #### Testing & Debugging Skills
229
+
230
+ 15. **condition-based-waiting/**
231
+ - **Description:** Wait for specific conditions in automated tests
232
+ - **Files:** SKILL.md, example.ts
233
+
234
+ 16. **root-cause-tracing/**
235
+ - **Description:** Trace root cause of bugs and issues
236
+ - **Files:** SKILL.md, find-polluter.sh
237
+
238
+ 17. **systematic-debugging/**
239
+ - **Description:** Structured debugging methodology
240
+ - **Files:** SKILL.md, test-*.md
241
+
242
+ 18. **test-driven-development/**
243
+ - **Description:** TDD methodology and implementation
244
+ - **Files:** SKILL.md
245
+
246
+ 19. **testing-anti-patterns/**
247
+ - **Description:** Identify and fix testing anti-patterns
248
+ - **Files:** SKILL.md
249
+
250
+ 20. **webapp-testing/**
251
+ - **Description:** Web application testing with Playwright
252
+ - **Files:** SKILL.md, scripts/*.py, examples/*.py
253
+
254
+ #### Workflow Skills
255
+
256
+ 21. **brainstorming/**
257
+ - **Description:** Facilitated brainstorming sessions
258
+ - **Files:** SKILL.md
259
+
260
+ 22. **verification-before-completion/**
261
+ - **Description:** Pre-completion verification checklist
262
+ - **Files:** SKILL.md
263
+
264
+ ---
265
+
266
+ ## Resources (6 Files)
267
+
268
+ Resources are shared data files referenced by agents.
269
+
270
+ ### 1. agent-teams.yaml
271
+ - **Format:** YAML
272
+ - **Purpose:** Define agent team compositions for workflows
273
+ - **Structure:**
274
+ ```yaml
275
+ teams:
276
+ team-name:
277
+ bundle:
278
+ name: Team Display Name
279
+ icon: "🚀"
280
+ description: Team purpose
281
+ agents:
282
+ - agent-name
283
+ - "*" # wildcard for all agents
284
+ workflows:
285
+ - workflow-file.yaml
286
+ ```
287
+ - **Use Case:** Pre-configured teams (team-all, team-fullstack, team-ide-minimal)
288
+
289
+ ### 2. checklists.md
290
+ - **Format:** Markdown with numbered lists
291
+ - **Purpose:** Reusable checklists for common tasks
292
+ - **Structure:** Markdown headings with task lists
293
+ - **Use Case:** Pre-flight checks, code review, deployment, testing
294
+
295
+ ### 3. data.md
296
+ - **Format:** Markdown with structured sections
297
+ - **Purpose:** Knowledge base and reference data
298
+ - **Structure:** Hierarchical sections with data tables
299
+ - **Use Case:** FAQ, documentation, reference information
300
+
301
+ ### 4. task-briefs.md
302
+ - **Format:** Markdown with task definitions
303
+ - **Purpose:** Pre-defined task templates
304
+ - **Structure:** Task name, description, steps
305
+ - **Use Case:** Common tasks (create-doc, shard-doc, document-project)
306
+
307
+ ### 5. templates.yaml
308
+ - **Format:** YAML
309
+ - **Purpose:** Document templates (PRDs, reports, designs)
310
+ - **Structure:**
311
+ ```yaml
312
+ template-name:
313
+ name: Display Name
314
+ category: Category Name
315
+ description: Template description
316
+ sections:
317
+ - name: Section Name
318
+ content: Template content
319
+ ```
320
+ - **Use Case:** Standardized documents, reports, specifications
321
+
322
+ ### 6. workflows.yaml
323
+ - **Format:** YAML
324
+ - **Purpose:** Multi-step workflow definitions
325
+ - **Structure:**
326
+ ```yaml
327
+ workflow-name:
328
+ name: Workflow Display Name
329
+ description: Workflow purpose
330
+ steps:
331
+ - agent: agent-name
332
+ task: Task description
333
+ ```
334
+ - **Use Case:** Brownfield/greenfield projects, full-stack/service/UI development
335
+
336
+ ---
337
+
338
+ ## Hooks (2 Files)
339
+
340
+ Hooks are JavaScript files that execute at specific lifecycle events.
341
+
342
+ ### 1. register-agents.js
343
+ - **Purpose:** Register agents with Claude Code system
344
+ - **Trigger:** At startup
345
+ - **Functionality:** Loads agent metadata, validates configurations
346
+ - **Integration Point:** Claude Code agent registry
347
+
348
+ ### 2. session-start.js
349
+ - **Purpose:** Initialize session with custom configuration
350
+ - **Trigger:** At session start
351
+ - **Functionality:** Sets up environment, loads preferences, displays welcome
352
+ - **Integration Point:** Claude Code session lifecycle
353
+
354
+ ---
355
+
356
+ ## Agent Prompt Structures
357
+
358
+ All Claude agents follow this structure:
359
+
360
+ ```markdown
361
+ ---
362
+ name: agent-name
363
+ description: Brief description for agent selection
364
+ model: inherit
365
+ color: red
366
+ ---
367
+
368
+ [Introduction paragraph with agent identity]
369
+
370
+ # Core Operating Principles
371
+
372
+ [Numbered list of key principles]
373
+
374
+ # Commands
375
+
376
+ - **\*command-name** - Command description
377
+ - **\*another-command** - Another command
378
+
379
+ # Workflows / Processes
380
+
381
+ [Detailed workflow descriptions]
382
+
383
+ # Important Notes
384
+
385
+ [Critical considerations]
386
+ ```
387
+
388
+ ### Key Conventions:
389
+
390
+ 1. **YAML Front Matter:** Required metadata (name, description, model, color)
391
+ 2. **Commands:** Prefix with `*` for agent-specific commands
392
+ 3. **Markdown Formatting:** Extensive use of headings, lists, code blocks
393
+ 4. **Conversational Tone:** Written for natural conversation with Claude
394
+ 5. **Resource References:** Relative paths to resources (`../resources/`)
395
+ 6. **Numbered Lists:** Preference for numbered lists over bullets
396
+
397
+ ---
398
+
399
+ ## Skill Implementation Patterns
400
+
401
+ Skills follow a standard directory structure:
402
+
403
+ ```
404
+ skill-name/
405
+ ├── SKILL.md # Entry point, usage guide (required)
406
+ ├── LICENSE.txt # License information (if proprietary)
407
+ ├── reference.md # Detailed API/library documentation (optional)
408
+ ├── requirements.txt # Python dependencies (if applicable)
409
+ ├── scripts/ # Implementation scripts (Python, JavaScript, Bash)
410
+ │ ├── __init__.py
411
+ │ └── *.py
412
+ ├── templates/ # Code templates, HTML viewers
413
+ └── examples/ # Usage examples
414
+ ```
415
+
416
+ ### SKILL.md Format:
417
+
418
+ ```markdown
419
+ ---
420
+ name: skill-name
421
+ description: Brief description of skill capabilities
422
+ license: Proprietary/MIT/etc.
423
+ ---
424
+
425
+ # Skill Name
426
+
427
+ ## Overview
428
+
429
+ [What the skill does]
430
+
431
+ ## Quick Start
432
+
433
+ [Simple example]
434
+
435
+ ## Core Features
436
+
437
+ [Detailed feature descriptions with code examples]
438
+
439
+ ## Advanced Usage
440
+
441
+ [Complex scenarios]
442
+ ```
443
+
444
+ ### Patterns:
445
+
446
+ 1. **Python-First:** Most skills use Python for implementation
447
+ 2. **Self-Contained:** All dependencies in requirements.txt
448
+ 3. **Documented Examples:** Examples directory with real usage
449
+ 4. **Markdown Documentation:** Extensive markdown guides
450
+ 5. **Script Organization:** Logical grouping in scripts/ directory
451
+
452
+ ---
453
+
454
+ ## Resource Formats
455
+
456
+ ### YAML Resources (agent-teams.yaml, templates.yaml, workflows.yaml)
457
+
458
+ - **Indentation:** 2 spaces
459
+ - **Structure:** Nested dictionaries and lists
460
+ - **Keys:** lowercase-with-hyphens
461
+ - **Values:** Strings, lists, nested objects
462
+
463
+ ### Markdown Resources (checklists.md, data.md, task-briefs.md)
464
+
465
+ - **Headings:** ATX style (`#`, `##`, `###`)
466
+ - **Lists:** Numbered for steps, bullets for items
467
+ - **Code Blocks:** Triple backticks with language identifier
468
+ - **Structure:** Hierarchical with clear section boundaries
469
+
470
+ ---
471
+
472
+ ## Hook Integration Points
473
+
474
+ Hooks integrate with Claude Code lifecycle:
475
+
476
+ ### Register Agents Hook
477
+ - **Event:** Application startup
478
+ - **Purpose:** Register custom agents with system
479
+ - **Interface:** Exports `registerAgents()` function
480
+ - **Returns:** Agent metadata array
481
+
482
+ ### Session Start Hook
483
+ - **Event:** New conversation session
484
+ - **Purpose:** Session initialization and customization
485
+ - **Interface:** Exports `onSessionStart()` function
486
+ - **Returns:** Session configuration object
487
+
488
+ ---
489
+
490
+ ## Claude-Specific Optimizations
491
+
492
+ The Claude package is optimized for **conversational AI interactions**:
493
+
494
+ ### 1. Conversational Patterns
495
+ - Natural language prompts and responses
496
+ - Command-based interactions (` *command` syntax)
497
+ - Extensive use of markdown for readability
498
+ - Friendly, professional tone
499
+
500
+ ### 2. Markdown-First Approach
501
+ - All documentation in markdown
502
+ - Agents defined in `.md` files
503
+ - Extensive formatting (headings, lists, code blocks)
504
+ - Easy human editing and versioning
505
+
506
+ ### 3. Resource-Driven Architecture
507
+ - Agents reference shared resources at runtime
508
+ - Templates, checklists, tasks as YAML/markdown
509
+ - No hardcoded content in agents
510
+ - Easy customization and updates
511
+
512
+ ### 4. Multi-Agent Collaboration
513
+ - Orchestrator for complex workflows
514
+ - Agent teams for specialized projects
515
+ - Clear delegation patterns
516
+ - Progress tracking and handoffs
517
+
518
+ ### 5. Developer-Friendly
519
+ - Extensive code examples
520
+ - Multiple programming languages supported
521
+ - Clear documentation with examples
522
+ - Testing and debugging skills included
523
+
524
+ ---
525
+
526
+ ## Usage Guidelines
527
+
528
+ When creating packages for other tools (Opencode, Ampcode, Droid):
529
+
530
+ 1. **Keep Agent Structure:** Maintain YAML front matter and command patterns
531
+ 2. **Adapt Content:** Modify agent prompts for tool-specific workflows
532
+ 3. **Preserve Core Skills:** Include the 8 core skills in Standard variant
533
+ 4. **Tool-Specific Skills:** Add/remove skills based on tool focus
534
+ 5. **Update Descriptions:** Reflect tool-specific use cases
535
+ 6. **Maintain Variants:** Keep Lite/Standard/Pro structure
536
+ 7. **Test Integration:** Verify agent and skill functionality
537
+ 8. **Document Changes:** Update descriptions and metadata
538
+
539
+ ---
540
+
541
+ ## Summary
542
+
543
+ **Total Components:**
544
+ - 13 Agents (3 Lite, 13 Standard/Pro)
545
+ - 22 Skills (0 Lite, 8 Standard, 22 Pro)
546
+ - 6 Resources (all variants)
547
+ - 2 Hooks (all variants)
548
+
549
+ **Key Characteristics:**
550
+ - Conversational AI optimized
551
+ - Markdown-first documentation
552
+ - Resource-driven architecture
553
+ - Multi-agent collaboration
554
+ - Comprehensive document processing
555
+ - Developer-focused skills
556
+
557
+ This baseline serves as the foundation for creating consistent, high-quality packages across all agentflow tools.