@every-env/compound-plugin 0.1.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 (226) hide show
  1. package/.claude-plugin/marketplace.json +37 -0
  2. package/.github/workflows/deploy-docs.yml +39 -0
  3. package/AGENTS.md +48 -0
  4. package/CLAUDE.md +380 -0
  5. package/LICENSE +21 -0
  6. package/README.md +65 -0
  7. package/bun.lock +30 -0
  8. package/docs/css/docs.css +675 -0
  9. package/docs/css/style.css +2886 -0
  10. package/docs/index.html +1046 -0
  11. package/docs/js/main.js +225 -0
  12. package/docs/pages/agents.html +649 -0
  13. package/docs/pages/changelog.html +495 -0
  14. package/docs/pages/commands.html +523 -0
  15. package/docs/pages/getting-started.html +582 -0
  16. package/docs/pages/mcp-servers.html +409 -0
  17. package/docs/pages/skills.html +611 -0
  18. package/docs/solutions/plugin-versioning-requirements.md +77 -0
  19. package/docs/specs/claude-code.md +67 -0
  20. package/docs/specs/codex.md +59 -0
  21. package/docs/specs/opencode.md +57 -0
  22. package/package.json +26 -0
  23. package/plans/grow-your-own-garden-plugin-architecture.md +102 -0
  24. package/plans/landing-page-launchkit-refresh.md +279 -0
  25. package/plugins/coding-tutor/.claude-plugin/plugin.json +9 -0
  26. package/plugins/coding-tutor/README.md +37 -0
  27. package/plugins/coding-tutor/commands/quiz-me.md +1 -0
  28. package/plugins/coding-tutor/commands/sync-tutorials.md +25 -0
  29. package/plugins/coding-tutor/commands/teach-me.md +1 -0
  30. package/plugins/coding-tutor/skills/coding-tutor/SKILL.md +214 -0
  31. package/plugins/coding-tutor/skills/coding-tutor/scripts/create_tutorial.py +207 -0
  32. package/plugins/coding-tutor/skills/coding-tutor/scripts/index_tutorials.py +193 -0
  33. package/plugins/coding-tutor/skills/coding-tutor/scripts/quiz_priority.py +190 -0
  34. package/plugins/coding-tutor/skills/coding-tutor/scripts/setup_tutorials.py +118 -0
  35. package/plugins/compound-engineering/.claude-plugin/plugin.json +33 -0
  36. package/plugins/compound-engineering/CHANGELOG.md +393 -0
  37. package/plugins/compound-engineering/CLAUDE.md +90 -0
  38. package/plugins/compound-engineering/LICENSE +21 -0
  39. package/plugins/compound-engineering/README.md +219 -0
  40. package/plugins/compound-engineering/agents/design/design-implementation-reviewer.md +94 -0
  41. package/plugins/compound-engineering/agents/design/design-iterator.md +197 -0
  42. package/plugins/compound-engineering/agents/design/figma-design-sync.md +172 -0
  43. package/plugins/compound-engineering/agents/docs/ankane-readme-writer.md +50 -0
  44. package/plugins/compound-engineering/agents/research/best-practices-researcher.md +100 -0
  45. package/plugins/compound-engineering/agents/research/framework-docs-researcher.md +83 -0
  46. package/plugins/compound-engineering/agents/research/git-history-analyzer.md +42 -0
  47. package/plugins/compound-engineering/agents/research/repo-research-analyst.md +113 -0
  48. package/plugins/compound-engineering/agents/review/agent-native-reviewer.md +246 -0
  49. package/plugins/compound-engineering/agents/review/architecture-strategist.md +52 -0
  50. package/plugins/compound-engineering/agents/review/code-simplicity-reviewer.md +85 -0
  51. package/plugins/compound-engineering/agents/review/data-integrity-guardian.md +70 -0
  52. package/plugins/compound-engineering/agents/review/data-migration-expert.md +97 -0
  53. package/plugins/compound-engineering/agents/review/deployment-verification-agent.md +159 -0
  54. package/plugins/compound-engineering/agents/review/dhh-rails-reviewer.md +45 -0
  55. package/plugins/compound-engineering/agents/review/julik-frontend-races-reviewer.md +222 -0
  56. package/plugins/compound-engineering/agents/review/kieran-python-reviewer.md +104 -0
  57. package/plugins/compound-engineering/agents/review/kieran-rails-reviewer.md +86 -0
  58. package/plugins/compound-engineering/agents/review/kieran-typescript-reviewer.md +95 -0
  59. package/plugins/compound-engineering/agents/review/pattern-recognition-specialist.md +57 -0
  60. package/plugins/compound-engineering/agents/review/performance-oracle.md +110 -0
  61. package/plugins/compound-engineering/agents/review/security-sentinel.md +93 -0
  62. package/plugins/compound-engineering/agents/workflow/bug-reproduction-validator.md +67 -0
  63. package/plugins/compound-engineering/agents/workflow/every-style-editor.md +64 -0
  64. package/plugins/compound-engineering/agents/workflow/lint.md +16 -0
  65. package/plugins/compound-engineering/agents/workflow/pr-comment-resolver.md +69 -0
  66. package/plugins/compound-engineering/agents/workflow/spec-flow-analyzer.md +113 -0
  67. package/plugins/compound-engineering/commands/agent-native-audit.md +277 -0
  68. package/plugins/compound-engineering/commands/changelog.md +137 -0
  69. package/plugins/compound-engineering/commands/create-agent-skill.md +8 -0
  70. package/plugins/compound-engineering/commands/deepen-plan.md +546 -0
  71. package/plugins/compound-engineering/commands/deploy-docs.md +112 -0
  72. package/plugins/compound-engineering/commands/feature-video.md +342 -0
  73. package/plugins/compound-engineering/commands/generate_command.md +162 -0
  74. package/plugins/compound-engineering/commands/heal-skill.md +142 -0
  75. package/plugins/compound-engineering/commands/lfg.md +19 -0
  76. package/plugins/compound-engineering/commands/plan_review.md +7 -0
  77. package/plugins/compound-engineering/commands/release-docs.md +211 -0
  78. package/plugins/compound-engineering/commands/report-bug.md +150 -0
  79. package/plugins/compound-engineering/commands/reproduce-bug.md +99 -0
  80. package/plugins/compound-engineering/commands/resolve_parallel.md +34 -0
  81. package/plugins/compound-engineering/commands/resolve_pr_parallel.md +49 -0
  82. package/plugins/compound-engineering/commands/resolve_todo_parallel.md +35 -0
  83. package/plugins/compound-engineering/commands/test-browser.md +339 -0
  84. package/plugins/compound-engineering/commands/triage.md +310 -0
  85. package/plugins/compound-engineering/commands/workflows/compound.md +202 -0
  86. package/plugins/compound-engineering/commands/workflows/plan.md +466 -0
  87. package/plugins/compound-engineering/commands/workflows/review.md +514 -0
  88. package/plugins/compound-engineering/commands/workflows/work.md +363 -0
  89. package/plugins/compound-engineering/commands/xcode-test.md +331 -0
  90. package/plugins/compound-engineering/skills/agent-browser/SKILL.md +223 -0
  91. package/plugins/compound-engineering/skills/agent-native-architecture/SKILL.md +435 -0
  92. package/plugins/compound-engineering/skills/agent-native-architecture/references/action-parity-discipline.md +409 -0
  93. package/plugins/compound-engineering/skills/agent-native-architecture/references/agent-execution-patterns.md +467 -0
  94. package/plugins/compound-engineering/skills/agent-native-architecture/references/agent-native-testing.md +582 -0
  95. package/plugins/compound-engineering/skills/agent-native-architecture/references/architecture-patterns.md +478 -0
  96. package/plugins/compound-engineering/skills/agent-native-architecture/references/dynamic-context-injection.md +338 -0
  97. package/plugins/compound-engineering/skills/agent-native-architecture/references/files-universal-interface.md +301 -0
  98. package/plugins/compound-engineering/skills/agent-native-architecture/references/from-primitives-to-domain-tools.md +359 -0
  99. package/plugins/compound-engineering/skills/agent-native-architecture/references/mcp-tool-design.md +506 -0
  100. package/plugins/compound-engineering/skills/agent-native-architecture/references/mobile-patterns.md +871 -0
  101. package/plugins/compound-engineering/skills/agent-native-architecture/references/product-implications.md +443 -0
  102. package/plugins/compound-engineering/skills/agent-native-architecture/references/refactoring-to-prompt-native.md +317 -0
  103. package/plugins/compound-engineering/skills/agent-native-architecture/references/self-modification.md +269 -0
  104. package/plugins/compound-engineering/skills/agent-native-architecture/references/shared-workspace-architecture.md +680 -0
  105. package/plugins/compound-engineering/skills/agent-native-architecture/references/system-prompt-design.md +250 -0
  106. package/plugins/compound-engineering/skills/andrew-kane-gem-writer/SKILL.md +184 -0
  107. package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/database-adapters.md +231 -0
  108. package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/module-organization.md +121 -0
  109. package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/rails-integration.md +183 -0
  110. package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/resources.md +119 -0
  111. package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/testing-patterns.md +261 -0
  112. package/plugins/compound-engineering/skills/compound-docs/SKILL.md +510 -0
  113. package/plugins/compound-engineering/skills/compound-docs/assets/critical-pattern-template.md +34 -0
  114. package/plugins/compound-engineering/skills/compound-docs/assets/resolution-template.md +93 -0
  115. package/plugins/compound-engineering/skills/compound-docs/references/yaml-schema.md +65 -0
  116. package/plugins/compound-engineering/skills/compound-docs/schema.yaml +176 -0
  117. package/plugins/compound-engineering/skills/create-agent-skills/SKILL.md +299 -0
  118. package/plugins/compound-engineering/skills/create-agent-skills/references/api-security.md +226 -0
  119. package/plugins/compound-engineering/skills/create-agent-skills/references/be-clear-and-direct.md +531 -0
  120. package/plugins/compound-engineering/skills/create-agent-skills/references/best-practices.md +404 -0
  121. package/plugins/compound-engineering/skills/create-agent-skills/references/common-patterns.md +595 -0
  122. package/plugins/compound-engineering/skills/create-agent-skills/references/core-principles.md +437 -0
  123. package/plugins/compound-engineering/skills/create-agent-skills/references/executable-code.md +175 -0
  124. package/plugins/compound-engineering/skills/create-agent-skills/references/iteration-and-testing.md +474 -0
  125. package/plugins/compound-engineering/skills/create-agent-skills/references/official-spec.md +185 -0
  126. package/plugins/compound-engineering/skills/create-agent-skills/references/recommended-structure.md +168 -0
  127. package/plugins/compound-engineering/skills/create-agent-skills/references/skill-structure.md +372 -0
  128. package/plugins/compound-engineering/skills/create-agent-skills/references/using-scripts.md +113 -0
  129. package/plugins/compound-engineering/skills/create-agent-skills/references/using-templates.md +112 -0
  130. package/plugins/compound-engineering/skills/create-agent-skills/references/workflows-and-validation.md +510 -0
  131. package/plugins/compound-engineering/skills/create-agent-skills/templates/router-skill.md +73 -0
  132. package/plugins/compound-engineering/skills/create-agent-skills/templates/simple-skill.md +33 -0
  133. package/plugins/compound-engineering/skills/create-agent-skills/workflows/add-reference.md +96 -0
  134. package/plugins/compound-engineering/skills/create-agent-skills/workflows/add-script.md +93 -0
  135. package/plugins/compound-engineering/skills/create-agent-skills/workflows/add-template.md +74 -0
  136. package/plugins/compound-engineering/skills/create-agent-skills/workflows/add-workflow.md +120 -0
  137. package/plugins/compound-engineering/skills/create-agent-skills/workflows/audit-skill.md +138 -0
  138. package/plugins/compound-engineering/skills/create-agent-skills/workflows/create-domain-expertise-skill.md +605 -0
  139. package/plugins/compound-engineering/skills/create-agent-skills/workflows/create-new-skill.md +191 -0
  140. package/plugins/compound-engineering/skills/create-agent-skills/workflows/get-guidance.md +121 -0
  141. package/plugins/compound-engineering/skills/create-agent-skills/workflows/upgrade-to-router.md +161 -0
  142. package/plugins/compound-engineering/skills/create-agent-skills/workflows/verify-skill.md +204 -0
  143. package/plugins/compound-engineering/skills/dhh-rails-style/SKILL.md +185 -0
  144. package/plugins/compound-engineering/skills/dhh-rails-style/references/architecture.md +653 -0
  145. package/plugins/compound-engineering/skills/dhh-rails-style/references/controllers.md +303 -0
  146. package/plugins/compound-engineering/skills/dhh-rails-style/references/frontend.md +510 -0
  147. package/plugins/compound-engineering/skills/dhh-rails-style/references/gems.md +266 -0
  148. package/plugins/compound-engineering/skills/dhh-rails-style/references/models.md +359 -0
  149. package/plugins/compound-engineering/skills/dhh-rails-style/references/testing.md +338 -0
  150. package/plugins/compound-engineering/skills/dspy-ruby/SKILL.md +594 -0
  151. package/plugins/compound-engineering/skills/dspy-ruby/assets/config-template.rb +359 -0
  152. package/plugins/compound-engineering/skills/dspy-ruby/assets/module-template.rb +326 -0
  153. package/plugins/compound-engineering/skills/dspy-ruby/assets/signature-template.rb +143 -0
  154. package/plugins/compound-engineering/skills/dspy-ruby/references/core-concepts.md +265 -0
  155. package/plugins/compound-engineering/skills/dspy-ruby/references/optimization.md +623 -0
  156. package/plugins/compound-engineering/skills/dspy-ruby/references/providers.md +338 -0
  157. package/plugins/compound-engineering/skills/every-style-editor/SKILL.md +134 -0
  158. package/plugins/compound-engineering/skills/every-style-editor/references/EVERY_WRITE_STYLE.md +529 -0
  159. package/plugins/compound-engineering/skills/file-todos/SKILL.md +251 -0
  160. package/plugins/compound-engineering/skills/file-todos/assets/todo-template.md +155 -0
  161. package/plugins/compound-engineering/skills/frontend-design/SKILL.md +42 -0
  162. package/plugins/compound-engineering/skills/gemini-imagegen/SKILL.md +237 -0
  163. package/plugins/compound-engineering/skills/gemini-imagegen/requirements.txt +2 -0
  164. package/plugins/compound-engineering/skills/gemini-imagegen/scripts/compose_images.py +157 -0
  165. package/plugins/compound-engineering/skills/gemini-imagegen/scripts/edit_image.py +144 -0
  166. package/plugins/compound-engineering/skills/gemini-imagegen/scripts/gemini_images.py +263 -0
  167. package/plugins/compound-engineering/skills/gemini-imagegen/scripts/generate_image.py +133 -0
  168. package/plugins/compound-engineering/skills/gemini-imagegen/scripts/multi_turn_chat.py +216 -0
  169. package/plugins/compound-engineering/skills/git-worktree/SKILL.md +302 -0
  170. package/plugins/compound-engineering/skills/git-worktree/scripts/worktree-manager.sh +345 -0
  171. package/plugins/compound-engineering/skills/rclone/SKILL.md +150 -0
  172. package/plugins/compound-engineering/skills/rclone/scripts/check_setup.sh +60 -0
  173. package/plugins/compound-engineering/skills/skill-creator/SKILL.md +209 -0
  174. package/plugins/compound-engineering/skills/skill-creator/scripts/init_skill.py +303 -0
  175. package/plugins/compound-engineering/skills/skill-creator/scripts/package_skill.py +110 -0
  176. package/plugins/compound-engineering/skills/skill-creator/scripts/quick_validate.py +65 -0
  177. package/src/commands/convert.ts +156 -0
  178. package/src/commands/install.ts +221 -0
  179. package/src/commands/list.ts +37 -0
  180. package/src/converters/claude-to-codex.ts +124 -0
  181. package/src/converters/claude-to-opencode.ts +392 -0
  182. package/src/index.ts +20 -0
  183. package/src/parsers/claude.ts +248 -0
  184. package/src/targets/codex.ts +91 -0
  185. package/src/targets/index.ts +29 -0
  186. package/src/targets/opencode.ts +48 -0
  187. package/src/types/claude.ts +88 -0
  188. package/src/types/codex.ts +23 -0
  189. package/src/types/opencode.ts +54 -0
  190. package/src/utils/codex-agents.ts +64 -0
  191. package/src/utils/files.ts +64 -0
  192. package/src/utils/frontmatter.ts +65 -0
  193. package/tests/claude-parser.test.ts +89 -0
  194. package/tests/cli.test.ts +289 -0
  195. package/tests/codex-agents.test.ts +62 -0
  196. package/tests/codex-converter.test.ts +121 -0
  197. package/tests/codex-writer.test.ts +76 -0
  198. package/tests/converter.test.ts +171 -0
  199. package/tests/fixtures/custom-paths/.claude-plugin/plugin.json +8 -0
  200. package/tests/fixtures/custom-paths/agents/default-agent.md +5 -0
  201. package/tests/fixtures/custom-paths/commands/default-command.md +5 -0
  202. package/tests/fixtures/custom-paths/custom-agents/custom-agent.md +5 -0
  203. package/tests/fixtures/custom-paths/custom-commands/custom-command.md +5 -0
  204. package/tests/fixtures/custom-paths/custom-hooks/hooks.json +7 -0
  205. package/tests/fixtures/custom-paths/custom-skills/custom-skill/SKILL.md +5 -0
  206. package/tests/fixtures/custom-paths/hooks/hooks.json +7 -0
  207. package/tests/fixtures/custom-paths/skills/default-skill/SKILL.md +5 -0
  208. package/tests/fixtures/invalid-command-path/.claude-plugin/plugin.json +5 -0
  209. package/tests/fixtures/invalid-hooks-path/.claude-plugin/plugin.json +5 -0
  210. package/tests/fixtures/invalid-mcp-path/.claude-plugin/plugin.json +5 -0
  211. package/tests/fixtures/mcp-file/.claude-plugin/plugin.json +5 -0
  212. package/tests/fixtures/mcp-file/.mcp.json +6 -0
  213. package/tests/fixtures/sample-plugin/.claude-plugin/plugin.json +30 -0
  214. package/tests/fixtures/sample-plugin/agents/agent-one.md +10 -0
  215. package/tests/fixtures/sample-plugin/agents/security-reviewer.md +7 -0
  216. package/tests/fixtures/sample-plugin/commands/command-one.md +7 -0
  217. package/tests/fixtures/sample-plugin/commands/model-command.md +8 -0
  218. package/tests/fixtures/sample-plugin/commands/nested/command-two.md +9 -0
  219. package/tests/fixtures/sample-plugin/commands/pattern-command.md +7 -0
  220. package/tests/fixtures/sample-plugin/commands/skill-command.md +7 -0
  221. package/tests/fixtures/sample-plugin/commands/todo-command.md +7 -0
  222. package/tests/fixtures/sample-plugin/hooks/hooks.json +156 -0
  223. package/tests/fixtures/sample-plugin/skills/skill-one/SKILL.md +6 -0
  224. package/tests/frontmatter.test.ts +20 -0
  225. package/tests/opencode-writer.test.ts +62 -0
  226. package/tsconfig.json +14 -0
