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,123 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Explore requirements and approaches through collaborative dialogue before planning implementation
|
|
3
|
+
argument-hint: "[feature idea or problem to explore]"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Brainstorm a Feature or Improvement
|
|
7
|
+
|
|
8
|
+
**Note: The current year is 2026.** Use this when dating brainstorm documents.
|
|
9
|
+
|
|
10
|
+
Brainstorming helps answer **WHAT** to build through collaborative dialogue. It precedes `/workflows-plan`, which answers **HOW** to build it.
|
|
11
|
+
|
|
12
|
+
**Process knowledge:** Load the `brainstorming` skill for detailed question techniques, approach exploration patterns, and YAGNI principles.
|
|
13
|
+
|
|
14
|
+
## Feature Description
|
|
15
|
+
|
|
16
|
+
<feature_description> #$ARGUMENTS </feature_description>
|
|
17
|
+
|
|
18
|
+
**If the feature description above is empty, ask the user:** "What would you like to explore? Please describe the feature, problem, or improvement you're thinking about."
|
|
19
|
+
|
|
20
|
+
Do not proceed until you have a feature description from the user.
|
|
21
|
+
|
|
22
|
+
## Execution Flow
|
|
23
|
+
|
|
24
|
+
### Phase 0: Assess Requirements Clarity
|
|
25
|
+
|
|
26
|
+
Evaluate whether brainstorming is needed based on the feature description.
|
|
27
|
+
|
|
28
|
+
**Clear requirements indicators:**
|
|
29
|
+
- Specific acceptance criteria provided
|
|
30
|
+
- Referenced existing patterns to follow
|
|
31
|
+
- Described exact expected behavior
|
|
32
|
+
- Constrained, well-defined scope
|
|
33
|
+
|
|
34
|
+
**If requirements are already clear:**
|
|
35
|
+
Use **ask_user_question tool** to suggest: "Your requirements seem detailed enough to proceed directly to planning. Should I run `/workflows-plan` instead, or would you like to explore the idea further?"
|
|
36
|
+
|
|
37
|
+
### Phase 1: Understand the Idea
|
|
38
|
+
|
|
39
|
+
#### 1.1 Repository Research (Lightweight)
|
|
40
|
+
|
|
41
|
+
Run a quick repo scan to understand existing patterns:
|
|
42
|
+
|
|
43
|
+
- Run subagent with agent="repo-research-analyst" and task=""Understand existing patterns related to: <feature_description>"".
|
|
44
|
+
|
|
45
|
+
Focus on: similar features, established patterns, CLAUDE.md guidance.
|
|
46
|
+
|
|
47
|
+
#### 1.2 Collaborative Dialogue
|
|
48
|
+
|
|
49
|
+
Use the **ask_user_question tool** to ask questions **one at a time**.
|
|
50
|
+
|
|
51
|
+
**Guidelines (see `brainstorming` skill for detailed techniques):**
|
|
52
|
+
- Prefer multiple choice when natural options exist
|
|
53
|
+
- Start broad (purpose, users) then narrow (constraints, edge cases)
|
|
54
|
+
- Validate assumptions explicitly
|
|
55
|
+
- Ask about success criteria
|
|
56
|
+
|
|
57
|
+
**Exit condition:** Continue until the idea is clear OR user says "proceed"
|
|
58
|
+
|
|
59
|
+
### Phase 2: Explore Approaches
|
|
60
|
+
|
|
61
|
+
Propose **2-3 concrete approaches** based on research and conversation.
|
|
62
|
+
|
|
63
|
+
For each approach, provide:
|
|
64
|
+
- Brief description (2-3 sentences)
|
|
65
|
+
- Pros and cons
|
|
66
|
+
- When it's best suited
|
|
67
|
+
|
|
68
|
+
Lead with your recommendation and explain why. Apply YAGNI—prefer simpler solutions.
|
|
69
|
+
|
|
70
|
+
Use **ask_user_question tool** to ask which approach the user prefers.
|
|
71
|
+
|
|
72
|
+
### Phase 3: Capture the Design
|
|
73
|
+
|
|
74
|
+
Write a brainstorm document to `docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md`.
|
|
75
|
+
|
|
76
|
+
**Document structure:** See the `brainstorming` skill for the template format. Key sections: What We're Building, Why This Approach, Key Decisions, Open Questions.
|
|
77
|
+
|
|
78
|
+
Ensure `docs/brainstorms/` directory exists before writing.
|
|
79
|
+
|
|
80
|
+
### Phase 4: Handoff
|
|
81
|
+
|
|
82
|
+
Use **ask_user_question tool** to present next steps:
|
|
83
|
+
|
|
84
|
+
**Question:** "Brainstorm captured. What would you like to do next?"
|
|
85
|
+
|
|
86
|
+
**Options:**
|
|
87
|
+
1. **Review and refine** - Improve the document through structured self-review
|
|
88
|
+
2. **Proceed to planning** - Run `/workflows-plan` (will auto-detect this brainstorm)
|
|
89
|
+
3. **Done for now** - Return later
|
|
90
|
+
|
|
91
|
+
**If user selects "Review and refine":**
|
|
92
|
+
|
|
93
|
+
Load the `document-review` skill and apply it to the brainstorm document.
|
|
94
|
+
|
|
95
|
+
When document-review returns "Review complete", present next steps:
|
|
96
|
+
|
|
97
|
+
1. **Move to planning** - Continue to `/workflows-plan` with this document
|
|
98
|
+
2. **Done for now** - Brainstorming complete. To start planning later: `/workflows-plan [document-path]`
|
|
99
|
+
|
|
100
|
+
## Output Summary
|
|
101
|
+
|
|
102
|
+
When complete, display:
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
Brainstorm complete!
|
|
106
|
+
|
|
107
|
+
Document: docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md
|
|
108
|
+
|
|
109
|
+
Key decisions:
|
|
110
|
+
- [Decision 1]
|
|
111
|
+
- [Decision 2]
|
|
112
|
+
|
|
113
|
+
Next: Run `/workflows-plan` when ready to implement.
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Important Guidelines
|
|
117
|
+
|
|
118
|
+
- **Stay focused on WHAT, not HOW** - Implementation details belong in the plan
|
|
119
|
+
- **Ask one question at a time** - Don't overwhelm
|
|
120
|
+
- **Apply YAGNI** - Prefer simpler approaches
|
|
121
|
+
- **Keep outputs concise** - 200-300 words per section max
|
|
122
|
+
|
|
123
|
+
NEVER CODE! Just explore and document decisions.
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Document a recently solved problem to compound your team's knowledge
|
|
3
|
+
argument-hint: "[optional: brief context about the fix]"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /compound
|
|
7
|
+
|
|
8
|
+
Coordinate multiple subagents working in parallel to document a recently solved problem.
|
|
9
|
+
|
|
10
|
+
## Purpose
|
|
11
|
+
|
|
12
|
+
Captures problem solutions while context is fresh, creating structured documentation in `docs/solutions/` with YAML frontmatter for searchability and future reference. Uses parallel subagents for maximum efficiency.
|
|
13
|
+
|
|
14
|
+
**Why "compound"?** Each documented solution compounds your team's knowledge. The first time you solve a problem takes research. Document it, and the next occurrence takes minutes. Knowledge compounds.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
/workflows-compound # Document the most recent fix
|
|
20
|
+
/workflows-compound [brief context] # Provide additional context hint
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Execution Strategy: Two-Phase Orchestration
|
|
24
|
+
|
|
25
|
+
<critical_requirement>
|
|
26
|
+
**Only ONE file gets written - the final documentation.**
|
|
27
|
+
|
|
28
|
+
Phase 1 subagents return TEXT DATA to the orchestrator. They must NOT use Write, Edit, or create any files. Only the orchestrator (Phase 2) writes the final documentation file.
|
|
29
|
+
</critical_requirement>
|
|
30
|
+
|
|
31
|
+
### Phase 1: Parallel Research
|
|
32
|
+
|
|
33
|
+
<parallel_tasks>
|
|
34
|
+
|
|
35
|
+
Launch these subagents IN PARALLEL. Each returns text data to the orchestrator.
|
|
36
|
+
|
|
37
|
+
#### 1. **Context Analyzer**
|
|
38
|
+
- Extracts conversation history
|
|
39
|
+
- Identifies problem type, component, symptoms
|
|
40
|
+
- Validates against schema
|
|
41
|
+
- Returns: YAML frontmatter skeleton
|
|
42
|
+
|
|
43
|
+
#### 2. **Solution Extractor**
|
|
44
|
+
- Analyzes all investigation steps
|
|
45
|
+
- Identifies root cause
|
|
46
|
+
- Extracts working solution with code examples
|
|
47
|
+
- Returns: Solution content block
|
|
48
|
+
|
|
49
|
+
#### 3. **Related Docs Finder**
|
|
50
|
+
- Searches `docs/solutions/` for related documentation
|
|
51
|
+
- Identifies cross-references and links
|
|
52
|
+
- Finds related GitHub issues
|
|
53
|
+
- Returns: Links and relationships
|
|
54
|
+
|
|
55
|
+
#### 4. **Prevention Strategist**
|
|
56
|
+
- Develops prevention strategies
|
|
57
|
+
- Creates best practices guidance
|
|
58
|
+
- Generates test cases if applicable
|
|
59
|
+
- Returns: Prevention/testing content
|
|
60
|
+
|
|
61
|
+
#### 5. **Category Classifier**
|
|
62
|
+
- Determines optimal `docs/solutions/` category
|
|
63
|
+
- Validates category against schema
|
|
64
|
+
- Suggests filename based on slug
|
|
65
|
+
- Returns: Final path and filename
|
|
66
|
+
|
|
67
|
+
</parallel_tasks>
|
|
68
|
+
|
|
69
|
+
### Phase 2: Assembly & Write
|
|
70
|
+
|
|
71
|
+
<sequential_tasks>
|
|
72
|
+
|
|
73
|
+
**WAIT for all Phase 1 subagents to complete before proceeding.**
|
|
74
|
+
|
|
75
|
+
The orchestrating agent (main conversation) performs these steps:
|
|
76
|
+
|
|
77
|
+
1. Collect all text results from Phase 1 subagents
|
|
78
|
+
2. Assemble complete markdown file from the collected pieces
|
|
79
|
+
3. Validate YAML frontmatter against schema
|
|
80
|
+
4. Create directory if needed: `mkdir -p docs/solutions/[category]/`
|
|
81
|
+
5. Write the SINGLE final file: `docs/solutions/[category]/[filename].md`
|
|
82
|
+
|
|
83
|
+
</sequential_tasks>
|
|
84
|
+
|
|
85
|
+
### Phase 3: Optional Enhancement
|
|
86
|
+
|
|
87
|
+
**WAIT for Phase 2 to complete before proceeding.**
|
|
88
|
+
|
|
89
|
+
<parallel_tasks>
|
|
90
|
+
|
|
91
|
+
Based on problem type, optionally invoke specialized agents to review the documentation:
|
|
92
|
+
|
|
93
|
+
- **performance_issue** → `performance-oracle`
|
|
94
|
+
- **security_issue** → `security-sentinel`
|
|
95
|
+
- **database_issue** → `data-integrity-guardian`
|
|
96
|
+
- **test_failure** → `cora-test-reviewer`
|
|
97
|
+
- Any code-heavy issue → `kieran-rails-reviewer` + `code-simplicity-reviewer`
|
|
98
|
+
|
|
99
|
+
</parallel_tasks>
|
|
100
|
+
|
|
101
|
+
## What It Captures
|
|
102
|
+
|
|
103
|
+
- **Problem symptom**: Exact error messages, observable behavior
|
|
104
|
+
- **Investigation steps tried**: What didn't work and why
|
|
105
|
+
- **Root cause analysis**: Technical explanation
|
|
106
|
+
- **Working solution**: Step-by-step fix with code examples
|
|
107
|
+
- **Prevention strategies**: How to avoid in future
|
|
108
|
+
- **Cross-references**: Links to related issues and docs
|
|
109
|
+
|
|
110
|
+
## Preconditions
|
|
111
|
+
|
|
112
|
+
<preconditions enforcement="advisory">
|
|
113
|
+
<check condition="problem_solved">
|
|
114
|
+
Problem has been solved (not in-progress)
|
|
115
|
+
</check>
|
|
116
|
+
<check condition="solution_verified">
|
|
117
|
+
Solution has been verified working
|
|
118
|
+
</check>
|
|
119
|
+
<check condition="non_trivial">
|
|
120
|
+
Non-trivial problem (not simple typo or obvious error)
|
|
121
|
+
</check>
|
|
122
|
+
</preconditions>
|
|
123
|
+
|
|
124
|
+
## What It Creates
|
|
125
|
+
|
|
126
|
+
**Organized documentation:**
|
|
127
|
+
|
|
128
|
+
- File: `docs/solutions/[category]/[filename].md`
|
|
129
|
+
|
|
130
|
+
**Categories auto-detected from problem:**
|
|
131
|
+
|
|
132
|
+
- build-errors/
|
|
133
|
+
- test-failures/
|
|
134
|
+
- runtime-errors/
|
|
135
|
+
- performance-issues/
|
|
136
|
+
- database-issues/
|
|
137
|
+
- security-issues/
|
|
138
|
+
- ui-bugs/
|
|
139
|
+
- integration-issues/
|
|
140
|
+
- logic-errors/
|
|
141
|
+
|
|
142
|
+
## Common Mistakes to Avoid
|
|
143
|
+
|
|
144
|
+
| ❌ Wrong | ✅ Correct |
|
|
145
|
+
|----------|-----------|
|
|
146
|
+
| Subagents write files like `context-analysis.md`, `solution-draft.md` | Subagents return text data; orchestrator writes one final file |
|
|
147
|
+
| Research and assembly run in parallel | Research completes → then assembly runs |
|
|
148
|
+
| Multiple files created during workflow | Single file: `docs/solutions/[category]/[filename].md` |
|
|
149
|
+
|
|
150
|
+
## Success Output
|
|
151
|
+
|
|
152
|
+
```
|
|
153
|
+
✓ Documentation complete
|
|
154
|
+
|
|
155
|
+
Subagent Results:
|
|
156
|
+
✓ Context Analyzer: Identified performance_issue in brief_system
|
|
157
|
+
✓ Solution Extractor: 3 code fixes
|
|
158
|
+
✓ Related Docs Finder: 2 related issues
|
|
159
|
+
✓ Prevention Strategist: Prevention strategies, test suggestions
|
|
160
|
+
✓ Category Classifier: `performance-issues`
|
|
161
|
+
|
|
162
|
+
Specialized Agent Reviews (Auto-Triggered):
|
|
163
|
+
✓ performance-oracle: Validated query optimization approach
|
|
164
|
+
✓ kieran-rails-reviewer: Code examples meet Rails standards
|
|
165
|
+
✓ code-simplicity-reviewer: Solution is appropriately minimal
|
|
166
|
+
✓ every-style-editor: Documentation style verified
|
|
167
|
+
|
|
168
|
+
File created:
|
|
169
|
+
- docs/solutions/performance-issues/n-plus-one-brief-generation.md
|
|
170
|
+
|
|
171
|
+
This documentation will be searchable for future reference when similar
|
|
172
|
+
issues occur in the Email Processing or Brief System modules.
|
|
173
|
+
|
|
174
|
+
What's next?
|
|
175
|
+
1. Continue workflow (recommended)
|
|
176
|
+
2. Link related documentation
|
|
177
|
+
3. Update other references
|
|
178
|
+
4. View documentation
|
|
179
|
+
5. Other
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
## The Compounding Philosophy
|
|
183
|
+
|
|
184
|
+
This creates a compounding knowledge system:
|
|
185
|
+
|
|
186
|
+
1. First time you solve "N+1 query in brief generation" → Research (30 min)
|
|
187
|
+
2. Document the solution → docs/solutions/performance-issues/n-plus-one-briefs.md (5 min)
|
|
188
|
+
3. Next time similar issue occurs → Quick lookup (2 min)
|
|
189
|
+
4. Knowledge compounds → Team gets smarter
|
|
190
|
+
|
|
191
|
+
The feedback loop:
|
|
192
|
+
|
|
193
|
+
```
|
|
194
|
+
Build → Test → Find Issue → Research → Improve → Document → Validate → Deploy
|
|
195
|
+
↑ ↓
|
|
196
|
+
└──────────────────────────────────────────────────────────────────────┘
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
**Each unit of engineering work should make subsequent units of work easier—not harder.**
|
|
200
|
+
|
|
201
|
+
## Auto-Invoke
|
|
202
|
+
|
|
203
|
+
<auto_invoke> <trigger_phrases> - "that worked" - "it's fixed" - "working now" - "problem solved" </trigger_phrases>
|
|
204
|
+
|
|
205
|
+
<manual_override> Use /workflows-compound [context] to document immediately without waiting for auto-detection. </manual_override> </auto_invoke>
|
|
206
|
+
|
|
207
|
+
## Routes To
|
|
208
|
+
|
|
209
|
+
`compound-docs` skill
|
|
210
|
+
|
|
211
|
+
## Applicable Specialized Agents
|
|
212
|
+
|
|
213
|
+
Based on problem type, these agents can enhance documentation:
|
|
214
|
+
|
|
215
|
+
### Code Quality & Review
|
|
216
|
+
- **kieran-rails-reviewer**: Reviews code examples for Rails best practices
|
|
217
|
+
- **code-simplicity-reviewer**: Ensures solution code is minimal and clear
|
|
218
|
+
- **pattern-recognition-specialist**: Identifies anti-patterns or repeating issues
|
|
219
|
+
|
|
220
|
+
### Specific Domain Experts
|
|
221
|
+
- **performance-oracle**: Analyzes performance_issue category solutions
|
|
222
|
+
- **security-sentinel**: Reviews security_issue solutions for vulnerabilities
|
|
223
|
+
- **cora-test-reviewer**: Creates test cases for prevention strategies
|
|
224
|
+
- **data-integrity-guardian**: Reviews database_issue migrations and queries
|
|
225
|
+
|
|
226
|
+
### Enhancement & Documentation
|
|
227
|
+
- **best-practices-researcher**: Enriches solution with industry best practices
|
|
228
|
+
- **every-style-editor**: Reviews documentation style and clarity
|
|
229
|
+
- **framework-docs-researcher**: Links to Rails/gem documentation references
|
|
230
|
+
|
|
231
|
+
### When to Invoke
|
|
232
|
+
- **Auto-triggered** (optional): Agents can run post-documentation for enhancement
|
|
233
|
+
- **Manual trigger**: User can invoke agents after /workflows-compound completes for deeper review
|
|
234
|
+
|
|
235
|
+
## Related Commands
|
|
236
|
+
|
|
237
|
+
- `/research [topic]` - Deep investigation (searches docs/solutions/ for patterns)
|
|
238
|
+
- `/workflows-plan` - Planning workflow (references documented solutions)
|