compound-engineering-pi 0.2.3
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.
- package/LICENSE +21 -0
- package/README.md +124 -0
- package/bin/compound-engineering-pi +12 -0
- package/bin/compound-plugin +12 -0
- package/compound-engineering-pi +12 -0
- package/compound-plugin +5 -0
- package/docs/pi.md +152 -0
- package/extensions/compound-engineering-compat.ts +452 -0
- package/package.json +84 -0
- package/pi-resources/compound-engineering/mcporter.json +7 -0
- package/plugins/coding-tutor/.claude-plugin/plugin.json +9 -0
- package/plugins/coding-tutor/README.md +37 -0
- package/plugins/coding-tutor/commands/quiz-me.md +1 -0
- package/plugins/coding-tutor/commands/sync-tutorials.md +25 -0
- package/plugins/coding-tutor/commands/teach-me.md +1 -0
- package/plugins/coding-tutor/skills/coding-tutor/SKILL.md +214 -0
- package/plugins/coding-tutor/skills/coding-tutor/scripts/create_tutorial.py +207 -0
- package/plugins/coding-tutor/skills/coding-tutor/scripts/index_tutorials.py +193 -0
- package/plugins/coding-tutor/skills/coding-tutor/scripts/quiz_priority.py +190 -0
- package/plugins/coding-tutor/skills/coding-tutor/scripts/setup_tutorials.py +118 -0
- package/plugins/compound-engineering/.claude-plugin/plugin.json +33 -0
- package/plugins/compound-engineering/CHANGELOG.md +457 -0
- package/plugins/compound-engineering/CLAUDE.md +89 -0
- package/plugins/compound-engineering/LICENSE +21 -0
- package/plugins/compound-engineering/README.md +232 -0
- package/plugins/compound-engineering/agents/design/design-implementation-reviewer.md +109 -0
- package/plugins/compound-engineering/agents/design/design-iterator.md +224 -0
- package/plugins/compound-engineering/agents/design/figma-design-sync.md +190 -0
- package/plugins/compound-engineering/agents/docs/ankane-readme-writer.md +65 -0
- package/plugins/compound-engineering/agents/research/best-practices-researcher.md +126 -0
- package/plugins/compound-engineering/agents/research/framework-docs-researcher.md +106 -0
- package/plugins/compound-engineering/agents/research/git-history-analyzer.md +59 -0
- package/plugins/compound-engineering/agents/research/learnings-researcher.md +264 -0
- package/plugins/compound-engineering/agents/research/repo-research-analyst.md +135 -0
- package/plugins/compound-engineering/agents/review/agent-native-reviewer.md +261 -0
- package/plugins/compound-engineering/agents/review/architecture-strategist.md +67 -0
- package/plugins/compound-engineering/agents/review/code-simplicity-reviewer.md +101 -0
- package/plugins/compound-engineering/agents/review/data-integrity-guardian.md +85 -0
- package/plugins/compound-engineering/agents/review/data-migration-expert.md +112 -0
- package/plugins/compound-engineering/agents/review/deployment-verification-agent.md +174 -0
- package/plugins/compound-engineering/agents/review/dhh-rails-reviewer.md +66 -0
- package/plugins/compound-engineering/agents/review/julik-frontend-races-reviewer.md +221 -0
- package/plugins/compound-engineering/agents/review/kieran-python-reviewer.md +133 -0
- package/plugins/compound-engineering/agents/review/kieran-rails-reviewer.md +115 -0
- package/plugins/compound-engineering/agents/review/kieran-typescript-reviewer.md +124 -0
- package/plugins/compound-engineering/agents/review/pattern-recognition-specialist.md +72 -0
- package/plugins/compound-engineering/agents/review/performance-oracle.md +137 -0
- package/plugins/compound-engineering/agents/review/schema-drift-detector.md +154 -0
- package/plugins/compound-engineering/agents/review/security-sentinel.md +114 -0
- package/plugins/compound-engineering/agents/workflow/bug-reproduction-validator.md +82 -0
- package/plugins/compound-engineering/agents/workflow/every-style-editor.md +64 -0
- package/plugins/compound-engineering/agents/workflow/lint.md +16 -0
- package/plugins/compound-engineering/agents/workflow/pr-comment-resolver.md +84 -0
- package/plugins/compound-engineering/agents/workflow/spec-flow-analyzer.md +134 -0
- package/plugins/compound-engineering/commands/agent-native-audit.md +278 -0
- package/plugins/compound-engineering/commands/changelog.md +138 -0
- package/plugins/compound-engineering/commands/create-agent-skill.md +9 -0
- package/plugins/compound-engineering/commands/deepen-plan.md +546 -0
- package/plugins/compound-engineering/commands/deploy-docs.md +113 -0
- package/plugins/compound-engineering/commands/feature-video.md +342 -0
- package/plugins/compound-engineering/commands/generate_command.md +163 -0
- package/plugins/compound-engineering/commands/heal-skill.md +143 -0
- package/plugins/compound-engineering/commands/lfg.md +20 -0
- package/plugins/compound-engineering/commands/release-docs.md +212 -0
- package/plugins/compound-engineering/commands/report-bug.md +151 -0
- package/plugins/compound-engineering/commands/reproduce-bug.md +100 -0
- package/plugins/compound-engineering/commands/resolve_parallel.md +35 -0
- package/plugins/compound-engineering/commands/resolve_todo_parallel.md +37 -0
- package/plugins/compound-engineering/commands/slfg.md +32 -0
- package/plugins/compound-engineering/commands/technical_review.md +8 -0
- package/plugins/compound-engineering/commands/test-browser.md +339 -0
- package/plugins/compound-engineering/commands/test-xcode.md +332 -0
- package/plugins/compound-engineering/commands/triage.md +311 -0
- package/plugins/compound-engineering/commands/workflows/brainstorm.md +124 -0
- package/plugins/compound-engineering/commands/workflows/compound.md +239 -0
- package/plugins/compound-engineering/commands/workflows/plan.md +551 -0
- package/plugins/compound-engineering/commands/workflows/review.md +526 -0
- package/plugins/compound-engineering/commands/workflows/work.md +433 -0
- package/plugins/compound-engineering/skills/agent-browser/SKILL.md +223 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/SKILL.md +435 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/action-parity-discipline.md +409 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/agent-execution-patterns.md +467 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/agent-native-testing.md +582 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/architecture-patterns.md +478 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/dynamic-context-injection.md +338 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/files-universal-interface.md +301 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/from-primitives-to-domain-tools.md +359 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/mcp-tool-design.md +506 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/mobile-patterns.md +871 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/product-implications.md +443 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/refactoring-to-prompt-native.md +317 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/self-modification.md +269 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/shared-workspace-architecture.md +680 -0
- package/plugins/compound-engineering/skills/agent-native-architecture/references/system-prompt-design.md +250 -0
- package/plugins/compound-engineering/skills/andrew-kane-gem-writer/SKILL.md +184 -0
- package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/database-adapters.md +231 -0
- package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/module-organization.md +121 -0
- package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/rails-integration.md +183 -0
- package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/resources.md +119 -0
- package/plugins/compound-engineering/skills/andrew-kane-gem-writer/references/testing-patterns.md +261 -0
- package/plugins/compound-engineering/skills/brainstorming/SKILL.md +190 -0
- package/plugins/compound-engineering/skills/compound-docs/SKILL.md +511 -0
- package/plugins/compound-engineering/skills/compound-docs/assets/critical-pattern-template.md +34 -0
- package/plugins/compound-engineering/skills/compound-docs/assets/resolution-template.md +93 -0
- package/plugins/compound-engineering/skills/compound-docs/references/yaml-schema.md +65 -0
- package/plugins/compound-engineering/skills/compound-docs/schema.yaml +176 -0
- package/plugins/compound-engineering/skills/create-agent-skills/SKILL.md +275 -0
- package/plugins/compound-engineering/skills/create-agent-skills/references/api-security.md +226 -0
- package/plugins/compound-engineering/skills/create-agent-skills/references/be-clear-and-direct.md +531 -0
- package/plugins/compound-engineering/skills/create-agent-skills/references/best-practices.md +404 -0
- package/plugins/compound-engineering/skills/create-agent-skills/references/common-patterns.md +595 -0
- package/plugins/compound-engineering/skills/create-agent-skills/references/core-principles.md +437 -0
- package/plugins/compound-engineering/skills/create-agent-skills/references/executable-code.md +175 -0
- package/plugins/compound-engineering/skills/create-agent-skills/references/iteration-and-testing.md +474 -0
- package/plugins/compound-engineering/skills/create-agent-skills/references/official-spec.md +134 -0
- package/plugins/compound-engineering/skills/create-agent-skills/references/recommended-structure.md +168 -0
- package/plugins/compound-engineering/skills/create-agent-skills/references/skill-structure.md +152 -0
- package/plugins/compound-engineering/skills/create-agent-skills/references/using-scripts.md +113 -0
- package/plugins/compound-engineering/skills/create-agent-skills/references/using-templates.md +112 -0
- package/plugins/compound-engineering/skills/create-agent-skills/references/workflows-and-validation.md +510 -0
- package/plugins/compound-engineering/skills/create-agent-skills/templates/router-skill.md +73 -0
- package/plugins/compound-engineering/skills/create-agent-skills/templates/simple-skill.md +33 -0
- package/plugins/compound-engineering/skills/create-agent-skills/workflows/add-reference.md +96 -0
- package/plugins/compound-engineering/skills/create-agent-skills/workflows/add-script.md +93 -0
- package/plugins/compound-engineering/skills/create-agent-skills/workflows/add-template.md +74 -0
- package/plugins/compound-engineering/skills/create-agent-skills/workflows/add-workflow.md +120 -0
- package/plugins/compound-engineering/skills/create-agent-skills/workflows/audit-skill.md +138 -0
- package/plugins/compound-engineering/skills/create-agent-skills/workflows/create-domain-expertise-skill.md +605 -0
- package/plugins/compound-engineering/skills/create-agent-skills/workflows/create-new-skill.md +191 -0
- package/plugins/compound-engineering/skills/create-agent-skills/workflows/get-guidance.md +121 -0
- package/plugins/compound-engineering/skills/create-agent-skills/workflows/upgrade-to-router.md +161 -0
- package/plugins/compound-engineering/skills/create-agent-skills/workflows/verify-skill.md +204 -0
- package/plugins/compound-engineering/skills/dhh-rails-style/SKILL.md +185 -0
- package/plugins/compound-engineering/skills/dhh-rails-style/references/architecture.md +653 -0
- package/plugins/compound-engineering/skills/dhh-rails-style/references/controllers.md +303 -0
- package/plugins/compound-engineering/skills/dhh-rails-style/references/frontend.md +510 -0
- package/plugins/compound-engineering/skills/dhh-rails-style/references/gems.md +266 -0
- package/plugins/compound-engineering/skills/dhh-rails-style/references/models.md +359 -0
- package/plugins/compound-engineering/skills/dhh-rails-style/references/testing.md +338 -0
- package/plugins/compound-engineering/skills/document-review/SKILL.md +87 -0
- package/plugins/compound-engineering/skills/dspy-ruby/SKILL.md +737 -0
- package/plugins/compound-engineering/skills/dspy-ruby/assets/config-template.rb +187 -0
- package/plugins/compound-engineering/skills/dspy-ruby/assets/module-template.rb +300 -0
- package/plugins/compound-engineering/skills/dspy-ruby/assets/signature-template.rb +221 -0
- package/plugins/compound-engineering/skills/dspy-ruby/references/core-concepts.md +674 -0
- package/plugins/compound-engineering/skills/dspy-ruby/references/observability.md +366 -0
- package/plugins/compound-engineering/skills/dspy-ruby/references/optimization.md +603 -0
- package/plugins/compound-engineering/skills/dspy-ruby/references/providers.md +418 -0
- package/plugins/compound-engineering/skills/dspy-ruby/references/toolsets.md +502 -0
- package/plugins/compound-engineering/skills/every-style-editor/SKILL.md +134 -0
- package/plugins/compound-engineering/skills/every-style-editor/references/EVERY_WRITE_STYLE.md +529 -0
- package/plugins/compound-engineering/skills/file-todos/SKILL.md +252 -0
- package/plugins/compound-engineering/skills/file-todos/assets/todo-template.md +155 -0
- package/plugins/compound-engineering/skills/frontend-design/SKILL.md +42 -0
- package/plugins/compound-engineering/skills/gemini-imagegen/SKILL.md +237 -0
- package/plugins/compound-engineering/skills/gemini-imagegen/requirements.txt +2 -0
- package/plugins/compound-engineering/skills/gemini-imagegen/scripts/compose_images.py +157 -0
- package/plugins/compound-engineering/skills/gemini-imagegen/scripts/edit_image.py +144 -0
- package/plugins/compound-engineering/skills/gemini-imagegen/scripts/gemini_images.py +263 -0
- package/plugins/compound-engineering/skills/gemini-imagegen/scripts/generate_image.py +133 -0
- package/plugins/compound-engineering/skills/gemini-imagegen/scripts/multi_turn_chat.py +216 -0
- package/plugins/compound-engineering/skills/git-worktree/SKILL.md +302 -0
- package/plugins/compound-engineering/skills/git-worktree/scripts/worktree-manager.sh +337 -0
- package/plugins/compound-engineering/skills/orchestrating-swarms/SKILL.md +1718 -0
- package/plugins/compound-engineering/skills/rclone/SKILL.md +150 -0
- package/plugins/compound-engineering/skills/rclone/scripts/check_setup.sh +60 -0
- package/plugins/compound-engineering/skills/resolve-pr-parallel/SKILL.md +89 -0
- package/plugins/compound-engineering/skills/resolve-pr-parallel/scripts/get-pr-comments +68 -0
- package/plugins/compound-engineering/skills/resolve-pr-parallel/scripts/resolve-pr-thread +23 -0
- package/plugins/compound-engineering/skills/skill-creator/SKILL.md +210 -0
- package/plugins/compound-engineering/skills/skill-creator/scripts/init_skill.py +303 -0
- package/plugins/compound-engineering/skills/skill-creator/scripts/package_skill.py +110 -0
- package/plugins/compound-engineering/skills/skill-creator/scripts/quick_validate.py +65 -0
- package/prompts/deepen-plan.md +549 -0
- package/prompts/feature-video.md +341 -0
- package/prompts/resolve_todo_parallel.md +36 -0
- package/prompts/test-browser.md +342 -0
- package/prompts/workflows-brainstorm.md +123 -0
- package/prompts/workflows-compound.md +238 -0
- package/prompts/workflows-plan.md +550 -0
- package/prompts/workflows-review.md +529 -0
- package/prompts/workflows-work.md +432 -0
- package/skills/agent-browser/SKILL.md +223 -0
- package/skills/agent-native-architecture/SKILL.md +435 -0
- package/skills/agent-native-architecture/references/action-parity-discipline.md +409 -0
- package/skills/agent-native-architecture/references/agent-execution-patterns.md +467 -0
- package/skills/agent-native-architecture/references/agent-native-testing.md +582 -0
- package/skills/agent-native-architecture/references/architecture-patterns.md +478 -0
- package/skills/agent-native-architecture/references/dynamic-context-injection.md +338 -0
- package/skills/agent-native-architecture/references/files-universal-interface.md +301 -0
- package/skills/agent-native-architecture/references/from-primitives-to-domain-tools.md +359 -0
- package/skills/agent-native-architecture/references/mcp-tool-design.md +506 -0
- package/skills/agent-native-architecture/references/mobile-patterns.md +871 -0
- package/skills/agent-native-architecture/references/product-implications.md +443 -0
- package/skills/agent-native-architecture/references/refactoring-to-prompt-native.md +317 -0
- package/skills/agent-native-architecture/references/self-modification.md +269 -0
- package/skills/agent-native-architecture/references/shared-workspace-architecture.md +680 -0
- package/skills/agent-native-architecture/references/system-prompt-design.md +250 -0
- package/skills/agent-native-reviewer/SKILL.md +260 -0
- package/skills/andrew-kane-gem-writer/SKILL.md +184 -0
- package/skills/andrew-kane-gem-writer/references/database-adapters.md +231 -0
- package/skills/andrew-kane-gem-writer/references/module-organization.md +121 -0
- package/skills/andrew-kane-gem-writer/references/rails-integration.md +183 -0
- package/skills/andrew-kane-gem-writer/references/resources.md +119 -0
- package/skills/andrew-kane-gem-writer/references/testing-patterns.md +261 -0
- package/skills/ankane-readme-writer/SKILL.md +63 -0
- package/skills/architecture-strategist/SKILL.md +66 -0
- package/skills/best-practices-researcher/SKILL.md +125 -0
- package/skills/brainstorming/SKILL.md +190 -0
- package/skills/bug-reproduction-validator/SKILL.md +81 -0
- package/skills/code-simplicity-reviewer/SKILL.md +100 -0
- package/skills/compound-docs/SKILL.md +511 -0
- package/skills/compound-docs/assets/critical-pattern-template.md +34 -0
- package/skills/compound-docs/assets/resolution-template.md +93 -0
- package/skills/compound-docs/references/yaml-schema.md +65 -0
- package/skills/compound-docs/schema.yaml +176 -0
- package/skills/create-agent-skills/SKILL.md +275 -0
- package/skills/create-agent-skills/references/api-security.md +226 -0
- package/skills/create-agent-skills/references/be-clear-and-direct.md +531 -0
- package/skills/create-agent-skills/references/best-practices.md +404 -0
- package/skills/create-agent-skills/references/common-patterns.md +595 -0
- package/skills/create-agent-skills/references/core-principles.md +437 -0
- package/skills/create-agent-skills/references/executable-code.md +175 -0
- package/skills/create-agent-skills/references/iteration-and-testing.md +474 -0
- package/skills/create-agent-skills/references/official-spec.md +134 -0
- package/skills/create-agent-skills/references/recommended-structure.md +168 -0
- package/skills/create-agent-skills/references/skill-structure.md +152 -0
- package/skills/create-agent-skills/references/using-scripts.md +113 -0
- package/skills/create-agent-skills/references/using-templates.md +112 -0
- package/skills/create-agent-skills/references/workflows-and-validation.md +510 -0
- package/skills/create-agent-skills/templates/router-skill.md +73 -0
- package/skills/create-agent-skills/templates/simple-skill.md +33 -0
- package/skills/create-agent-skills/workflows/add-reference.md +96 -0
- package/skills/create-agent-skills/workflows/add-script.md +93 -0
- package/skills/create-agent-skills/workflows/add-template.md +74 -0
- package/skills/create-agent-skills/workflows/add-workflow.md +120 -0
- package/skills/create-agent-skills/workflows/audit-skill.md +138 -0
- package/skills/create-agent-skills/workflows/create-domain-expertise-skill.md +605 -0
- package/skills/create-agent-skills/workflows/create-new-skill.md +191 -0
- package/skills/create-agent-skills/workflows/get-guidance.md +121 -0
- package/skills/create-agent-skills/workflows/upgrade-to-router.md +161 -0
- package/skills/create-agent-skills/workflows/verify-skill.md +204 -0
- package/skills/data-integrity-guardian/SKILL.md +84 -0
- package/skills/data-migration-expert/SKILL.md +111 -0
- package/skills/deployment-verification-agent/SKILL.md +173 -0
- package/skills/design-implementation-reviewer/SKILL.md +107 -0
- package/skills/design-iterator/SKILL.md +222 -0
- package/skills/dhh-rails-reviewer/SKILL.md +65 -0
- package/skills/dhh-rails-style/SKILL.md +185 -0
- package/skills/dhh-rails-style/references/architecture.md +653 -0
- package/skills/dhh-rails-style/references/controllers.md +303 -0
- package/skills/dhh-rails-style/references/frontend.md +510 -0
- package/skills/dhh-rails-style/references/gems.md +266 -0
- package/skills/dhh-rails-style/references/models.md +359 -0
- package/skills/dhh-rails-style/references/testing.md +338 -0
- package/skills/document-review/SKILL.md +87 -0
- package/skills/dspy-ruby/SKILL.md +737 -0
- package/skills/dspy-ruby/assets/config-template.rb +187 -0
- package/skills/dspy-ruby/assets/module-template.rb +300 -0
- package/skills/dspy-ruby/assets/signature-template.rb +221 -0
- package/skills/dspy-ruby/references/core-concepts.md +674 -0
- package/skills/dspy-ruby/references/observability.md +366 -0
- package/skills/dspy-ruby/references/optimization.md +603 -0
- package/skills/dspy-ruby/references/providers.md +418 -0
- package/skills/dspy-ruby/references/toolsets.md +502 -0
- package/skills/every-style-editor/SKILL.md +134 -0
- package/skills/every-style-editor/references/EVERY_WRITE_STYLE.md +529 -0
- package/skills/every-style-editor-2/SKILL.md +62 -0
- package/skills/figma-design-sync/SKILL.md +188 -0
- package/skills/file-todos/SKILL.md +252 -0
- package/skills/file-todos/assets/todo-template.md +155 -0
- package/skills/framework-docs-researcher/SKILL.md +105 -0
- package/skills/frontend-design/SKILL.md +42 -0
- package/skills/gemini-imagegen/SKILL.md +237 -0
- package/skills/gemini-imagegen/requirements.txt +2 -0
- package/skills/gemini-imagegen/scripts/compose_images.py +157 -0
- package/skills/gemini-imagegen/scripts/edit_image.py +144 -0
- package/skills/gemini-imagegen/scripts/gemini_images.py +263 -0
- package/skills/gemini-imagegen/scripts/generate_image.py +133 -0
- package/skills/gemini-imagegen/scripts/multi_turn_chat.py +216 -0
- package/skills/git-history-analyzer/SKILL.md +58 -0
- package/skills/git-worktree/SKILL.md +302 -0
- package/skills/git-worktree/scripts/worktree-manager.sh +337 -0
- package/skills/julik-frontend-races-reviewer/SKILL.md +220 -0
- package/skills/kieran-python-reviewer/SKILL.md +132 -0
- package/skills/kieran-rails-reviewer/SKILL.md +114 -0
- package/skills/kieran-typescript-reviewer/SKILL.md +123 -0
- package/skills/learnings-researcher/SKILL.md +263 -0
- package/skills/lint/SKILL.md +14 -0
- package/skills/orchestrating-swarms/SKILL.md +1718 -0
- package/skills/pattern-recognition-specialist/SKILL.md +71 -0
- package/skills/performance-oracle/SKILL.md +136 -0
- package/skills/pr-comment-resolver/SKILL.md +82 -0
- package/skills/rclone/SKILL.md +150 -0
- package/skills/rclone/scripts/check_setup.sh +60 -0
- package/skills/repo-research-analyst/SKILL.md +134 -0
- package/skills/resolve_pr_parallel/SKILL.md +89 -0
- package/skills/resolve_pr_parallel/scripts/get-pr-comments +68 -0
- package/skills/resolve_pr_parallel/scripts/resolve-pr-thread +23 -0
- package/skills/schema-drift-detector/SKILL.md +153 -0
- package/skills/security-sentinel/SKILL.md +113 -0
- package/skills/skill-creator/SKILL.md +210 -0
- package/skills/skill-creator/scripts/init_skill.py +303 -0
- package/skills/skill-creator/scripts/package_skill.py +110 -0
- package/skills/skill-creator/scripts/quick_validate.py +65 -0
- package/skills/spec-flow-analyzer/SKILL.md +133 -0
- package/src/commands/convert.ts +183 -0
- package/src/commands/install.ts +273 -0
- package/src/commands/list.ts +37 -0
- package/src/commands/sync.ts +89 -0
- package/src/converters/claude-to-codex.ts +182 -0
- package/src/converters/claude-to-opencode.ts +395 -0
- package/src/converters/claude-to-pi.ts +205 -0
- package/src/index.ts +22 -0
- package/src/parsers/claude-home.ts +65 -0
- package/src/parsers/claude.ts +252 -0
- package/src/sync/codex.ts +92 -0
- package/src/sync/opencode.ts +75 -0
- package/src/sync/pi.ts +88 -0
- package/src/targets/codex.ts +96 -0
- package/src/targets/index.ts +38 -0
- package/src/targets/opencode.ts +57 -0
- package/src/targets/pi.ts +131 -0
- package/src/templates/pi/compat-extension.ts +452 -0
- package/src/types/claude.ts +90 -0
- package/src/types/codex.ts +23 -0
- package/src/types/opencode.ts +54 -0
- package/src/types/pi.ts +40 -0
- package/src/utils/codex-agents.ts +64 -0
- package/src/utils/files.ts +77 -0
- package/src/utils/frontmatter.ts +65 -0
- package/src/utils/symlink.ts +43 -0
|
@@ -0,0 +1,232 @@
|
|
|
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 | 29 |
|
|
10
|
+
| Commands | 25 |
|
|
11
|
+
| Skills | 16 |
|
|
12
|
+
| MCP Servers | 1 |
|
|
13
|
+
|
|
14
|
+
## Agents
|
|
15
|
+
|
|
16
|
+
Agents are organized into categories for easier discovery.
|
|
17
|
+
|
|
18
|
+
### Review (15)
|
|
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
|
+
| `julik-frontend-races-reviewer` | Review JavaScript/Stimulus code for race conditions |
|
|
30
|
+
| `kieran-rails-reviewer` | Rails code review with strict conventions |
|
|
31
|
+
| `kieran-python-reviewer` | Python code review with strict conventions |
|
|
32
|
+
| `kieran-typescript-reviewer` | TypeScript code review with strict conventions |
|
|
33
|
+
| `pattern-recognition-specialist` | Analyze code for patterns and anti-patterns |
|
|
34
|
+
| `performance-oracle` | Performance analysis and optimization |
|
|
35
|
+
| `schema-drift-detector` | Detect unrelated schema.rb changes in PRs |
|
|
36
|
+
| `security-sentinel` | Security audits and vulnerability assessments |
|
|
37
|
+
|
|
38
|
+
### Research (5)
|
|
39
|
+
|
|
40
|
+
| Agent | Description |
|
|
41
|
+
|-------|-------------|
|
|
42
|
+
| `best-practices-researcher` | Gather external best practices and examples |
|
|
43
|
+
| `framework-docs-researcher` | Research framework documentation and best practices |
|
|
44
|
+
| `git-history-analyzer` | Analyze git history and code evolution |
|
|
45
|
+
| `learnings-researcher` | Search institutional learnings for relevant past solutions |
|
|
46
|
+
| `repo-research-analyst` | Research repository structure and conventions |
|
|
47
|
+
|
|
48
|
+
### Design (3)
|
|
49
|
+
|
|
50
|
+
| Agent | Description |
|
|
51
|
+
|-------|-------------|
|
|
52
|
+
| `design-implementation-reviewer` | Verify UI implementations match Figma designs |
|
|
53
|
+
| `design-iterator` | Iteratively refine UI through systematic design iterations |
|
|
54
|
+
| `figma-design-sync` | Synchronize web implementations with Figma designs |
|
|
55
|
+
|
|
56
|
+
### Workflow (5)
|
|
57
|
+
|
|
58
|
+
| Agent | Description |
|
|
59
|
+
|-------|-------------|
|
|
60
|
+
| `bug-reproduction-validator` | Systematically reproduce and validate bug reports |
|
|
61
|
+
| `every-style-editor` | Edit content to conform to Every's style guide |
|
|
62
|
+
| `lint` | Run linting and code quality checks on Ruby and ERB files |
|
|
63
|
+
| `pr-comment-resolver` | Address PR comments and implement fixes |
|
|
64
|
+
| `spec-flow-analyzer` | Analyze user flows and identify gaps in specifications |
|
|
65
|
+
|
|
66
|
+
### Docs (1)
|
|
67
|
+
|
|
68
|
+
| Agent | Description |
|
|
69
|
+
|-------|-------------|
|
|
70
|
+
| `ankane-readme-writer` | Create READMEs following Ankane-style template for Ruby gems |
|
|
71
|
+
|
|
72
|
+
## Commands
|
|
73
|
+
|
|
74
|
+
### Workflow Commands
|
|
75
|
+
|
|
76
|
+
Core workflow commands use `workflows:` prefix to avoid collisions with built-in commands:
|
|
77
|
+
|
|
78
|
+
| Command | Description |
|
|
79
|
+
|---------|-------------|
|
|
80
|
+
| `/workflows:brainstorm` | Explore requirements and approaches before planning |
|
|
81
|
+
| `/workflows:plan` | Create implementation plans |
|
|
82
|
+
| `/workflows:review` | Run comprehensive code reviews |
|
|
83
|
+
| `/workflows:work` | Execute work items systematically |
|
|
84
|
+
| `/workflows:compound` | Document solved problems to compound team knowledge |
|
|
85
|
+
|
|
86
|
+
### Utility Commands
|
|
87
|
+
|
|
88
|
+
| Command | Description |
|
|
89
|
+
|---------|-------------|
|
|
90
|
+
| `/lfg` | Full autonomous engineering workflow |
|
|
91
|
+
| `/slfg` | Full autonomous workflow with swarm mode for parallel execution |
|
|
92
|
+
| `/deepen-plan` | Enhance plans with parallel research agents for each section |
|
|
93
|
+
| `/changelog` | Create engaging changelogs for recent merges |
|
|
94
|
+
| `/create-agent-skill` | Create or edit Claude Code skills |
|
|
95
|
+
| `/generate_command` | Generate new slash commands |
|
|
96
|
+
| `/heal-skill` | Fix skill documentation issues |
|
|
97
|
+
| `/technical_review` | Multi-agent technical/architecture review in parallel |
|
|
98
|
+
| `/report-bug` | Report a bug in the plugin |
|
|
99
|
+
| `/reproduce-bug` | Reproduce bugs using logs and console |
|
|
100
|
+
| `/resolve_parallel` | Resolve TODO comments in parallel |
|
|
101
|
+
| `/resolve_pr_parallel` | Resolve PR comments in parallel |
|
|
102
|
+
| `/resolve_todo_parallel` | Resolve todos in parallel |
|
|
103
|
+
| `/triage` | Triage and prioritize issues |
|
|
104
|
+
| `/test-browser` | Run browser tests on PR-affected pages |
|
|
105
|
+
| `/xcode-test` | Build and test iOS apps on simulator |
|
|
106
|
+
| `/feature-video` | Record video walkthroughs and add to PR description |
|
|
107
|
+
|
|
108
|
+
## Skills
|
|
109
|
+
|
|
110
|
+
### Architecture & Design
|
|
111
|
+
|
|
112
|
+
| Skill | Description |
|
|
113
|
+
|-------|-------------|
|
|
114
|
+
| `agent-native-architecture` | Build AI agents using prompt-native architecture |
|
|
115
|
+
|
|
116
|
+
### Development Tools
|
|
117
|
+
|
|
118
|
+
| Skill | Description |
|
|
119
|
+
|-------|-------------|
|
|
120
|
+
| `andrew-kane-gem-writer` | Write Ruby gems following Andrew Kane's patterns |
|
|
121
|
+
| `compound-docs` | Capture solved problems as categorized documentation |
|
|
122
|
+
| `create-agent-skills` | Expert guidance for creating Claude Code skills |
|
|
123
|
+
| `dhh-rails-style` | Write Ruby/Rails code in DHH's 37signals style |
|
|
124
|
+
| `dspy-ruby` | Build type-safe LLM applications with DSPy.rb |
|
|
125
|
+
| `frontend-design` | Create production-grade frontend interfaces |
|
|
126
|
+
| `skill-creator` | Guide for creating effective Claude Code skills |
|
|
127
|
+
|
|
128
|
+
### Content & Workflow
|
|
129
|
+
|
|
130
|
+
| Skill | Description |
|
|
131
|
+
|-------|-------------|
|
|
132
|
+
| `brainstorming` | Explore requirements and approaches through collaborative dialogue |
|
|
133
|
+
| `document-review` | Improve documents through structured self-review |
|
|
134
|
+
| `every-style-editor` | Review copy for Every's style guide compliance |
|
|
135
|
+
| `file-todos` | File-based todo tracking system |
|
|
136
|
+
| `git-worktree` | Manage Git worktrees for parallel development |
|
|
137
|
+
|
|
138
|
+
### Multi-Agent Orchestration
|
|
139
|
+
|
|
140
|
+
| Skill | Description |
|
|
141
|
+
|-------|-------------|
|
|
142
|
+
| `orchestrating-swarms` | Comprehensive guide to multi-agent swarm orchestration |
|
|
143
|
+
|
|
144
|
+
### File Transfer
|
|
145
|
+
|
|
146
|
+
| Skill | Description |
|
|
147
|
+
|-------|-------------|
|
|
148
|
+
| `rclone` | Upload files to S3, Cloudflare R2, Backblaze B2, and cloud storage |
|
|
149
|
+
|
|
150
|
+
### Browser Automation
|
|
151
|
+
|
|
152
|
+
| Skill | Description |
|
|
153
|
+
|-------|-------------|
|
|
154
|
+
| `agent-browser` | CLI-based browser automation using Vercel's agent-browser |
|
|
155
|
+
|
|
156
|
+
### Image Generation
|
|
157
|
+
|
|
158
|
+
| Skill | Description |
|
|
159
|
+
|-------|-------------|
|
|
160
|
+
| `gemini-imagegen` | Generate and edit images using Google's Gemini API |
|
|
161
|
+
|
|
162
|
+
**gemini-imagegen features:**
|
|
163
|
+
- Text-to-image generation
|
|
164
|
+
- Image editing and manipulation
|
|
165
|
+
- Multi-turn refinement
|
|
166
|
+
- Multiple reference image composition (up to 14 images)
|
|
167
|
+
|
|
168
|
+
**Requirements:**
|
|
169
|
+
- `GEMINI_API_KEY` environment variable
|
|
170
|
+
- Python packages: `google-genai`, `pillow`
|
|
171
|
+
|
|
172
|
+
## MCP Servers
|
|
173
|
+
|
|
174
|
+
| Server | Description |
|
|
175
|
+
|--------|-------------|
|
|
176
|
+
| `context7` | Framework documentation lookup via Context7 |
|
|
177
|
+
|
|
178
|
+
### Context7
|
|
179
|
+
|
|
180
|
+
**Tools provided:**
|
|
181
|
+
- `resolve-library-id` - Find library ID for a framework/package
|
|
182
|
+
- `get-library-docs` - Get documentation for a specific library
|
|
183
|
+
|
|
184
|
+
Supports 100+ frameworks including Rails, React, Next.js, Vue, Django, Laravel, and more.
|
|
185
|
+
|
|
186
|
+
MCP servers start automatically when the plugin is enabled.
|
|
187
|
+
|
|
188
|
+
## Browser Automation
|
|
189
|
+
|
|
190
|
+
This plugin uses **agent-browser CLI** for browser automation tasks. Install it globally:
|
|
191
|
+
|
|
192
|
+
```bash
|
|
193
|
+
npm install -g agent-browser
|
|
194
|
+
agent-browser install # Downloads Chromium
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
The `agent-browser` skill provides comprehensive documentation on usage.
|
|
198
|
+
|
|
199
|
+
## Installation
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
claude /plugin install compound-engineering
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
## Known Issues
|
|
206
|
+
|
|
207
|
+
### MCP Servers Not Auto-Loading
|
|
208
|
+
|
|
209
|
+
**Issue:** The bundled Context7 MCP server may not load automatically when the plugin is installed.
|
|
210
|
+
|
|
211
|
+
**Workaround:** Manually add it to your project's `.claude/settings.json`:
|
|
212
|
+
|
|
213
|
+
```json
|
|
214
|
+
{
|
|
215
|
+
"mcpServers": {
|
|
216
|
+
"context7": {
|
|
217
|
+
"type": "http",
|
|
218
|
+
"url": "https://mcp.context7.com/mcp"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
Or add it globally in `~/.claude/settings.json` for all projects.
|
|
225
|
+
|
|
226
|
+
## Version History
|
|
227
|
+
|
|
228
|
+
See [CHANGELOG.md](CHANGELOG.md) for detailed version history.
|
|
229
|
+
|
|
230
|
+
## License
|
|
231
|
+
|
|
232
|
+
MIT
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-implementation-reviewer
|
|
3
|
+
description: "Visually compares live UI implementation against Figma designs and provides detailed feedback on discrepancies. Use after writing or modifying HTML/CSS/React components to verify design fidelity."
|
|
4
|
+
model: inherit
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<examples>
|
|
8
|
+
<example>
|
|
9
|
+
Context: The user has just implemented a new component based on a Figma design.
|
|
10
|
+
user: "I've finished implementing the hero section based on the Figma design"
|
|
11
|
+
assistant: "I'll review how well your implementation matches the Figma design."
|
|
12
|
+
<commentary>Since UI implementation has been completed, use the design-implementation-reviewer agent to compare the live version with Figma.</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
<example>
|
|
15
|
+
Context: After the general code agent has implemented design changes.
|
|
16
|
+
user: "Update the button styles to match the new design system"
|
|
17
|
+
assistant: "I've updated the button styles. Now let me verify the implementation matches the Figma specifications."
|
|
18
|
+
<commentary>After implementing design changes, proactively use the design-implementation-reviewer to ensure accuracy.</commentary>
|
|
19
|
+
</example>
|
|
20
|
+
</examples>
|
|
21
|
+
|
|
22
|
+
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.
|
|
23
|
+
|
|
24
|
+
Your primary responsibility is to conduct thorough visual comparisons between implemented UI and Figma designs, providing actionable feedback on discrepancies.
|
|
25
|
+
|
|
26
|
+
## Your Workflow
|
|
27
|
+
|
|
28
|
+
1. **Capture Implementation State**
|
|
29
|
+
- Use agent-browser CLI to capture screenshots of the implemented UI
|
|
30
|
+
- Test different viewport sizes if the design includes responsive breakpoints
|
|
31
|
+
- Capture interactive states (hover, focus, active) when relevant
|
|
32
|
+
- Document the URL and selectors of the components being reviewed
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
agent-browser open [url]
|
|
36
|
+
agent-browser snapshot -i
|
|
37
|
+
agent-browser screenshot output.png
|
|
38
|
+
# For hover states:
|
|
39
|
+
agent-browser hover @e1
|
|
40
|
+
agent-browser screenshot hover-state.png
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
2. **Retrieve Design Specifications**
|
|
44
|
+
- Use the Figma MCP to access the corresponding design files
|
|
45
|
+
- Extract design tokens (colors, typography, spacing, shadows)
|
|
46
|
+
- Identify component specifications and design system rules
|
|
47
|
+
- Note any design annotations or developer handoff notes
|
|
48
|
+
|
|
49
|
+
3. **Conduct Systematic Comparison**
|
|
50
|
+
- **Visual Fidelity**: Compare layouts, spacing, alignment, and proportions
|
|
51
|
+
- **Typography**: Verify font families, sizes, weights, line heights, and letter spacing
|
|
52
|
+
- **Colors**: Check background colors, text colors, borders, and gradients
|
|
53
|
+
- **Spacing**: Measure padding, margins, and gaps against design specs
|
|
54
|
+
- **Interactive Elements**: Verify button states, form inputs, and animations
|
|
55
|
+
- **Responsive Behavior**: Ensure breakpoints match design specifications
|
|
56
|
+
- **Accessibility**: Note any WCAG compliance issues visible in the implementation
|
|
57
|
+
|
|
58
|
+
4. **Generate Structured Review**
|
|
59
|
+
Structure your review as follows:
|
|
60
|
+
```
|
|
61
|
+
## Design Implementation Review
|
|
62
|
+
|
|
63
|
+
### ✅ Correctly Implemented
|
|
64
|
+
- [List elements that match the design perfectly]
|
|
65
|
+
|
|
66
|
+
### ⚠️ Minor Discrepancies
|
|
67
|
+
- [Issue]: [Current implementation] vs [Expected from Figma]
|
|
68
|
+
- Impact: [Low/Medium]
|
|
69
|
+
- Fix: [Specific CSS/code change needed]
|
|
70
|
+
|
|
71
|
+
### ❌ Major Issues
|
|
72
|
+
- [Issue]: [Description of significant deviation]
|
|
73
|
+
- Impact: High
|
|
74
|
+
- Fix: [Detailed correction steps]
|
|
75
|
+
|
|
76
|
+
### 📐 Measurements
|
|
77
|
+
- [Component]: Figma: [value] | Implementation: [value]
|
|
78
|
+
|
|
79
|
+
### 💡 Recommendations
|
|
80
|
+
- [Suggestions for improving design consistency]
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
5. **Provide Actionable Fixes**
|
|
84
|
+
- Include specific CSS properties and values that need adjustment
|
|
85
|
+
- Reference design tokens from the design system when applicable
|
|
86
|
+
- Suggest code snippets for complex fixes
|
|
87
|
+
- Prioritize fixes based on visual impact and user experience
|
|
88
|
+
|
|
89
|
+
## Important Guidelines
|
|
90
|
+
|
|
91
|
+
- **Be Precise**: Use exact pixel values, hex codes, and specific CSS properties
|
|
92
|
+
- **Consider Context**: Some variations might be intentional (e.g., browser rendering differences)
|
|
93
|
+
- **Focus on User Impact**: Prioritize issues that affect usability or brand consistency
|
|
94
|
+
- **Account for Technical Constraints**: Recognize when perfect fidelity might not be technically feasible
|
|
95
|
+
- **Reference Design System**: When available, cite design system documentation
|
|
96
|
+
- **Test Across States**: Don't just review static appearance; consider interactive states
|
|
97
|
+
|
|
98
|
+
## Edge Cases to Consider
|
|
99
|
+
|
|
100
|
+
- Browser-specific rendering differences
|
|
101
|
+
- Font availability and fallbacks
|
|
102
|
+
- Dynamic content that might affect layout
|
|
103
|
+
- Animations and transitions not visible in static designs
|
|
104
|
+
- Accessibility improvements that might deviate from pure visual design
|
|
105
|
+
|
|
106
|
+
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.
|
|
107
|
+
|
|
108
|
+
Your goal is to ensure the implementation delivers the intended user experience while maintaining design consistency and technical excellence.
|
|
109
|
+
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-iterator
|
|
3
|
+
description: "Iteratively refines UI design through N screenshot-analyze-improve cycles. Use PROACTIVELY when design changes aren't coming together after 1-2 attempts, or when user requests iterative refinement."
|
|
4
|
+
color: violet
|
|
5
|
+
model: inherit
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<examples>
|
|
9
|
+
<example>
|
|
10
|
+
Context: User asks to change button color but result still looks off.
|
|
11
|
+
user: "Change the button to blue"
|
|
12
|
+
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?"
|
|
13
|
+
<commentary>PROACTIVE USE: After a simple change doesn't fully resolve the design issue, suggest the design-iterator to do deeper work.</commentary>
|
|
14
|
+
</example>
|
|
15
|
+
<example>
|
|
16
|
+
Context: User's design request leads to something that doesn't look right.
|
|
17
|
+
user: "Make the hero section more modern"
|
|
18
|
+
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."
|
|
19
|
+
<commentary>PROACTIVE USE: When initial design work produces mediocre results, automatically suggest or use the design-iterator for comprehensive improvement.</commentary>
|
|
20
|
+
</example>
|
|
21
|
+
<example>
|
|
22
|
+
Context: User wants explicit iterative refinement.
|
|
23
|
+
user: "The features section looks boring, iterate on it 10 times"
|
|
24
|
+
assistant: "I'll use the design-iterator agent to systematically refine your features section through 10 iterations of visual improvements"
|
|
25
|
+
<commentary>User explicitly requests iteration, use design-iterator directly.</commentary>
|
|
26
|
+
</example>
|
|
27
|
+
<example>
|
|
28
|
+
Context: Design task requires research and multiple passes.
|
|
29
|
+
user: "Look at how Stripe does their pricing page and make mine better"
|
|
30
|
+
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"
|
|
31
|
+
<commentary>Competitor research combined with iterative refinement benefits from the systematic approach.</commentary>
|
|
32
|
+
</example>
|
|
33
|
+
</examples>
|
|
34
|
+
|
|
35
|
+
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.
|
|
36
|
+
|
|
37
|
+
## Core Methodology
|
|
38
|
+
|
|
39
|
+
For each iteration cycle, you must:
|
|
40
|
+
|
|
41
|
+
1. **Take Screenshot**: Capture ONLY the target element/area using focused screenshots (see below)
|
|
42
|
+
2. **Analyze**: Identify 3-5 specific improvements that could enhance the design
|
|
43
|
+
3. **Implement**: Make those targeted changes to the code
|
|
44
|
+
4. **Document**: Record what was changed and why
|
|
45
|
+
5. **Repeat**: Continue for the specified number of iterations
|
|
46
|
+
|
|
47
|
+
## Focused Screenshots (IMPORTANT)
|
|
48
|
+
|
|
49
|
+
**Always screenshot only the element or area you're working on, NOT the full page.** This keeps context focused and reduces noise.
|
|
50
|
+
|
|
51
|
+
### Setup: Set Appropriate Window Size
|
|
52
|
+
|
|
53
|
+
Before starting iterations, open the browser in headed mode to see and resize as needed:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
agent-browser --headed open [url]
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Recommended viewport sizes for reference:
|
|
60
|
+
- Small component (button, card): 800x600
|
|
61
|
+
- Medium section (hero, features): 1200x800
|
|
62
|
+
- Full page section: 1440x900
|
|
63
|
+
|
|
64
|
+
### Taking Element Screenshots
|
|
65
|
+
|
|
66
|
+
1. First, get element references with `agent-browser snapshot -i`
|
|
67
|
+
2. Find the ref for your target element (e.g., @e1, @e2)
|
|
68
|
+
3. Use `agent-browser scrollintoview @e1` to focus on specific elements
|
|
69
|
+
4. Take screenshot: `agent-browser screenshot output.png`
|
|
70
|
+
|
|
71
|
+
### Viewport Screenshots
|
|
72
|
+
|
|
73
|
+
For focused screenshots:
|
|
74
|
+
1. Use `agent-browser scrollintoview @e1` to scroll element into view
|
|
75
|
+
2. Take viewport screenshot: `agent-browser screenshot output.png`
|
|
76
|
+
|
|
77
|
+
### Example Workflow
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
1. agent-browser open [url]
|
|
81
|
+
2. agent-browser snapshot -i # Get refs
|
|
82
|
+
3. agent-browser screenshot output.png
|
|
83
|
+
4. [analyze and implement changes]
|
|
84
|
+
5. agent-browser screenshot output-v2.png
|
|
85
|
+
6. [repeat...]
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**Keep screenshots focused** - capture only the element/area you're working on to reduce noise.
|
|
89
|
+
|
|
90
|
+
## Design Principles to Apply
|
|
91
|
+
|
|
92
|
+
When analyzing components, look for opportunities in these areas:
|
|
93
|
+
|
|
94
|
+
### Visual Hierarchy
|
|
95
|
+
|
|
96
|
+
- Headline sizing and weight progression
|
|
97
|
+
- Color contrast and emphasis
|
|
98
|
+
- Whitespace and breathing room
|
|
99
|
+
- Section separation and groupings
|
|
100
|
+
|
|
101
|
+
### Modern Design Patterns
|
|
102
|
+
|
|
103
|
+
- Gradient backgrounds and subtle patterns
|
|
104
|
+
- Micro-interactions and hover states
|
|
105
|
+
- Badge and tag styling
|
|
106
|
+
- Icon treatments (size, color, backgrounds)
|
|
107
|
+
- Border radius consistency
|
|
108
|
+
|
|
109
|
+
### Typography
|
|
110
|
+
|
|
111
|
+
- Font pairing (serif headlines, sans-serif body)
|
|
112
|
+
- Line height and letter spacing
|
|
113
|
+
- Text color variations (slate-900, slate-600, slate-400)
|
|
114
|
+
- Italic emphasis for key phrases
|
|
115
|
+
|
|
116
|
+
### Layout Improvements
|
|
117
|
+
|
|
118
|
+
- Hero card patterns (featured item larger)
|
|
119
|
+
- Grid arrangements (asymmetric can be more interesting)
|
|
120
|
+
- Alternating patterns for visual rhythm
|
|
121
|
+
- Proper responsive breakpoints
|
|
122
|
+
|
|
123
|
+
### Polish Details
|
|
124
|
+
|
|
125
|
+
- Shadow depth and color (blue shadows for blue buttons)
|
|
126
|
+
- Animated elements (subtle pulses, transitions)
|
|
127
|
+
- Social proof badges
|
|
128
|
+
- Trust indicators
|
|
129
|
+
- Numbered or labeled items
|
|
130
|
+
|
|
131
|
+
## Competitor Research (When Requested)
|
|
132
|
+
|
|
133
|
+
If asked to research competitors:
|
|
134
|
+
|
|
135
|
+
1. Navigate to 2-3 competitor websites
|
|
136
|
+
2. Take screenshots of relevant sections
|
|
137
|
+
3. Extract specific techniques they use
|
|
138
|
+
4. Apply those insights in subsequent iterations
|
|
139
|
+
|
|
140
|
+
Popular design references:
|
|
141
|
+
|
|
142
|
+
- Stripe: Clean gradients, depth, premium feel
|
|
143
|
+
- Linear: Dark themes, minimal, focused
|
|
144
|
+
- Vercel: Typography-forward, confident whitespace
|
|
145
|
+
- Notion: Friendly, approachable, illustration-forward
|
|
146
|
+
- Mixpanel: Data visualization, clear value props
|
|
147
|
+
- Wistia: Conversational copy, question-style headlines
|
|
148
|
+
|
|
149
|
+
## Iteration Output Format
|
|
150
|
+
|
|
151
|
+
For each iteration, output:
|
|
152
|
+
|
|
153
|
+
```
|
|
154
|
+
## Iteration N/Total
|
|
155
|
+
|
|
156
|
+
**What's working:** [Brief - don't over-analyze]
|
|
157
|
+
|
|
158
|
+
**ONE thing to improve:** [Single most impactful change]
|
|
159
|
+
|
|
160
|
+
**Change:** [Specific, measurable - e.g., "Increase hero font-size from 48px to 64px"]
|
|
161
|
+
|
|
162
|
+
**Implementation:** [Make the ONE code change]
|
|
163
|
+
|
|
164
|
+
**Screenshot:** [Take new screenshot]
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
**RULE: If you can't identify ONE clear improvement, the design is done. Stop iterating.**
|
|
170
|
+
|
|
171
|
+
## Important Guidelines
|
|
172
|
+
|
|
173
|
+
- **SMALL CHANGES ONLY** - Make 1-2 targeted changes per iteration, never more
|
|
174
|
+
- Each change should be specific and measurable (e.g., "increase heading size from 24px to 32px")
|
|
175
|
+
- Before each change, decide: "What is the ONE thing that would improve this most right now?"
|
|
176
|
+
- Don't undo good changes from previous iterations
|
|
177
|
+
- Build progressively - early iterations focus on structure, later on polish
|
|
178
|
+
- Always preserve existing functionality
|
|
179
|
+
- Keep accessibility in mind (contrast ratios, semantic HTML)
|
|
180
|
+
- If something looks good, leave it alone - resist the urge to "improve" working elements
|
|
181
|
+
|
|
182
|
+
## Starting an Iteration Cycle
|
|
183
|
+
|
|
184
|
+
When invoked, you should:
|
|
185
|
+
|
|
186
|
+
### Step 0: Check for Design Skills in Context
|
|
187
|
+
|
|
188
|
+
**Design skills like swiss-design, frontend-design, etc. are automatically loaded when invoked by the user.** Check your context for active skill instructions.
|
|
189
|
+
|
|
190
|
+
If the user mentions a design style (Swiss, minimalist, Stripe-like, etc.), look for:
|
|
191
|
+
- Loaded skill instructions in your system context
|
|
192
|
+
- Apply those principles throughout ALL iterations
|
|
193
|
+
|
|
194
|
+
Key principles to extract from any loaded design skill:
|
|
195
|
+
- Grid system (columns, gutters, baseline)
|
|
196
|
+
- Typography rules (scale, alignment, hierarchy)
|
|
197
|
+
- Color philosophy
|
|
198
|
+
- Layout principles (asymmetry, whitespace)
|
|
199
|
+
- Anti-patterns to avoid
|
|
200
|
+
|
|
201
|
+
### Step 1-5: Continue with iteration cycle
|
|
202
|
+
|
|
203
|
+
1. Confirm the target component/file path
|
|
204
|
+
2. Confirm the number of iterations requested (default: 10)
|
|
205
|
+
3. Optionally confirm any competitor sites to research
|
|
206
|
+
4. Set up browser with `agent-browser` for appropriate viewport
|
|
207
|
+
5. Begin the iteration cycle with loaded skill principles
|
|
208
|
+
|
|
209
|
+
Start by taking an initial screenshot of the target element to establish baseline, then proceed with systematic improvements.
|
|
210
|
+
|
|
211
|
+
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.
|
|
212
|
+
|
|
213
|
+
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.
|
|
214
|
+
|
|
215
|
+
<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:
|
|
216
|
+
|
|
217
|
+
- 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.
|
|
218
|
+
- 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.
|
|
219
|
+
- 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.
|
|
220
|
+
- 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:
|
|
221
|
+
- Overused font families (Inter, Roboto, Arial, system fonts)
|
|
222
|
+
- Clichéd color schemes (particularly purple gradients on white backgrounds)
|
|
223
|
+
- Predictable layouts and component patterns
|
|
224
|
+
- 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>
|