@@ -0,0 +1,211 @@
1
+ ---
2
+ name: release-docs
3
+ description: Build and update the documentation site with current plugin components
4
+ argument-hint: "[optional: --dry-run to preview changes without writing]"
5
+ ---
6
+
7
+ # Release Documentation Command
8
+
9
+ You are a documentation generator for the compound-engineering plugin. Your job is to ensure the documentation site at `plugins/compound-engineering/docs/` is always up-to-date with the actual plugin components.
10
+
11
+ ## Overview
12
+
13
+ The documentation site is a static HTML/CSS/JS site based on the Evil Martians LaunchKit template. It needs to be regenerated whenever:
14
+
15
+ - Agents are added, removed, or modified
16
+ - Commands are added, removed, or modified
17
+ - Skills are added, removed, or modified
18
+ - MCP servers are added, removed, or modified
19
+
20
+ ## Step 1: Inventory Current Components
21
+
22
+ First, count and list all current components:
23
+
24
+ ```bash
25
+ # Count agents
26
+ ls plugins/compound-engineering/agents/*.md | wc -l
27
+
28
+ # Count commands
29
+ ls plugins/compound-engineering/commands/*.md | wc -l
30
+
31
+ # Count skills
32
+ ls -d plugins/compound-engineering/skills/*/ 2>/dev/null | wc -l
33
+
34
+ # Count MCP servers
35
+ ls -d plugins/compound-engineering/mcp-servers/*/ 2>/dev/null | wc -l
36
+ ```
37
+
38
+ Read all component files to get their metadata:
39
+
40
+ ### Agents
41
+ For each agent file in `plugins/compound-engineering/agents/*.md`:
42
+ - Extract the frontmatter (name, description)
43
+ - Note the category (Review, Research, Workflow, Design, Docs)
44
+ - Get key responsibilities from the content
45
+
46
+ ### Commands
47
+ For each command file in `plugins/compound-engineering/commands/*.md`:
48
+ - Extract the frontmatter (name, description, argument-hint)
49
+ - Categorize as Workflow or Utility command
50
+
51
+ ### Skills
52
+ For each skill directory in `plugins/compound-engineering/skills/*/`:
53
+ - Read the SKILL.md file for frontmatter (name, description)
54
+ - Note any scripts or supporting files
55
+
56
+ ### MCP Servers
57
+ For each MCP server in `plugins/compound-engineering/mcp-servers/*/`:
58
+ - Read the configuration and README
59
+ - List the tools provided
60
+
61
+ ## Step 2: Update Documentation Pages
62
+
63
+ ### 2a. Update `docs/index.html`
64
+
65
+ Update the stats section with accurate counts:
66
+ ```html
67
+ <div class="stats-grid">
68
+ <div class="stat-card">
69
+ <span class="stat-number">[AGENT_COUNT]</span>
70
+ <span class="stat-label">Specialized Agents</span>
71
+ </div>
72
+ <!-- Update all stat cards -->
73
+ </div>
74
+ ```
75
+
76
+ Ensure the component summary sections list key components accurately.
77
+
78
+ ### 2b. Update `docs/pages/agents.html`
79
+
80
+ Regenerate the complete agents reference page:
81
+ - Group agents by category (Review, Research, Workflow, Design, Docs)
82
+ - Include for each agent:
83
+ - Name and description
84
+ - Key responsibilities (bullet list)
85
+ - Usage example: `claude agent [agent-name] "your message"`
86
+ - Use cases
87
+
88
+ ### 2c. Update `docs/pages/commands.html`
89
+
90
+ Regenerate the complete commands reference page:
91
+ - Group commands by type (Workflow, Utility)
92
+ - Include for each command:
93
+ - Name and description
94
+ - Arguments (if any)
95
+ - Process/workflow steps
96
+ - Example usage
97
+
98
+ ### 2d. Update `docs/pages/skills.html`
99
+
100
+ Regenerate the complete skills reference page:
101
+ - Group skills by category (Development Tools, Content & Workflow, Image Generation)
102
+ - Include for each skill:
103
+ - Name and description
104
+ - Usage: `claude skill [skill-name]`
105
+ - Features and capabilities
106
+
107
+ ### 2e. Update `docs/pages/mcp-servers.html`
108
+
109
+ Regenerate the MCP servers reference page:
110
+ - For each server:
111
+ - Name and purpose
112
+ - Tools provided
113
+ - Configuration details
114
+ - Supported frameworks/services
115
+
116
+ ## Step 3: Update Metadata Files
117
+
118
+ Ensure counts are consistent across:
119
+
120
+ 1. **`plugins/compound-engineering/.claude-plugin/plugin.json`**
121
+ - Update `description` with correct counts
122
+ - Update `components` object with counts
123
+ - Update `agents`, `commands` arrays with current items
124
+
125
+ 2. **`.claude-plugin/marketplace.json`**
126
+ - Update plugin `description` with correct counts
127
+
128
+ 3. **`plugins/compound-engineering/README.md`**
129
+ - Update intro paragraph with counts
130
+ - Update component lists
131
+
132
+ ## Step 4: Validate
133
+
134
+ Run validation checks:
135
+
136
+ ```bash
137
+ # Validate JSON files
138
+ cat .claude-plugin/marketplace.json | jq .
139
+ cat plugins/compound-engineering/.claude-plugin/plugin.json | jq .
140
+
141
+ # Verify counts match
142
+ echo "Agents in files: $(ls plugins/compound-engineering/agents/*.md | wc -l)"
143
+ grep -o "[0-9]* specialized agents" plugins/compound-engineering/docs/index.html
144
+
145
+ echo "Commands in files: $(ls plugins/compound-engineering/commands/*.md | wc -l)"
146
+ grep -o "[0-9]* slash commands" plugins/compound-engineering/docs/index.html
147
+ ```
148
+
149
+ ## Step 5: Report Changes
150
+
151
+ Provide a summary of what was updated:
152
+
153
+ ```
154
+ ## Documentation Release Summary
155
+
156
+ ### Component Counts
157
+ - Agents: X (previously Y)
158
+ - Commands: X (previously Y)
159
+ - Skills: X (previously Y)
160
+ - MCP Servers: X (previously Y)
161
+
162
+ ### Files Updated
163
+ - docs/index.html - Updated stats and component summaries
164
+ - docs/pages/agents.html - Regenerated with X agents
165
+ - docs/pages/commands.html - Regenerated with X commands
166
+ - docs/pages/skills.html - Regenerated with X skills
167
+ - docs/pages/mcp-servers.html - Regenerated with X servers
168
+ - plugin.json - Updated counts and component lists
169
+ - marketplace.json - Updated description
170
+ - README.md - Updated component lists
171
+
172
+ ### New Components Added
173
+ - [List any new agents/commands/skills]
174
+
175
+ ### Components Removed
176
+ - [List any removed agents/commands/skills]
177
+ ```
178
+
179
+ ## Dry Run Mode
180
+
181
+ If `--dry-run` is specified:
182
+ - Perform all inventory and validation steps
183
+ - Report what WOULD be updated
184
+ - Do NOT write any files
185
+ - Show diff previews of proposed changes
186
+
187
+ ## Error Handling
188
+
189
+ - If component files have invalid frontmatter, report the error and skip
190
+ - If JSON validation fails, report and abort
191
+ - Always maintain a valid state - don't partially update
192
+
193
+ ## Post-Release
194
+
195
+ After successful release:
196
+ 1. Suggest updating CHANGELOG.md with documentation changes
197
+ 2. Remind to commit with message: `docs: Update documentation site to match plugin components`
198
+ 3. Remind to push changes
199
+
200
+ ## Usage Examples
201
+
202
+ ```bash
203
+ # Full documentation release
204
+ claude /release-docs
205
+
206
+ # Preview changes without writing
207
+ claude /release-docs --dry-run
208
+
209
+ # After adding new agents
210
+ claude /release-docs
211
+ ```
@@ -0,0 +1,150 @@
1
+ ---
2
+ name: report-bug
3
+ description: Report a bug in the compound-engineering plugin
4
+ argument-hint: "[optional: brief description of the bug]"
5
+ ---
6
+
7
+ # Report a Compounding Engineering Plugin Bug
8
+
9
+ Report bugs encountered while using the compound-engineering plugin. This command gathers structured information and creates a GitHub issue for the maintainer.
10
+
11
+ ## Step 1: Gather Bug Information
12
+
13
+ Use the AskUserQuestion tool to collect the following information:
14
+
15
+ **Question 1: Bug Category**
16
+ - What type of issue are you experiencing?
17
+ - Options: Agent not working, Command not working, Skill not working, MCP server issue, Installation problem, Other
18
+
19
+ **Question 2: Specific Component**
20
+ - Which specific component is affected?
21
+ - Ask for the name of the agent, command, skill, or MCP server
22
+
23
+ **Question 3: What Happened (Actual Behavior)**
24
+ - Ask: "What happened when you used this component?"
25
+ - Get a clear description of the actual behavior
26
+
27
+ **Question 4: What Should Have Happened (Expected Behavior)**
28
+ - Ask: "What did you expect to happen instead?"
29
+ - Get a clear description of expected behavior
30
+
31
+ **Question 5: Steps to Reproduce**
32
+ - Ask: "What steps did you take before the bug occurred?"
33
+ - Get reproduction steps
34
+
35
+ **Question 6: Error Messages**
36
+ - Ask: "Did you see any error messages? If so, please share them."
37
+ - Capture any error output
38
+
39
+ ## Step 2: Collect Environment Information
40
+
41
+ Automatically gather:
42
+ ```bash
43
+ # Get plugin version
44
+ cat ~/.claude/plugins/installed_plugins.json 2>/dev/null | grep -A5 "compound-engineering" | head -10 || echo "Plugin info not found"
45
+
46
+ # Get Claude Code version
47
+ claude --version 2>/dev/null || echo "Claude CLI version unknown"
48
+
49
+ # Get OS info
50
+ uname -a
51
+ ```
52
+
53
+ ## Step 3: Format the Bug Report
54
+
55
+ Create a well-structured bug report with:
56
+
57
+ ```markdown
58
+ ## Bug Description
59
+
60
+ **Component:** [Type] - [Name]
61
+ **Summary:** [Brief description from argument or collected info]
62
+
63
+ ## Environment
64
+
65
+ - **Plugin Version:** [from installed_plugins.json]
66
+ - **Claude Code Version:** [from claude --version]
67
+ - **OS:** [from uname]
68
+
69
+ ## What Happened
70
+
71
+ [Actual behavior description]
72
+
73
+ ## Expected Behavior
74
+
75
+ [Expected behavior description]
76
+
77
+ ## Steps to Reproduce
78
+
79
+ 1. [Step 1]
80
+ 2. [Step 2]
81
+ 3. [Step 3]
82
+
83
+ ## Error Messages
84
+
85
+ ```
86
+ [Any error output]
87
+ ```
88
+
89
+ ## Additional Context
90
+
91
+ [Any other relevant information]
92
+
93
+ ---
94
+ *Reported via `/report-bug` command*
95
+ ```
96
+
97
+ ## Step 4: Create GitHub Issue
98
+
99
+ Use the GitHub CLI to create the issue:
100
+
101
+ ```bash
102
+ gh issue create \
103
+ --repo kieranklaassen/every-marketplace \
104
+ --title "[compound-engineering] Bug: [Brief description]" \
105
+ --body "[Formatted bug report from Step 3]" \
106
+ --label "bug,compound-engineering"
107
+ ```
108
+
109
+ **Note:** If labels don't exist, create without labels:
110
+ ```bash
111
+ gh issue create \
112
+ --repo kieranklaassen/every-marketplace \
113
+ --title "[compound-engineering] Bug: [Brief description]" \
114
+ --body "[Formatted bug report]"
115
+ ```
116
+
117
+ ## Step 5: Confirm Submission
118
+
119
+ After the issue is created:
120
+ 1. Display the issue URL to the user
121
+ 2. Thank them for reporting the bug
122
+ 3. Let them know the maintainer (Kieran Klaassen) will be notified
123
+
124
+ ## Output Format
125
+
126
+ ```
127
+ ✅ Bug report submitted successfully!
128
+
129
+ Issue: https://github.com/kieranklaassen/every-marketplace/issues/[NUMBER]
130
+ Title: [compound-engineering] Bug: [description]
131
+
132
+ Thank you for helping improve the compound-engineering plugin!
133
+ The maintainer will review your report and respond as soon as possible.
134
+ ```
135
+
136
+ ## Error Handling
137
+
138
+ - If `gh` CLI is not authenticated: Prompt user to run `gh auth login` first
139
+ - If issue creation fails: Display the formatted report so user can manually create the issue
140
+ - If required information is missing: Re-prompt for that specific field
141
+
142
+ ## Privacy Notice
143
+
144
+ This command does NOT collect:
145
+ - Personal information
146
+ - API keys or credentials
147
+ - Private code from your projects
148
+ - File paths beyond basic OS info
149
+
150
+ Only technical information about the bug is included in the report.
@@ -0,0 +1,99 @@
1
+ ---
2
+ name: reproduce-bug
3
+ description: Reproduce and investigate a bug using logs, console inspection, and browser screenshots
4
+ argument-hint: "[GitHub issue number]"
5
+ ---
6
+
7
+ # Reproduce Bug Command
8
+
9
+ Look at github issue #$ARGUMENTS and read the issue description and comments.
10
+
11
+ ## Phase 1: Log Investigation
12
+
13
+ Run the following agents in parallel to investigate the bug:
14
+
15
+ 1. Task rails-console-explorer(issue_description)
16
+ 2. Task appsignal-log-investigator(issue_description)
17
+
18
+ Think about the places it could go wrong looking at the codebase. Look for logging output we can look for.
19
+
20
+ Run the agents again to find any logs that could help us reproduce the bug.
21
+
22
+ Keep running these agents until you have a good idea of what is going on.
23
+
24
+ ## Phase 2: Visual Reproduction with Playwright
25
+
26
+ If the bug is UI-related or involves user flows, use Playwright to visually reproduce it:
27
+
28
+ ### Step 1: Verify Server is Running
29
+
30
+ ```
31
+ mcp__plugin_compound-engineering_pw__browser_navigate({ url: "http://localhost:3000" })
32
+ mcp__plugin_compound-engineering_pw__browser_snapshot({})
33
+ ```
34
+
35
+ If server not running, inform user to start `bin/dev`.
36
+
37
+ ### Step 2: Navigate to Affected Area
38
+
39
+ Based on the issue description, navigate to the relevant page:
40
+
41
+ ```
42
+ mcp__plugin_compound-engineering_pw__browser_navigate({ url: "http://localhost:3000/[affected_route]" })
43
+ mcp__plugin_compound-engineering_pw__browser_snapshot({})
44
+ ```
45
+
46
+ ### Step 3: Capture Screenshots
47
+
48
+ Take screenshots at each step of reproducing the bug:
49
+
50
+ ```
51
+ mcp__plugin_compound-engineering_pw__browser_take_screenshot({ filename: "bug-[issue]-step-1.png" })
52
+ ```
53
+
54
+ ### Step 4: Follow User Flow
55
+
56
+ Reproduce the exact steps from the issue:
57
+
58
+ 1. **Read the issue's reproduction steps**
59
+ 2. **Execute each step using Playwright:**
60
+ - `browser_click` for clicking elements
61
+ - `browser_type` for filling forms
62
+ - `browser_snapshot` to see the current state
63
+ - `browser_take_screenshot` to capture evidence
64
+
65
+ 3. **Check for console errors:**
66
+ ```
67
+ mcp__plugin_compound-engineering_pw__browser_console_messages({ level: "error" })
68
+ ```
69
+
70
+ ### Step 5: Capture Bug State
71
+
72
+ When you reproduce the bug:
73
+
74
+ 1. Take a screenshot of the bug state
75
+ 2. Capture console errors
76
+ 3. Document the exact steps that triggered it
77
+
78
+ ```
79
+ mcp__plugin_compound-engineering_pw__browser_take_screenshot({ filename: "bug-[issue]-reproduced.png" })
80
+ ```
81
+
82
+ ## Phase 3: Document Findings
83
+
84
+ **Reference Collection:**
85
+
86
+ - [ ] Document all research findings with specific file paths (e.g., `app/services/example_service.rb:42`)
87
+ - [ ] Include screenshots showing the bug reproduction
88
+ - [ ] List console errors if any
89
+ - [ ] Document the exact reproduction steps
90
+
91
+ ## Phase 4: Report Back
92
+
93
+ Add a comment to the issue with:
94
+
95
+ 1. **Findings** - What you discovered about the cause
96
+ 2. **Reproduction Steps** - Exact steps to reproduce (verified)
97
+ 3. **Screenshots** - Visual evidence of the bug (upload captured screenshots)
98
+ 4. **Relevant Code** - File paths and line numbers
99
+ 5. **Suggested Fix** - If you have one
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: resolve_parallel
3
+ description: Resolve all TODO comments using parallel processing
4
+ argument-hint: "[optional: specific TODO pattern or file]"
5
+ ---
6
+
7
+ Resolve all TODO comments using parallel processing.
8
+
9
+ ## Workflow
10
+
11
+ ### 1. Analyze
12
+
13
+ Gather the things todo from above.
14
+
15
+ ### 2. Plan
16
+
17
+ Create a TodoWrite list of all unresolved items grouped by type.Make sure to look at dependencies that might occur and prioritize the ones needed by others. For example, if you need to change a name, you must wait to do the others. Output a mermaid flow diagram showing how we can do this. Can we do everything in parallel? Do we need to do one first that leads to others in parallel? I'll put the to-dos in the mermaid diagram flow‑wise so the agent knows how to proceed in order.
18
+
19
+ ### 3. Implement (PARALLEL)
20
+
21
+ Spawn a pr-comment-resolver agent for each unresolved item in parallel.
22
+
23
+ So if there are 3 comments, it will spawn 3 pr-comment-resolver agents in parallel. liek this
24
+
25
+ 1. Task pr-comment-resolver(comment1)
26
+ 2. Task pr-comment-resolver(comment2)
27
+ 3. Task pr-comment-resolver(comment3)
28
+
29
+ Always run all in parallel subagents/Tasks for each Todo item.
30
+
31
+ ### 4. Commit & Resolve
32
+
33
+ - Commit changes
34
+ - Push to remote
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: resolve_pr_parallel
3
+ description: Resolve all PR comments using parallel processing
4
+ argument-hint: "[optional: PR number or current PR]"
5
+ ---
6
+
7
+ Resolve all PR comments using parallel processing.
8
+
9
+ Claude Code automatically detects and understands your git context:
10
+
11
+ - Current branch detection
12
+ - Associated PR context
13
+ - All PR comments and review threads
14
+ - Can work with any PR by specifying the PR number, or ask it.
15
+
16
+ ## Workflow
17
+
18
+ ### 1. Analyze
19
+
20
+ Get all unresolved comments for PR
21
+
22
+ ```bash
23
+ gh pr status
24
+ bin/get-pr-comments PR_NUMBER
25
+ ```
26
+
27
+ ### 2. Plan
28
+
29
+ Create a TodoWrite list of all unresolved items grouped by type.
30
+
31
+ ### 3. Implement (PARALLEL)
32
+
33
+ Spawn a pr-comment-resolver agent for each unresolved item in parallel.
34
+
35
+ So if there are 3 comments, it will spawn 3 pr-comment-resolver agents in parallel. liek this
36
+
37
+ 1. Task pr-comment-resolver(comment1)
38
+ 2. Task pr-comment-resolver(comment2)
39
+ 3. Task pr-comment-resolver(comment3)
40
+
41
+ Always run all in parallel subagents/Tasks for each Todo item.
42
+
43
+ ### 4. Commit & Resolve
44
+
45
+ - Commit changes
46
+ - Run bin/resolve-pr-thread THREAD_ID_1
47
+ - Push to remote
48
+
49
+ Last, check bin/get-pr-comments PR_NUMBER again to see if all comments are resolved. They should be, if not, repeat the process from 1.
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: resolve_todo_parallel
3
+ description: Resolve all pending CLI todos using parallel processing
4
+ argument-hint: "[optional: specific todo ID or pattern]"
5
+ ---
6
+
7
+ Resolve all TODO comments using parallel processing.
8
+
9
+ ## Workflow
10
+
11
+ ### 1. Analyze
12
+
13
+ Get all unresolved TODOs from the /todos/\*.md directory
14
+
15
+ ### 2. Plan
16
+
17
+ Create a TodoWrite list of all unresolved items grouped by type.Make sure to look at dependencies that might occur and prioritize the ones needed by others. For example, if you need to change a name, you must wait to do the others. Output a mermaid flow diagram showing how we can do this. Can we do everything in parallel? Do we need to do one first that leads to others in parallel? I'll put the to-dos in the mermaid diagram flow‑wise so the agent knows how to proceed in order.
18
+
19
+ ### 3. Implement (PARALLEL)
20
+
21
+ Spawn a pr-comment-resolver agent for each unresolved item in parallel.
22
+
23
+ So if there are 3 comments, it will spawn 3 pr-comment-resolver agents in parallel. liek this
24
+
25
+ 1. Task pr-comment-resolver(comment1)
26
+ 2. Task pr-comment-resolver(comment2)
27
+ 3. Task pr-comment-resolver(comment3)
28
+
29
+ Always run all in parallel subagents/Tasks for each Todo item.
30
+
31
+ ### 4. Commit & Resolve
32
+
33
+ - Commit changes
34
+ - Remove the TODO from the file, and mark it as resolved.
35
+ - Push to remote