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,212 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: release-docs
|
|
3
|
+
description: Build and update the documentation site with current plugin components
|
|
4
|
+
argument-hint: "[optional: --dry-run to preview changes without writing]"
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Release Documentation Command
|
|
9
|
+
|
|
10
|
+
You are a documentation generator for the compound-engineering plugin. Your job is to ensure the documentation site at `plugins/compound-engineering/docs/` is always up-to-date with the actual plugin components.
|
|
11
|
+
|
|
12
|
+
## Overview
|
|
13
|
+
|
|
14
|
+
The documentation site is a static HTML/CSS/JS site based on the Evil Martians LaunchKit template. It needs to be regenerated whenever:
|
|
15
|
+
|
|
16
|
+
- Agents are added, removed, or modified
|
|
17
|
+
- Commands are added, removed, or modified
|
|
18
|
+
- Skills are added, removed, or modified
|
|
19
|
+
- MCP servers are added, removed, or modified
|
|
20
|
+
|
|
21
|
+
## Step 1: Inventory Current Components
|
|
22
|
+
|
|
23
|
+
First, count and list all current components:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# Count agents
|
|
27
|
+
ls plugins/compound-engineering/agents/*.md | wc -l
|
|
28
|
+
|
|
29
|
+
# Count commands
|
|
30
|
+
ls plugins/compound-engineering/commands/*.md | wc -l
|
|
31
|
+
|
|
32
|
+
# Count skills
|
|
33
|
+
ls -d plugins/compound-engineering/skills/*/ 2>/dev/null | wc -l
|
|
34
|
+
|
|
35
|
+
# Count MCP servers
|
|
36
|
+
ls -d plugins/compound-engineering/mcp-servers/*/ 2>/dev/null | wc -l
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Read all component files to get their metadata:
|
|
40
|
+
|
|
41
|
+
### Agents
|
|
42
|
+
For each agent file in `plugins/compound-engineering/agents/*.md`:
|
|
43
|
+
- Extract the frontmatter (name, description)
|
|
44
|
+
- Note the category (Review, Research, Workflow, Design, Docs)
|
|
45
|
+
- Get key responsibilities from the content
|
|
46
|
+
|
|
47
|
+
### Commands
|
|
48
|
+
For each command file in `plugins/compound-engineering/commands/*.md`:
|
|
49
|
+
- Extract the frontmatter (name, description, argument-hint)
|
|
50
|
+
- Categorize as Workflow or Utility command
|
|
51
|
+
|
|
52
|
+
### Skills
|
|
53
|
+
For each skill directory in `plugins/compound-engineering/skills/*/`:
|
|
54
|
+
- Read the SKILL.md file for frontmatter (name, description)
|
|
55
|
+
- Note any scripts or supporting files
|
|
56
|
+
|
|
57
|
+
### MCP Servers
|
|
58
|
+
For each MCP server in `plugins/compound-engineering/mcp-servers/*/`:
|
|
59
|
+
- Read the configuration and README
|
|
60
|
+
- List the tools provided
|
|
61
|
+
|
|
62
|
+
## Step 2: Update Documentation Pages
|
|
63
|
+
|
|
64
|
+
### 2a. Update `docs/index.html`
|
|
65
|
+
|
|
66
|
+
Update the stats section with accurate counts:
|
|
67
|
+
```html
|
|
68
|
+
<div class="stats-grid">
|
|
69
|
+
<div class="stat-card">
|
|
70
|
+
<span class="stat-number">[AGENT_COUNT]</span>
|
|
71
|
+
<span class="stat-label">Specialized Agents</span>
|
|
72
|
+
</div>
|
|
73
|
+
<!-- Update all stat cards -->
|
|
74
|
+
</div>
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Ensure the component summary sections list key components accurately.
|
|
78
|
+
|
|
79
|
+
### 2b. Update `docs/pages/agents.html`
|
|
80
|
+
|
|
81
|
+
Regenerate the complete agents reference page:
|
|
82
|
+
- Group agents by category (Review, Research, Workflow, Design, Docs)
|
|
83
|
+
- Include for each agent:
|
|
84
|
+
- Name and description
|
|
85
|
+
- Key responsibilities (bullet list)
|
|
86
|
+
- Usage example: `claude agent [agent-name] "your message"`
|
|
87
|
+
- Use cases
|
|
88
|
+
|
|
89
|
+
### 2c. Update `docs/pages/commands.html`
|
|
90
|
+
|
|
91
|
+
Regenerate the complete commands reference page:
|
|
92
|
+
- Group commands by type (Workflow, Utility)
|
|
93
|
+
- Include for each command:
|
|
94
|
+
- Name and description
|
|
95
|
+
- Arguments (if any)
|
|
96
|
+
- Process/workflow steps
|
|
97
|
+
- Example usage
|
|
98
|
+
|
|
99
|
+
### 2d. Update `docs/pages/skills.html`
|
|
100
|
+
|
|
101
|
+
Regenerate the complete skills reference page:
|
|
102
|
+
- Group skills by category (Development Tools, Content & Workflow, Image Generation)
|
|
103
|
+
- Include for each skill:
|
|
104
|
+
- Name and description
|
|
105
|
+
- Usage: `claude skill [skill-name]`
|
|
106
|
+
- Features and capabilities
|
|
107
|
+
|
|
108
|
+
### 2e. Update `docs/pages/mcp-servers.html`
|
|
109
|
+
|
|
110
|
+
Regenerate the MCP servers reference page:
|
|
111
|
+
- For each server:
|
|
112
|
+
- Name and purpose
|
|
113
|
+
- Tools provided
|
|
114
|
+
- Configuration details
|
|
115
|
+
- Supported frameworks/services
|
|
116
|
+
|
|
117
|
+
## Step 3: Update Metadata Files
|
|
118
|
+
|
|
119
|
+
Ensure counts are consistent across:
|
|
120
|
+
|
|
121
|
+
1. **`plugins/compound-engineering/.claude-plugin/plugin.json`**
|
|
122
|
+
- Update `description` with correct counts
|
|
123
|
+
- Update `components` object with counts
|
|
124
|
+
- Update `agents`, `commands` arrays with current items
|
|
125
|
+
|
|
126
|
+
2. **`.claude-plugin/marketplace.json`**
|
|
127
|
+
- Update plugin `description` with correct counts
|
|
128
|
+
|
|
129
|
+
3. **`plugins/compound-engineering/README.md`**
|
|
130
|
+
- Update intro paragraph with counts
|
|
131
|
+
- Update component lists
|
|
132
|
+
|
|
133
|
+
## Step 4: Validate
|
|
134
|
+
|
|
135
|
+
Run validation checks:
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
# Validate JSON files
|
|
139
|
+
cat .claude-plugin/marketplace.json | jq .
|
|
140
|
+
cat plugins/compound-engineering/.claude-plugin/plugin.json | jq .
|
|
141
|
+
|
|
142
|
+
# Verify counts match
|
|
143
|
+
echo "Agents in files: $(ls plugins/compound-engineering/agents/*.md | wc -l)"
|
|
144
|
+
grep -o "[0-9]* specialized agents" plugins/compound-engineering/docs/index.html
|
|
145
|
+
|
|
146
|
+
echo "Commands in files: $(ls plugins/compound-engineering/commands/*.md | wc -l)"
|
|
147
|
+
grep -o "[0-9]* slash commands" plugins/compound-engineering/docs/index.html
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
## Step 5: Report Changes
|
|
151
|
+
|
|
152
|
+
Provide a summary of what was updated:
|
|
153
|
+
|
|
154
|
+
```
|
|
155
|
+
## Documentation Release Summary
|
|
156
|
+
|
|
157
|
+
### Component Counts
|
|
158
|
+
- Agents: X (previously Y)
|
|
159
|
+
- Commands: X (previously Y)
|
|
160
|
+
- Skills: X (previously Y)
|
|
161
|
+
- MCP Servers: X (previously Y)
|
|
162
|
+
|
|
163
|
+
### Files Updated
|
|
164
|
+
- docs/index.html - Updated stats and component summaries
|
|
165
|
+
- docs/pages/agents.html - Regenerated with X agents
|
|
166
|
+
- docs/pages/commands.html - Regenerated with X commands
|
|
167
|
+
- docs/pages/skills.html - Regenerated with X skills
|
|
168
|
+
- docs/pages/mcp-servers.html - Regenerated with X servers
|
|
169
|
+
- plugin.json - Updated counts and component lists
|
|
170
|
+
- marketplace.json - Updated description
|
|
171
|
+
- README.md - Updated component lists
|
|
172
|
+
|
|
173
|
+
### New Components Added
|
|
174
|
+
- [List any new agents/commands/skills]
|
|
175
|
+
|
|
176
|
+
### Components Removed
|
|
177
|
+
- [List any removed agents/commands/skills]
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
## Dry Run Mode
|
|
181
|
+
|
|
182
|
+
If `--dry-run` is specified:
|
|
183
|
+
- Perform all inventory and validation steps
|
|
184
|
+
- Report what WOULD be updated
|
|
185
|
+
- Do NOT write any files
|
|
186
|
+
- Show diff previews of proposed changes
|
|
187
|
+
|
|
188
|
+
## Error Handling
|
|
189
|
+
|
|
190
|
+
- If component files have invalid frontmatter, report the error and skip
|
|
191
|
+
- If JSON validation fails, report and abort
|
|
192
|
+
- Always maintain a valid state - don't partially update
|
|
193
|
+
|
|
194
|
+
## Post-Release
|
|
195
|
+
|
|
196
|
+
After successful release:
|
|
197
|
+
1. Suggest updating CHANGELOG.md with documentation changes
|
|
198
|
+
2. Remind to commit with message: `docs: Update documentation site to match plugin components`
|
|
199
|
+
3. Remind to push changes
|
|
200
|
+
|
|
201
|
+
## Usage Examples
|
|
202
|
+
|
|
203
|
+
```bash
|
|
204
|
+
# Full documentation release
|
|
205
|
+
claude /release-docs
|
|
206
|
+
|
|
207
|
+
# Preview changes without writing
|
|
208
|
+
claude /release-docs --dry-run
|
|
209
|
+
|
|
210
|
+
# After adding new agents
|
|
211
|
+
claude /release-docs
|
|
212
|
+
```
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: report-bug
|
|
3
|
+
description: Report a bug in the compound-engineering plugin
|
|
4
|
+
argument-hint: "[optional: brief description of the bug]"
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Report a Compounding Engineering Plugin Bug
|
|
9
|
+
|
|
10
|
+
Report bugs encountered while using the compound-engineering plugin. This command gathers structured information and creates a GitHub issue for the maintainer.
|
|
11
|
+
|
|
12
|
+
## Step 1: Gather Bug Information
|
|
13
|
+
|
|
14
|
+
Use the AskUserQuestion tool to collect the following information:
|
|
15
|
+
|
|
16
|
+
**Question 1: Bug Category**
|
|
17
|
+
- What type of issue are you experiencing?
|
|
18
|
+
- Options: Agent not working, Command not working, Skill not working, MCP server issue, Installation problem, Other
|
|
19
|
+
|
|
20
|
+
**Question 2: Specific Component**
|
|
21
|
+
- Which specific component is affected?
|
|
22
|
+
- Ask for the name of the agent, command, skill, or MCP server
|
|
23
|
+
|
|
24
|
+
**Question 3: What Happened (Actual Behavior)**
|
|
25
|
+
- Ask: "What happened when you used this component?"
|
|
26
|
+
- Get a clear description of the actual behavior
|
|
27
|
+
|
|
28
|
+
**Question 4: What Should Have Happened (Expected Behavior)**
|
|
29
|
+
- Ask: "What did you expect to happen instead?"
|
|
30
|
+
- Get a clear description of expected behavior
|
|
31
|
+
|
|
32
|
+
**Question 5: Steps to Reproduce**
|
|
33
|
+
- Ask: "What steps did you take before the bug occurred?"
|
|
34
|
+
- Get reproduction steps
|
|
35
|
+
|
|
36
|
+
**Question 6: Error Messages**
|
|
37
|
+
- Ask: "Did you see any error messages? If so, please share them."
|
|
38
|
+
- Capture any error output
|
|
39
|
+
|
|
40
|
+
## Step 2: Collect Environment Information
|
|
41
|
+
|
|
42
|
+
Automatically gather:
|
|
43
|
+
```bash
|
|
44
|
+
# Get plugin version
|
|
45
|
+
cat ~/.claude/plugins/installed_plugins.json 2>/dev/null | grep -A5 "compound-engineering" | head -10 || echo "Plugin info not found"
|
|
46
|
+
|
|
47
|
+
# Get Claude Code version
|
|
48
|
+
claude --version 2>/dev/null || echo "Claude CLI version unknown"
|
|
49
|
+
|
|
50
|
+
# Get OS info
|
|
51
|
+
uname -a
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Step 3: Format the Bug Report
|
|
55
|
+
|
|
56
|
+
Create a well-structured bug report with:
|
|
57
|
+
|
|
58
|
+
```markdown
|
|
59
|
+
## Bug Description
|
|
60
|
+
|
|
61
|
+
**Component:** [Type] - [Name]
|
|
62
|
+
**Summary:** [Brief description from argument or collected info]
|
|
63
|
+
|
|
64
|
+
## Environment
|
|
65
|
+
|
|
66
|
+
- **Plugin Version:** [from installed_plugins.json]
|
|
67
|
+
- **Claude Code Version:** [from claude --version]
|
|
68
|
+
- **OS:** [from uname]
|
|
69
|
+
|
|
70
|
+
## What Happened
|
|
71
|
+
|
|
72
|
+
[Actual behavior description]
|
|
73
|
+
|
|
74
|
+
## Expected Behavior
|
|
75
|
+
|
|
76
|
+
[Expected behavior description]
|
|
77
|
+
|
|
78
|
+
## Steps to Reproduce
|
|
79
|
+
|
|
80
|
+
1. [Step 1]
|
|
81
|
+
2. [Step 2]
|
|
82
|
+
3. [Step 3]
|
|
83
|
+
|
|
84
|
+
## Error Messages
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
[Any error output]
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Additional Context
|
|
91
|
+
|
|
92
|
+
[Any other relevant information]
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
*Reported via `/report-bug` command*
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Step 4: Create GitHub Issue
|
|
99
|
+
|
|
100
|
+
Use the GitHub CLI to create the issue:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
gh issue create \
|
|
104
|
+
--repo EveryInc/compound-engineering-plugin \
|
|
105
|
+
--title "[compound-engineering] Bug: [Brief description]" \
|
|
106
|
+
--body "[Formatted bug report from Step 3]" \
|
|
107
|
+
--label "bug,compound-engineering"
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**Note:** If labels don't exist, create without labels:
|
|
111
|
+
```bash
|
|
112
|
+
gh issue create \
|
|
113
|
+
--repo EveryInc/compound-engineering-plugin \
|
|
114
|
+
--title "[compound-engineering] Bug: [Brief description]" \
|
|
115
|
+
--body "[Formatted bug report]"
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## Step 5: Confirm Submission
|
|
119
|
+
|
|
120
|
+
After the issue is created:
|
|
121
|
+
1. Display the issue URL to the user
|
|
122
|
+
2. Thank them for reporting the bug
|
|
123
|
+
3. Let them know the maintainer (Kieran Klaassen) will be notified
|
|
124
|
+
|
|
125
|
+
## Output Format
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
✅ Bug report submitted successfully!
|
|
129
|
+
|
|
130
|
+
Issue: https://github.com/EveryInc/compound-engineering-plugin/issues/[NUMBER]
|
|
131
|
+
Title: [compound-engineering] Bug: [description]
|
|
132
|
+
|
|
133
|
+
Thank you for helping improve the compound-engineering plugin!
|
|
134
|
+
The maintainer will review your report and respond as soon as possible.
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## Error Handling
|
|
138
|
+
|
|
139
|
+
- If `gh` CLI is not authenticated: Prompt user to run `gh auth login` first
|
|
140
|
+
- If issue creation fails: Display the formatted report so user can manually create the issue
|
|
141
|
+
- If required information is missing: Re-prompt for that specific field
|
|
142
|
+
|
|
143
|
+
## Privacy Notice
|
|
144
|
+
|
|
145
|
+
This command does NOT collect:
|
|
146
|
+
- Personal information
|
|
147
|
+
- API keys or credentials
|
|
148
|
+
- Private code from your projects
|
|
149
|
+
- File paths beyond basic OS info
|
|
150
|
+
|
|
151
|
+
Only technical information about the bug is included in the report.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: reproduce-bug
|
|
3
|
+
description: Reproduce and investigate a bug using logs, console inspection, and browser screenshots
|
|
4
|
+
argument-hint: "[GitHub issue number]"
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Reproduce Bug Command
|
|
9
|
+
|
|
10
|
+
Look at github issue #$ARGUMENTS and read the issue description and comments.
|
|
11
|
+
|
|
12
|
+
## Phase 1: Log Investigation
|
|
13
|
+
|
|
14
|
+
Run the following agents in parallel to investigate the bug:
|
|
15
|
+
|
|
16
|
+
1. Task rails-console-explorer(issue_description)
|
|
17
|
+
2. Task appsignal-log-investigator(issue_description)
|
|
18
|
+
|
|
19
|
+
Think about the places it could go wrong looking at the codebase. Look for logging output we can look for.
|
|
20
|
+
|
|
21
|
+
Run the agents again to find any logs that could help us reproduce the bug.
|
|
22
|
+
|
|
23
|
+
Keep running these agents until you have a good idea of what is going on.
|
|
24
|
+
|
|
25
|
+
## Phase 2: Visual Reproduction with Playwright
|
|
26
|
+
|
|
27
|
+
If the bug is UI-related or involves user flows, use Playwright to visually reproduce it:
|
|
28
|
+
|
|
29
|
+
### Step 1: Verify Server is Running
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
mcp__plugin_compound-engineering_pw__browser_navigate({ url: "http://localhost:3000" })
|
|
33
|
+
mcp__plugin_compound-engineering_pw__browser_snapshot({})
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
If server not running, inform user to start `bin/dev`.
|
|
37
|
+
|
|
38
|
+
### Step 2: Navigate to Affected Area
|
|
39
|
+
|
|
40
|
+
Based on the issue description, navigate to the relevant page:
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
mcp__plugin_compound-engineering_pw__browser_navigate({ url: "http://localhost:3000/[affected_route]" })
|
|
44
|
+
mcp__plugin_compound-engineering_pw__browser_snapshot({})
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Step 3: Capture Screenshots
|
|
48
|
+
|
|
49
|
+
Take screenshots at each step of reproducing the bug:
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
mcp__plugin_compound-engineering_pw__browser_take_screenshot({ filename: "bug-[issue]-step-1.png" })
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Step 4: Follow User Flow
|
|
56
|
+
|
|
57
|
+
Reproduce the exact steps from the issue:
|
|
58
|
+
|
|
59
|
+
1. **Read the issue's reproduction steps**
|
|
60
|
+
2. **Execute each step using Playwright:**
|
|
61
|
+
- `browser_click` for clicking elements
|
|
62
|
+
- `browser_type` for filling forms
|
|
63
|
+
- `browser_snapshot` to see the current state
|
|
64
|
+
- `browser_take_screenshot` to capture evidence
|
|
65
|
+
|
|
66
|
+
3. **Check for console errors:**
|
|
67
|
+
```
|
|
68
|
+
mcp__plugin_compound-engineering_pw__browser_console_messages({ level: "error" })
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Step 5: Capture Bug State
|
|
72
|
+
|
|
73
|
+
When you reproduce the bug:
|
|
74
|
+
|
|
75
|
+
1. Take a screenshot of the bug state
|
|
76
|
+
2. Capture console errors
|
|
77
|
+
3. Document the exact steps that triggered it
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
mcp__plugin_compound-engineering_pw__browser_take_screenshot({ filename: "bug-[issue]-reproduced.png" })
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Phase 3: Document Findings
|
|
84
|
+
|
|
85
|
+
**Reference Collection:**
|
|
86
|
+
|
|
87
|
+
- [ ] Document all research findings with specific file paths (e.g., `app/services/example_service.rb:42`)
|
|
88
|
+
- [ ] Include screenshots showing the bug reproduction
|
|
89
|
+
- [ ] List console errors if any
|
|
90
|
+
- [ ] Document the exact reproduction steps
|
|
91
|
+
|
|
92
|
+
## Phase 4: Report Back
|
|
93
|
+
|
|
94
|
+
Add a comment to the issue with:
|
|
95
|
+
|
|
96
|
+
1. **Findings** - What you discovered about the cause
|
|
97
|
+
2. **Reproduction Steps** - Exact steps to reproduce (verified)
|
|
98
|
+
3. **Screenshots** - Visual evidence of the bug (upload captured screenshots)
|
|
99
|
+
4. **Relevant Code** - File paths and line numbers
|
|
100
|
+
5. **Suggested Fix** - If you have one
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: resolve_parallel
|
|
3
|
+
description: Resolve all TODO comments using parallel processing
|
|
4
|
+
argument-hint: "[optional: specific TODO pattern or file]"
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Resolve all TODO comments using parallel processing.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
### 1. Analyze
|
|
13
|
+
|
|
14
|
+
Gather the things todo from above.
|
|
15
|
+
|
|
16
|
+
### 2. Plan
|
|
17
|
+
|
|
18
|
+
Create a TodoWrite list of all unresolved items grouped by type.Make sure to look at dependencies that might occur and prioritize the ones needed by others. For example, if you need to change a name, you must wait to do the others. Output a mermaid flow diagram showing how we can do this. Can we do everything in parallel? Do we need to do one first that leads to others in parallel? I'll put the to-dos in the mermaid diagram flow‑wise so the agent knows how to proceed in order.
|
|
19
|
+
|
|
20
|
+
### 3. Implement (PARALLEL)
|
|
21
|
+
|
|
22
|
+
Spawn a pr-comment-resolver agent for each unresolved item in parallel.
|
|
23
|
+
|
|
24
|
+
So if there are 3 comments, it will spawn 3 pr-comment-resolver agents in parallel. liek this
|
|
25
|
+
|
|
26
|
+
1. Task pr-comment-resolver(comment1)
|
|
27
|
+
2. Task pr-comment-resolver(comment2)
|
|
28
|
+
3. Task pr-comment-resolver(comment3)
|
|
29
|
+
|
|
30
|
+
Always run all in parallel subagents/Tasks for each Todo item.
|
|
31
|
+
|
|
32
|
+
### 4. Commit & Resolve
|
|
33
|
+
|
|
34
|
+
- Commit changes
|
|
35
|
+
- Push to remote
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: resolve_todo_parallel
|
|
3
|
+
description: Resolve all pending CLI todos using parallel processing
|
|
4
|
+
argument-hint: "[optional: specific todo ID or pattern]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Resolve all TODO comments using parallel processing.
|
|
8
|
+
|
|
9
|
+
## Workflow
|
|
10
|
+
|
|
11
|
+
### 1. Analyze
|
|
12
|
+
|
|
13
|
+
Get all unresolved TODOs from the /todos/\*.md directory
|
|
14
|
+
|
|
15
|
+
If any todo recommends deleting, removing, or gitignoring files in `docs/plans/` or `docs/solutions/`, skip it and mark it as `wont_fix`. These are compound-engineering pipeline artifacts that are intentional and permanent.
|
|
16
|
+
|
|
17
|
+
### 2. Plan
|
|
18
|
+
|
|
19
|
+
Create a TodoWrite list of all unresolved items grouped by type.Make sure to look at dependencies that might occur and prioritize the ones needed by others. For example, if you need to change a name, you must wait to do the others. Output a mermaid flow diagram showing how we can do this. Can we do everything in parallel? Do we need to do one first that leads to others in parallel? I'll put the to-dos in the mermaid diagram flow‑wise so the agent knows how to proceed in order.
|
|
20
|
+
|
|
21
|
+
### 3. Implement (PARALLEL)
|
|
22
|
+
|
|
23
|
+
Spawn a pr-comment-resolver agent for each unresolved item in parallel.
|
|
24
|
+
|
|
25
|
+
So if there are 3 comments, it will spawn 3 pr-comment-resolver agents in parallel. liek this
|
|
26
|
+
|
|
27
|
+
1. Task pr-comment-resolver(comment1)
|
|
28
|
+
2. Task pr-comment-resolver(comment2)
|
|
29
|
+
3. Task pr-comment-resolver(comment3)
|
|
30
|
+
|
|
31
|
+
Always run all in parallel subagents/Tasks for each Todo item.
|
|
32
|
+
|
|
33
|
+
### 4. Commit & Resolve
|
|
34
|
+
|
|
35
|
+
- Commit changes
|
|
36
|
+
- Remove the TODO from the file, and mark it as resolved.
|
|
37
|
+
- Push to remote
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: slfg
|
|
3
|
+
description: Full autonomous engineering workflow using swarm mode for parallel execution
|
|
4
|
+
argument-hint: "[feature description]"
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Swarm-enabled LFG. Run these steps in order, parallelizing where indicated.
|
|
9
|
+
|
|
10
|
+
## Sequential Phase
|
|
11
|
+
|
|
12
|
+
1. `/ralph-wiggum:ralph-loop "finish all slash commands" --completion-promise "DONE"`
|
|
13
|
+
2. `/workflows:plan $ARGUMENTS`
|
|
14
|
+
3. `/compound-engineering:deepen-plan`
|
|
15
|
+
4. `/workflows:work` — **Use swarm mode**: Make a Task list and launch an army of agent swarm subagents to build the plan
|
|
16
|
+
|
|
17
|
+
## Parallel Phase
|
|
18
|
+
|
|
19
|
+
After work completes, launch steps 5 and 6 as **parallel swarm agents** (both only need code to be written):
|
|
20
|
+
|
|
21
|
+
5. `/workflows:review` — spawn as background Task agent
|
|
22
|
+
6. `/compound-engineering:test-browser` — spawn as background Task agent
|
|
23
|
+
|
|
24
|
+
Wait for both to complete before continuing.
|
|
25
|
+
|
|
26
|
+
## Finalize Phase
|
|
27
|
+
|
|
28
|
+
7. `/compound-engineering:resolve_todo_parallel` — resolve any findings from the review
|
|
29
|
+
8. `/compound-engineering:feature-video` — record the final walkthrough and add to PR
|
|
30
|
+
9. Output `<promise>DONE</promise>` when video is in PR
|
|
31
|
+
|
|
32
|
+
Start with step 1 now.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: technical_review
|
|
3
|
+
description: Have multiple specialized agents review the technical approach and architecture of a plan in parallel
|
|
4
|
+
argument-hint: "[plan file path or plan content]"
|
|
5
|
+
disable-model-invocation: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Have @agent-dhh-rails-reviewer @agent-kieran-rails-reviewer @agent-code-simplicity-reviewer review the technical approach in this plan in parallel.
|