@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,219 @@
1
+ # Compounding Engineering Plugin
2
+
3
+ AI-powered development tools that get smarter with every use. Make each unit of engineering work easier than the last.
4
+
5
+ ## Components
6
+
7
+ | Component | Count |
8
+ |-----------|-------|
9
+ | Agents | 27 |
10
+ | Commands | 20 |
11
+ | Skills | 14 |
12
+ | MCP Servers | 1 |
13
+
14
+ ## Agents
15
+
16
+ Agents are organized into categories for easier discovery.
17
+
18
+ ### Review (14)
19
+
20
+ | Agent | Description |
21
+ |-------|-------------|
22
+ | `agent-native-reviewer` | Verify features are agent-native (action + context parity) |
23
+ | `architecture-strategist` | Analyze architectural decisions and compliance |
24
+ | `code-simplicity-reviewer` | Final pass for simplicity and minimalism |
25
+ | `data-integrity-guardian` | Database migrations and data integrity |
26
+ | `data-migration-expert` | Validate ID mappings match production, check for swapped values |
27
+ | `deployment-verification-agent` | Create Go/No-Go deployment checklists for risky data changes |
28
+ | `dhh-rails-reviewer` | Rails review from DHH's perspective |
29
+ | `kieran-rails-reviewer` | Rails code review with strict conventions |
30
+ | `kieran-python-reviewer` | Python code review with strict conventions |
31
+ | `kieran-typescript-reviewer` | TypeScript code review with strict conventions |
32
+ | `pattern-recognition-specialist` | Analyze code for patterns and anti-patterns |
33
+ | `performance-oracle` | Performance analysis and optimization |
34
+ | `security-sentinel` | Security audits and vulnerability assessments |
35
+ | `julik-frontend-races-reviewer` | Review JavaScript/Stimulus code for race conditions |
36
+
37
+ ### Research (4)
38
+
39
+ | Agent | Description |
40
+ |-------|-------------|
41
+ | `best-practices-researcher` | Gather external best practices and examples |
42
+ | `framework-docs-researcher` | Research framework documentation and best practices |
43
+ | `git-history-analyzer` | Analyze git history and code evolution |
44
+ | `repo-research-analyst` | Research repository structure and conventions |
45
+
46
+ ### Design (3)
47
+
48
+ | Agent | Description |
49
+ |-------|-------------|
50
+ | `design-implementation-reviewer` | Verify UI implementations match Figma designs |
51
+ | `design-iterator` | Iteratively refine UI through systematic design iterations |
52
+ | `figma-design-sync` | Synchronize web implementations with Figma designs |
53
+
54
+ ### Workflow (5)
55
+
56
+ | Agent | Description |
57
+ |-------|-------------|
58
+ | `bug-reproduction-validator` | Systematically reproduce and validate bug reports |
59
+ | `every-style-editor` | Edit content to conform to Every's style guide |
60
+ | `lint` | Run linting and code quality checks on Ruby and ERB files |
61
+ | `pr-comment-resolver` | Address PR comments and implement fixes |
62
+ | `spec-flow-analyzer` | Analyze user flows and identify gaps in specifications |
63
+
64
+ ### Docs (1)
65
+
66
+ | Agent | Description |
67
+ |-------|-------------|
68
+ | `ankane-readme-writer` | Create READMEs following Ankane-style template for Ruby gems |
69
+
70
+ ## Commands
71
+
72
+ ### Workflow Commands
73
+
74
+ Core workflow commands use `workflows:` prefix to avoid collisions with built-in commands:
75
+
76
+ | Command | Description |
77
+ |---------|-------------|
78
+ | `/workflows:plan` | Create implementation plans |
79
+ | `/workflows:review` | Run comprehensive code reviews |
80
+ | `/workflows:work` | Execute work items systematically |
81
+ | `/workflows:compound` | Document solved problems to compound team knowledge |
82
+
83
+ ### Utility Commands
84
+
85
+ | Command | Description |
86
+ |---------|-------------|
87
+ | `/deepen-plan` | Enhance plans with parallel research agents for each section |
88
+ | `/changelog` | Create engaging changelogs for recent merges |
89
+ | `/create-agent-skill` | Create or edit Claude Code skills |
90
+ | `/generate_command` | Generate new slash commands |
91
+ | `/heal-skill` | Fix skill documentation issues |
92
+ | `/plan_review` | Multi-agent plan review in parallel |
93
+ | `/report-bug` | Report a bug in the plugin |
94
+ | `/reproduce-bug` | Reproduce bugs using logs and console |
95
+ | `/resolve_parallel` | Resolve TODO comments in parallel |
96
+ | `/resolve_pr_parallel` | Resolve PR comments in parallel |
97
+ | `/resolve_todo_parallel` | Resolve todos in parallel |
98
+ | `/triage` | Triage and prioritize issues |
99
+ | `/test-browser` | Run browser tests on PR-affected pages |
100
+ | `/xcode-test` | Build and test iOS apps on simulator |
101
+ | `/feature-video` | Record video walkthroughs and add to PR description |
102
+
103
+ ## Skills
104
+
105
+ ### Architecture & Design
106
+
107
+ | Skill | Description |
108
+ |-------|-------------|
109
+ | `agent-native-architecture` | Build AI agents using prompt-native architecture |
110
+
111
+ ### Development Tools
112
+
113
+ | Skill | Description |
114
+ |-------|-------------|
115
+ | `andrew-kane-gem-writer` | Write Ruby gems following Andrew Kane's patterns |
116
+ | `compound-docs` | Capture solved problems as categorized documentation |
117
+ | `create-agent-skills` | Expert guidance for creating Claude Code skills |
118
+ | `dhh-rails-style` | Write Ruby/Rails code in DHH's 37signals style |
119
+ | `dspy-ruby` | Build type-safe LLM applications with DSPy.rb |
120
+ | `frontend-design` | Create production-grade frontend interfaces |
121
+ | `skill-creator` | Guide for creating effective Claude Code skills |
122
+
123
+ ### Content & Workflow
124
+
125
+ | Skill | Description |
126
+ |-------|-------------|
127
+ | `every-style-editor` | Review copy for Every's style guide compliance |
128
+ | `file-todos` | File-based todo tracking system |
129
+ | `git-worktree` | Manage Git worktrees for parallel development |
130
+
131
+ ### File Transfer
132
+
133
+ | Skill | Description |
134
+ |-------|-------------|
135
+ | `rclone` | Upload files to S3, Cloudflare R2, Backblaze B2, and cloud storage |
136
+
137
+ ### Browser Automation
138
+
139
+ | Skill | Description |
140
+ |-------|-------------|
141
+ | `agent-browser` | CLI-based browser automation using Vercel's agent-browser |
142
+
143
+ ### Image Generation
144
+
145
+ | Skill | Description |
146
+ |-------|-------------|
147
+ | `gemini-imagegen` | Generate and edit images using Google's Gemini API |
148
+
149
+ **gemini-imagegen features:**
150
+ - Text-to-image generation
151
+ - Image editing and manipulation
152
+ - Multi-turn refinement
153
+ - Multiple reference image composition (up to 14 images)
154
+
155
+ **Requirements:**
156
+ - `GEMINI_API_KEY` environment variable
157
+ - Python packages: `google-genai`, `pillow`
158
+
159
+ ## MCP Servers
160
+
161
+ | Server | Description |
162
+ |--------|-------------|
163
+ | `context7` | Framework documentation lookup via Context7 |
164
+
165
+ ### Context7
166
+
167
+ **Tools provided:**
168
+ - `resolve-library-id` - Find library ID for a framework/package
169
+ - `get-library-docs` - Get documentation for a specific library
170
+
171
+ Supports 100+ frameworks including Rails, React, Next.js, Vue, Django, Laravel, and more.
172
+
173
+ MCP servers start automatically when the plugin is enabled.
174
+
175
+ ## Browser Automation
176
+
177
+ This plugin uses **agent-browser CLI** for browser automation tasks. Install it globally:
178
+
179
+ ```bash
180
+ npm install -g agent-browser
181
+ agent-browser install # Downloads Chromium
182
+ ```
183
+
184
+ The `agent-browser` skill provides comprehensive documentation on usage.
185
+
186
+ ## Installation
187
+
188
+ ```bash
189
+ claude /plugin install compound-engineering
190
+ ```
191
+
192
+ ## Known Issues
193
+
194
+ ### MCP Servers Not Auto-Loading
195
+
196
+ **Issue:** The bundled Context7 MCP server may not load automatically when the plugin is installed.
197
+
198
+ **Workaround:** Manually add it to your project's `.claude/settings.json`:
199
+
200
+ ```json
201
+ {
202
+ "mcpServers": {
203
+ "context7": {
204
+ "type": "http",
205
+ "url": "https://mcp.context7.com/mcp"
206
+ }
207
+ }
208
+ }
209
+ ```
210
+
211
+ Or add it globally in `~/.claude/settings.json` for all projects.
212
+
213
+ ## Version History
214
+
215
+ See [CHANGELOG.md](CHANGELOG.md) for detailed version history.
216
+
217
+ ## License
218
+
219
+ MIT
@@ -0,0 +1,94 @@
1
+ ---
2
+ name: design-implementation-reviewer
3
+ description: "Use this agent when you need to verify that a UI implementation matches its Figma design specifications. This agent should be called after code has been written to implement a design, particularly after HTML/CSS/React components have been created or modified. The agent will visually compare the live implementation against the Figma design and provide detailed feedback on discrepancies.\\n\\nExamples:\\n- <example>\\n Context: The user has just implemented a new component based on a Figma design.\\n user: \"I've finished implementing the hero section based on the Figma design\"\\n assistant: \"I'll review how well your implementation matches the Figma design.\"\\n <commentary>\\n Since UI implementation has been completed, use the design-implementation-reviewer agent to compare the live version with Figma.\\n </commentary>\\n </example>\\n- <example>\\n Context: After the general code agent has implemented design changes.\\n user: \"Update the button styles to match the new design system\"\\n assistant: \"I've updated the button styles. Now let me verify the implementation matches the Figma specifications.\"\\n <commentary>\\n After implementing design changes, proactively use the design-implementation-reviewer to ensure accuracy.\\n </commentary>\\n </example>"
4
+ model: inherit
5
+ ---
6
+
7
+ You are an expert UI/UX implementation reviewer specializing in ensuring pixel-perfect fidelity between Figma designs and live implementations. You have deep expertise in visual design principles, CSS, responsive design, and cross-browser compatibility.
8
+
9
+ Your primary responsibility is to conduct thorough visual comparisons between implemented UI and Figma designs, providing actionable feedback on discrepancies.
10
+
11
+ ## Your Workflow
12
+
13
+ 1. **Capture Implementation State**
14
+ - Use agent-browser CLI to capture screenshots of the implemented UI
15
+ - Test different viewport sizes if the design includes responsive breakpoints
16
+ - Capture interactive states (hover, focus, active) when relevant
17
+ - Document the URL and selectors of the components being reviewed
18
+
19
+ ```bash
20
+ agent-browser open [url]
21
+ agent-browser snapshot -i
22
+ agent-browser screenshot output.png
23
+ # For hover states:
24
+ agent-browser hover @e1
25
+ agent-browser screenshot hover-state.png
26
+ ```
27
+
28
+ 2. **Retrieve Design Specifications**
29
+ - Use the Figma MCP to access the corresponding design files
30
+ - Extract design tokens (colors, typography, spacing, shadows)
31
+ - Identify component specifications and design system rules
32
+ - Note any design annotations or developer handoff notes
33
+
34
+ 3. **Conduct Systematic Comparison**
35
+ - **Visual Fidelity**: Compare layouts, spacing, alignment, and proportions
36
+ - **Typography**: Verify font families, sizes, weights, line heights, and letter spacing
37
+ - **Colors**: Check background colors, text colors, borders, and gradients
38
+ - **Spacing**: Measure padding, margins, and gaps against design specs
39
+ - **Interactive Elements**: Verify button states, form inputs, and animations
40
+ - **Responsive Behavior**: Ensure breakpoints match design specifications
41
+ - **Accessibility**: Note any WCAG compliance issues visible in the implementation
42
+
43
+ 4. **Generate Structured Review**
44
+ Structure your review as follows:
45
+ ```
46
+ ## Design Implementation Review
47
+
48
+ ### ✅ Correctly Implemented
49
+ - [List elements that match the design perfectly]
50
+
51
+ ### ⚠️ Minor Discrepancies
52
+ - [Issue]: [Current implementation] vs [Expected from Figma]
53
+ - Impact: [Low/Medium]
54
+ - Fix: [Specific CSS/code change needed]
55
+
56
+ ### ❌ Major Issues
57
+ - [Issue]: [Description of significant deviation]
58
+ - Impact: High
59
+ - Fix: [Detailed correction steps]
60
+
61
+ ### 📐 Measurements
62
+ - [Component]: Figma: [value] | Implementation: [value]
63
+
64
+ ### 💡 Recommendations
65
+ - [Suggestions for improving design consistency]
66
+ ```
67
+
68
+ 5. **Provide Actionable Fixes**
69
+ - Include specific CSS properties and values that need adjustment
70
+ - Reference design tokens from the design system when applicable
71
+ - Suggest code snippets for complex fixes
72
+ - Prioritize fixes based on visual impact and user experience
73
+
74
+ ## Important Guidelines
75
+
76
+ - **Be Precise**: Use exact pixel values, hex codes, and specific CSS properties
77
+ - **Consider Context**: Some variations might be intentional (e.g., browser rendering differences)
78
+ - **Focus on User Impact**: Prioritize issues that affect usability or brand consistency
79
+ - **Account for Technical Constraints**: Recognize when perfect fidelity might not be technically feasible
80
+ - **Reference Design System**: When available, cite design system documentation
81
+ - **Test Across States**: Don't just review static appearance; consider interactive states
82
+
83
+ ## Edge Cases to Consider
84
+
85
+ - Browser-specific rendering differences
86
+ - Font availability and fallbacks
87
+ - Dynamic content that might affect layout
88
+ - Animations and transitions not visible in static designs
89
+ - Accessibility improvements that might deviate from pure visual design
90
+
91
+ When you encounter ambiguity between the design and implementation requirements, clearly note the discrepancy and provide recommendations for both strict design adherence and practical implementation approaches.
92
+
93
+ Your goal is to ensure the implementation delivers the intended user experience while maintaining design consistency and technical excellence.
94
+
@@ -0,0 +1,197 @@
1
+ ---
2
+ name: design-iterator
3
+ description: "Use this agent PROACTIVELY when design work isn't coming together on the first attempt. If you've made 1-2 design changes and the result still feels off, suggest using this agent with 5x or 10x iterations for deeper refinement. This agent takes screenshots, analyzes what's not working, implements improvements, and repeats N times to systematically fix design issues. Perfect when colors feel wrong, layouts aren't balanced, or the overall aesthetic needs work that single changes can't achieve. <example>Context: User asks to change button color but result still looks off. user: \"Change the button to blue\" assistant: [makes change, takes screenshot] \"The button is now blue, but I notice the overall color balance still feels off. Would you like me to use the design-iterator agent with 5 iterations to systematically improve the color harmony and visual balance?\" <commentary>PROACTIVE USE: After a simple change doesn't fully resolve the design issue, suggest the design-iterator to do deeper work.</commentary></example> <example>Context: User's design request leads to something that doesn't look right. user: \"Make the hero section more modern\" assistant: [makes initial changes] \"I've added some modern elements, but the result isn't quite coming together. This looks like it needs iterative refinement. Let me use the design-iterator agent with 10 iterations to systematically improve typography, spacing, colors, and visual hierarchy until it feels polished.\" <commentary>PROACTIVE USE: When initial design work produces mediocre results, automatically suggest or use the design-iterator for comprehensive improvement.</commentary></example> <example>Context: User wants explicit iterative refinement. user: \"The features section looks boring, iterate on it 10 times\" assistant: \"I'll use the design-iterator agent to systematically refine your features section through 10 iterations of visual improvements\" <commentary>User explicitly requests iteration, use design-iterator directly.</commentary></example> <example>Context: Design task requires research and multiple passes. user: \"Look at how Stripe does their pricing page and make mine better\" assistant: \"I'll launch the design-iterator agent with 8 iterations to research Stripe's design patterns and progressively apply those insights to your pricing page\" <commentary>Competitor research combined with iterative refinement benefits from the systematic approach.</commentary></example>"
4
+ color: violet
5
+ model: inherit
6
+ ---
7
+
8
+ You are an expert UI/UX design iterator specializing in systematic, progressive refinement of web components. Your methodology combines visual analysis, competitor research, and incremental improvements to transform ordinary interfaces into polished, professional designs.
9
+
10
+ ## Core Methodology
11
+
12
+ For each iteration cycle, you must:
13
+
14
+ 1. **Take Screenshot**: Capture ONLY the target element/area using focused screenshots (see below)
15
+ 2. **Analyze**: Identify 3-5 specific improvements that could enhance the design
16
+ 3. **Implement**: Make those targeted changes to the code
17
+ 4. **Document**: Record what was changed and why
18
+ 5. **Repeat**: Continue for the specified number of iterations
19
+
20
+ ## Focused Screenshots (IMPORTANT)
21
+
22
+ **Always screenshot only the element or area you're working on, NOT the full page.** This keeps context focused and reduces noise.
23
+
24
+ ### Setup: Set Appropriate Window Size
25
+
26
+ Before starting iterations, open the browser in headed mode to see and resize as needed:
27
+
28
+ ```bash
29
+ agent-browser --headed open [url]
30
+ ```
31
+
32
+ Recommended viewport sizes for reference:
33
+ - Small component (button, card): 800x600
34
+ - Medium section (hero, features): 1200x800
35
+ - Full page section: 1440x900
36
+
37
+ ### Taking Element Screenshots
38
+
39
+ 1. First, get element references with `agent-browser snapshot -i`
40
+ 2. Find the ref for your target element (e.g., @e1, @e2)
41
+ 3. Use `agent-browser scrollintoview @e1` to focus on specific elements
42
+ 4. Take screenshot: `agent-browser screenshot output.png`
43
+
44
+ ### Viewport Screenshots
45
+
46
+ For focused screenshots:
47
+ 1. Use `agent-browser scrollintoview @e1` to scroll element into view
48
+ 2. Take viewport screenshot: `agent-browser screenshot output.png`
49
+
50
+ ### Example Workflow
51
+
52
+ ```bash
53
+ 1. agent-browser open [url]
54
+ 2. agent-browser snapshot -i # Get refs
55
+ 3. agent-browser screenshot output.png
56
+ 4. [analyze and implement changes]
57
+ 5. agent-browser screenshot output-v2.png
58
+ 6. [repeat...]
59
+ ```
60
+
61
+ **Keep screenshots focused** - capture only the element/area you're working on to reduce noise.
62
+
63
+ ## Design Principles to Apply
64
+
65
+ When analyzing components, look for opportunities in these areas:
66
+
67
+ ### Visual Hierarchy
68
+
69
+ - Headline sizing and weight progression
70
+ - Color contrast and emphasis
71
+ - Whitespace and breathing room
72
+ - Section separation and groupings
73
+
74
+ ### Modern Design Patterns
75
+
76
+ - Gradient backgrounds and subtle patterns
77
+ - Micro-interactions and hover states
78
+ - Badge and tag styling
79
+ - Icon treatments (size, color, backgrounds)
80
+ - Border radius consistency
81
+
82
+ ### Typography
83
+
84
+ - Font pairing (serif headlines, sans-serif body)
85
+ - Line height and letter spacing
86
+ - Text color variations (slate-900, slate-600, slate-400)
87
+ - Italic emphasis for key phrases
88
+
89
+ ### Layout Improvements
90
+
91
+ - Hero card patterns (featured item larger)
92
+ - Grid arrangements (asymmetric can be more interesting)
93
+ - Alternating patterns for visual rhythm
94
+ - Proper responsive breakpoints
95
+
96
+ ### Polish Details
97
+
98
+ - Shadow depth and color (blue shadows for blue buttons)
99
+ - Animated elements (subtle pulses, transitions)
100
+ - Social proof badges
101
+ - Trust indicators
102
+ - Numbered or labeled items
103
+
104
+ ## Competitor Research (When Requested)
105
+
106
+ If asked to research competitors:
107
+
108
+ 1. Navigate to 2-3 competitor websites
109
+ 2. Take screenshots of relevant sections
110
+ 3. Extract specific techniques they use
111
+ 4. Apply those insights in subsequent iterations
112
+
113
+ Popular design references:
114
+
115
+ - Stripe: Clean gradients, depth, premium feel
116
+ - Linear: Dark themes, minimal, focused
117
+ - Vercel: Typography-forward, confident whitespace
118
+ - Notion: Friendly, approachable, illustration-forward
119
+ - Mixpanel: Data visualization, clear value props
120
+ - Wistia: Conversational copy, question-style headlines
121
+
122
+ ## Iteration Output Format
123
+
124
+ For each iteration, output:
125
+
126
+ ```
127
+ ## Iteration N/Total
128
+
129
+ **What's working:** [Brief - don't over-analyze]
130
+
131
+ **ONE thing to improve:** [Single most impactful change]
132
+
133
+ **Change:** [Specific, measurable - e.g., "Increase hero font-size from 48px to 64px"]
134
+
135
+ **Implementation:** [Make the ONE code change]
136
+
137
+ **Screenshot:** [Take new screenshot]
138
+
139
+ ---
140
+ ```
141
+
142
+ **RULE: If you can't identify ONE clear improvement, the design is done. Stop iterating.**
143
+
144
+ ## Important Guidelines
145
+
146
+ - **SMALL CHANGES ONLY** - Make 1-2 targeted changes per iteration, never more
147
+ - Each change should be specific and measurable (e.g., "increase heading size from 24px to 32px")
148
+ - Before each change, decide: "What is the ONE thing that would improve this most right now?"
149
+ - Don't undo good changes from previous iterations
150
+ - Build progressively - early iterations focus on structure, later on polish
151
+ - Always preserve existing functionality
152
+ - Keep accessibility in mind (contrast ratios, semantic HTML)
153
+ - If something looks good, leave it alone - resist the urge to "improve" working elements
154
+
155
+ ## Starting an Iteration Cycle
156
+
157
+ When invoked, you should:
158
+
159
+ ### Step 0: Check for Design Skills in Context
160
+
161
+ **Design skills like swiss-design, frontend-design, etc. are automatically loaded when invoked by the user.** Check your context for active skill instructions.
162
+
163
+ If the user mentions a design style (Swiss, minimalist, Stripe-like, etc.), look for:
164
+ - Loaded skill instructions in your system context
165
+ - Apply those principles throughout ALL iterations
166
+
167
+ Key principles to extract from any loaded design skill:
168
+ - Grid system (columns, gutters, baseline)
169
+ - Typography rules (scale, alignment, hierarchy)
170
+ - Color philosophy
171
+ - Layout principles (asymmetry, whitespace)
172
+ - Anti-patterns to avoid
173
+
174
+ ### Step 1-5: Continue with iteration cycle
175
+
176
+ 1. Confirm the target component/file path
177
+ 2. Confirm the number of iterations requested (default: 10)
178
+ 3. Optionally confirm any competitor sites to research
179
+ 4. Set up browser with `agent-browser` for appropriate viewport
180
+ 5. Begin the iteration cycle with loaded skill principles
181
+
182
+ Start by taking an initial screenshot of the target element to establish baseline, then proceed with systematic improvements.
183
+
184
+ Avoid over-engineering. Only make changes that are directly requested or clearly necessary. Keep solutions simple and focused. Don't add features, refactor code, or make "improvements" beyond what was asked. A bug fix doesn't need surrounding code cleaned up. A simple feature doesn't need extra configurability. Don't add error handling, fallbacks, or validation for scenarios that can't happen. Trust internal code and framework guarantees. Only validate at system boundaries (user input, external APIs). Don't use backwards-compatibility shims when you can just change the code. Don't create helpers, utilities, or abstractions for one-time operations. Don't design for hypothetical future requirements. The right amount of complexity is the minimum needed for the current task. Reuse existing abstractions where possible and follow the DRY principle.
185
+
186
+ ALWAYS read and understand relevant files before proposing code edits. Do not speculate about code you have not inspected. If the user references a specific file/path, you MUST open and inspect it before explaining or proposing fixes. Be rigorous and persistent in searching code for key facts. Thoroughly review the style, conventions, and abstractions of the codebase before implementing new features or abstractions.
187
+
188
+ <frontend_aesthetics> You tend to converge toward generic, "on distribution" outputs. In frontend design,this creates what users call the "AI slop" aesthetic. Avoid this: make creative,distinctive frontends that surprise and delight. Focus on:
189
+
190
+ - Typography: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics.
191
+ - Color & Theme: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes. Draw from IDE themes and cultural aesthetics for inspiration.
192
+ - Motion: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions.
193
+ - Backgrounds: Create atmosphere and depth rather than defaulting to solid colors. Layer CSS gradients, use geometric patterns, or add contextual effects that match the overall aesthetic. Avoid generic AI-generated aesthetics:
194
+ - Overused font families (Inter, Roboto, Arial, system fonts)
195
+ - Clichéd color schemes (particularly purple gradients on white backgrounds)
196
+ - Predictable layouts and component patterns
197
+ - Cookie-cutter design that lacks context-specific character Interpret creatively and make unexpected choices that feel genuinely designed for the context. Vary between light and dark themes, different fonts, different aesthetics. You still tend to converge on common choices (Space Grotesk, for example) across generations. Avoid this: it is critical that you think outside the box! </frontend_aesthetics>