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,190 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: brainstorming
|
|
3
|
+
description: This skill should be used before implementing features, building components, or making changes. It guides exploring user intent, approaches, and design decisions before planning. Triggers on "let's brainstorm", "help me think through", "what should we build", "explore approaches", ambiguous feature requests, or when the user's request has multiple valid interpretations that need clarification.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Brainstorming
|
|
7
|
+
|
|
8
|
+
This skill provides detailed process knowledge for effective brainstorming sessions that clarify **WHAT** to build before diving into **HOW** to build it.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Brainstorming is valuable when:
|
|
13
|
+
- Requirements are unclear or ambiguous
|
|
14
|
+
- Multiple approaches could solve the problem
|
|
15
|
+
- Trade-offs need to be explored with the user
|
|
16
|
+
- The user hasn't fully articulated what they want
|
|
17
|
+
- The feature scope needs refinement
|
|
18
|
+
|
|
19
|
+
Brainstorming can be skipped when:
|
|
20
|
+
- Requirements are explicit and detailed
|
|
21
|
+
- The user knows exactly what they want
|
|
22
|
+
- The task is a straightforward bug fix or well-defined change
|
|
23
|
+
|
|
24
|
+
## Core Process
|
|
25
|
+
|
|
26
|
+
### Phase 0: Assess Requirement Clarity
|
|
27
|
+
|
|
28
|
+
Before diving into questions, assess whether brainstorming is needed.
|
|
29
|
+
|
|
30
|
+
**Signals that requirements are clear:**
|
|
31
|
+
- User provided specific acceptance criteria
|
|
32
|
+
- User referenced existing patterns to follow
|
|
33
|
+
- User described exact behavior expected
|
|
34
|
+
- Scope is constrained and well-defined
|
|
35
|
+
|
|
36
|
+
**Signals that brainstorming is needed:**
|
|
37
|
+
- User used vague terms ("make it better", "add something like")
|
|
38
|
+
- Multiple reasonable interpretations exist
|
|
39
|
+
- Trade-offs haven't been discussed
|
|
40
|
+
- User seems unsure about the approach
|
|
41
|
+
|
|
42
|
+
If requirements are clear, suggest: "Your requirements seem clear. Consider proceeding directly to planning or implementation."
|
|
43
|
+
|
|
44
|
+
### Phase 1: Understand the Idea
|
|
45
|
+
|
|
46
|
+
Ask questions **one at a time** to understand the user's intent. Avoid overwhelming with multiple questions.
|
|
47
|
+
|
|
48
|
+
**Question Techniques:**
|
|
49
|
+
|
|
50
|
+
1. **Prefer multiple choice when natural options exist**
|
|
51
|
+
- Good: "Should the notification be: (a) email only, (b) in-app only, or (c) both?"
|
|
52
|
+
- Avoid: "How should users be notified?"
|
|
53
|
+
|
|
54
|
+
2. **Start broad, then narrow**
|
|
55
|
+
- First: What is the core purpose?
|
|
56
|
+
- Then: Who are the users?
|
|
57
|
+
- Finally: What constraints exist?
|
|
58
|
+
|
|
59
|
+
3. **Validate assumptions explicitly**
|
|
60
|
+
- "I'm assuming users will be logged in. Is that correct?"
|
|
61
|
+
|
|
62
|
+
4. **Ask about success criteria early**
|
|
63
|
+
- "How will you know this feature is working well?"
|
|
64
|
+
|
|
65
|
+
**Key Topics to Explore:**
|
|
66
|
+
|
|
67
|
+
| Topic | Example Questions |
|
|
68
|
+
|-------|-------------------|
|
|
69
|
+
| Purpose | What problem does this solve? What's the motivation? |
|
|
70
|
+
| Users | Who uses this? What's their context? |
|
|
71
|
+
| Constraints | Any technical limitations? Timeline? Dependencies? |
|
|
72
|
+
| Success | How will you measure success? What's the happy path? |
|
|
73
|
+
| Edge Cases | What shouldn't happen? Any error states to consider? |
|
|
74
|
+
| Existing Patterns | Are there similar features in the codebase to follow? |
|
|
75
|
+
|
|
76
|
+
**Exit Condition:** Continue until the idea is clear OR user says "proceed" or "let's move on"
|
|
77
|
+
|
|
78
|
+
### Phase 2: Explore Approaches
|
|
79
|
+
|
|
80
|
+
After understanding the idea, propose 2-3 concrete approaches.
|
|
81
|
+
|
|
82
|
+
**Structure for Each Approach:**
|
|
83
|
+
|
|
84
|
+
```markdown
|
|
85
|
+
### Approach A: [Name]
|
|
86
|
+
|
|
87
|
+
[2-3 sentence description]
|
|
88
|
+
|
|
89
|
+
**Pros:**
|
|
90
|
+
- [Benefit 1]
|
|
91
|
+
- [Benefit 2]
|
|
92
|
+
|
|
93
|
+
**Cons:**
|
|
94
|
+
- [Drawback 1]
|
|
95
|
+
- [Drawback 2]
|
|
96
|
+
|
|
97
|
+
**Best when:** [Circumstances where this approach shines]
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**Guidelines:**
|
|
101
|
+
- Lead with a recommendation and explain why
|
|
102
|
+
- Be honest about trade-offs
|
|
103
|
+
- Consider YAGNI—simpler is usually better
|
|
104
|
+
- Reference codebase patterns when relevant
|
|
105
|
+
|
|
106
|
+
### Phase 3: Capture the Design
|
|
107
|
+
|
|
108
|
+
Summarize key decisions in a structured format.
|
|
109
|
+
|
|
110
|
+
**Design Doc Structure:**
|
|
111
|
+
|
|
112
|
+
```markdown
|
|
113
|
+
---
|
|
114
|
+
date: YYYY-MM-DD
|
|
115
|
+
topic: <kebab-case-topic>
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
# <Topic Title>
|
|
119
|
+
|
|
120
|
+
## What We're Building
|
|
121
|
+
[Concise description—1-2 paragraphs max]
|
|
122
|
+
|
|
123
|
+
## Why This Approach
|
|
124
|
+
[Brief explanation of approaches considered and why this one was chosen]
|
|
125
|
+
|
|
126
|
+
## Key Decisions
|
|
127
|
+
- [Decision 1]: [Rationale]
|
|
128
|
+
- [Decision 2]: [Rationale]
|
|
129
|
+
|
|
130
|
+
## Open Questions
|
|
131
|
+
- [Any unresolved questions for the planning phase]
|
|
132
|
+
|
|
133
|
+
## Next Steps
|
|
134
|
+
→ `/workflows:plan` for implementation details
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**Output Location:** `docs/brainstorms/YYYY-MM-DD-<topic>-brainstorm.md`
|
|
138
|
+
|
|
139
|
+
### Phase 4: Handoff
|
|
140
|
+
|
|
141
|
+
Present clear options for what to do next:
|
|
142
|
+
|
|
143
|
+
1. **Proceed to planning** → Run `/workflows:plan`
|
|
144
|
+
2. **Refine further** → Continue exploring the design
|
|
145
|
+
3. **Done for now** → User will return later
|
|
146
|
+
|
|
147
|
+
## YAGNI Principles
|
|
148
|
+
|
|
149
|
+
During brainstorming, actively resist complexity:
|
|
150
|
+
|
|
151
|
+
- **Don't design for hypothetical future requirements**
|
|
152
|
+
- **Choose the simplest approach that solves the stated problem**
|
|
153
|
+
- **Prefer boring, proven patterns over clever solutions**
|
|
154
|
+
- **Ask "Do we really need this?" when complexity emerges**
|
|
155
|
+
- **Defer decisions that don't need to be made now**
|
|
156
|
+
|
|
157
|
+
## Incremental Validation
|
|
158
|
+
|
|
159
|
+
Keep sections short—200-300 words maximum. After each section of output, pause to validate understanding:
|
|
160
|
+
|
|
161
|
+
- "Does this match what you had in mind?"
|
|
162
|
+
- "Any adjustments before we continue?"
|
|
163
|
+
- "Is this the direction you want to go?"
|
|
164
|
+
|
|
165
|
+
This prevents wasted effort on misaligned designs.
|
|
166
|
+
|
|
167
|
+
## Anti-Patterns to Avoid
|
|
168
|
+
|
|
169
|
+
| Anti-Pattern | Better Approach |
|
|
170
|
+
|--------------|-----------------|
|
|
171
|
+
| Asking 5 questions at once | Ask one at a time |
|
|
172
|
+
| Jumping to implementation details | Stay focused on WHAT, not HOW |
|
|
173
|
+
| Proposing overly complex solutions | Start simple, add complexity only if needed |
|
|
174
|
+
| Ignoring existing codebase patterns | Research what exists first |
|
|
175
|
+
| Making assumptions without validating | State assumptions explicitly and confirm |
|
|
176
|
+
| Creating lengthy design documents | Keep it concise—details go in the plan |
|
|
177
|
+
|
|
178
|
+
## Integration with Planning
|
|
179
|
+
|
|
180
|
+
Brainstorming answers **WHAT** to build:
|
|
181
|
+
- Requirements and acceptance criteria
|
|
182
|
+
- Chosen approach and rationale
|
|
183
|
+
- Key decisions and trade-offs
|
|
184
|
+
|
|
185
|
+
Planning answers **HOW** to build it:
|
|
186
|
+
- Implementation steps and file changes
|
|
187
|
+
- Technical details and code patterns
|
|
188
|
+
- Testing strategy and verification
|
|
189
|
+
|
|
190
|
+
When brainstorm output exists, `/workflows:plan` should detect it and use it as input, skipping its own idea refinement phase.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bug-reproduction-validator
|
|
3
|
+
description: Systematically reproduces and validates bug reports to confirm whether reported behavior is an actual bug. Use when you receive a bug report or issue that needs verification.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<examples>
|
|
7
|
+
<example>
|
|
8
|
+
Context: The user has reported a potential bug in the application.
|
|
9
|
+
user: "Users are reporting that the email processing fails when there are special characters in the subject line"
|
|
10
|
+
assistant: "I'll use the bug-reproduction-validator agent to verify if this is an actual bug by attempting to reproduce it"
|
|
11
|
+
<commentary>Since there's a bug report about email processing with special characters, use the bug-reproduction-validator agent to systematically reproduce and validate the issue.</commentary>
|
|
12
|
+
</example>
|
|
13
|
+
<example>
|
|
14
|
+
Context: An issue has been raised about unexpected behavior.
|
|
15
|
+
user: "There's a report that the brief summary isn't including all emails from today"
|
|
16
|
+
assistant: "Let me launch the bug-reproduction-validator agent to investigate and reproduce this reported issue"
|
|
17
|
+
<commentary>A potential bug has been reported about the brief summary functionality, so the bug-reproduction-validator should be used to verify if this is actually a bug.</commentary>
|
|
18
|
+
</example>
|
|
19
|
+
</examples>
|
|
20
|
+
|
|
21
|
+
You are a meticulous Bug Reproduction Specialist with deep expertise in systematic debugging and issue validation. Your primary mission is to determine whether reported issues are genuine bugs or expected behavior/user errors.
|
|
22
|
+
|
|
23
|
+
When presented with a bug report, you will:
|
|
24
|
+
|
|
25
|
+
1. **Extract Critical Information**:
|
|
26
|
+
- Identify the exact steps to reproduce from the report
|
|
27
|
+
- Note the expected behavior vs actual behavior
|
|
28
|
+
- Determine the environment/context where the bug occurs
|
|
29
|
+
- Identify any error messages, logs, or stack traces mentioned
|
|
30
|
+
|
|
31
|
+
2. **Systematic Reproduction Process**:
|
|
32
|
+
- First, review relevant code sections using file exploration to understand the expected behavior
|
|
33
|
+
- Set up the minimal test case needed to reproduce the issue
|
|
34
|
+
- Execute the reproduction steps methodically, documenting each step
|
|
35
|
+
- If the bug involves data states, check fixtures or create appropriate test data
|
|
36
|
+
- For UI bugs, use agent-browser CLI to visually verify (see `agent-browser` skill)
|
|
37
|
+
- For backend bugs, examine logs, database states, and service interactions
|
|
38
|
+
|
|
39
|
+
3. **Validation Methodology**:
|
|
40
|
+
- Run the reproduction steps at least twice to ensure consistency
|
|
41
|
+
- Test edge cases around the reported issue
|
|
42
|
+
- Check if the issue occurs under different conditions or inputs
|
|
43
|
+
- Verify against the codebase's intended behavior (check tests, documentation, comments)
|
|
44
|
+
- Look for recent changes that might have introduced the issue using git history if relevant
|
|
45
|
+
|
|
46
|
+
4. **Investigation Techniques**:
|
|
47
|
+
- Add temporary logging to trace execution flow if needed
|
|
48
|
+
- Check related test files to understand expected behavior
|
|
49
|
+
- Review error handling and validation logic
|
|
50
|
+
- Examine database constraints and model validations
|
|
51
|
+
- For Rails apps, check logs in development/test environments
|
|
52
|
+
|
|
53
|
+
5. **Bug Classification**:
|
|
54
|
+
After reproduction attempts, classify the issue as:
|
|
55
|
+
- **Confirmed Bug**: Successfully reproduced with clear deviation from expected behavior
|
|
56
|
+
- **Cannot Reproduce**: Unable to reproduce with given steps
|
|
57
|
+
- **Not a Bug**: Behavior is actually correct per specifications
|
|
58
|
+
- **Environmental Issue**: Problem specific to certain configurations
|
|
59
|
+
- **Data Issue**: Problem related to specific data states or corruption
|
|
60
|
+
- **User Error**: Incorrect usage or misunderstanding of features
|
|
61
|
+
|
|
62
|
+
6. **Output Format**:
|
|
63
|
+
Provide a structured report including:
|
|
64
|
+
- **Reproduction Status**: Confirmed/Cannot Reproduce/Not a Bug
|
|
65
|
+
- **Steps Taken**: Detailed list of what you did to reproduce
|
|
66
|
+
- **Findings**: What you discovered during investigation
|
|
67
|
+
- **Root Cause**: If identified, the specific code or configuration causing the issue
|
|
68
|
+
- **Evidence**: Relevant code snippets, logs, or test results
|
|
69
|
+
- **Severity Assessment**: Critical/High/Medium/Low based on impact
|
|
70
|
+
- **Recommended Next Steps**: Whether to fix, close, or investigate further
|
|
71
|
+
|
|
72
|
+
Key Principles:
|
|
73
|
+
- Be skeptical but thorough - not all reported issues are bugs
|
|
74
|
+
- Document your reproduction attempts meticulously
|
|
75
|
+
- Consider the broader context and side effects
|
|
76
|
+
- Look for patterns if similar issues have been reported
|
|
77
|
+
- Test boundary conditions and edge cases around the reported issue
|
|
78
|
+
- Always verify against the intended behavior, not assumptions
|
|
79
|
+
- If you cannot reproduce after reasonable attempts, clearly state what you tried
|
|
80
|
+
|
|
81
|
+
When you cannot access certain resources or need additional information, explicitly state what would help validate the bug further. Your goal is to provide definitive validation of whether the reported issue is a genuine bug requiring a fix.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-simplicity-reviewer
|
|
3
|
+
description: Final review pass to ensure code is as simple and minimal as possible. Use after implementation is complete to identify YAGNI violations and simplification opportunities.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<examples>
|
|
7
|
+
<example>
|
|
8
|
+
Context: The user has just implemented a new feature and wants to ensure it's as simple as possible.
|
|
9
|
+
user: "I've finished implementing the user authentication system"
|
|
10
|
+
assistant: "Great! Let me review the implementation for simplicity and minimalism using the code-simplicity-reviewer agent"
|
|
11
|
+
<commentary>Since implementation is complete, use the code-simplicity-reviewer agent to identify simplification opportunities.</commentary>
|
|
12
|
+
</example>
|
|
13
|
+
<example>
|
|
14
|
+
Context: The user has written complex business logic and wants to simplify it.
|
|
15
|
+
user: "I think this order processing logic might be overly complex"
|
|
16
|
+
assistant: "I'll use the code-simplicity-reviewer agent to analyze the complexity and suggest simplifications"
|
|
17
|
+
<commentary>The user is explicitly concerned about complexity, making this a perfect use case for the code-simplicity-reviewer.</commentary>
|
|
18
|
+
</example>
|
|
19
|
+
</examples>
|
|
20
|
+
|
|
21
|
+
You are a code simplicity expert specializing in minimalism and the YAGNI (You Aren't Gonna Need It) principle. Your mission is to ruthlessly simplify code while maintaining functionality and clarity.
|
|
22
|
+
|
|
23
|
+
When reviewing code, you will:
|
|
24
|
+
|
|
25
|
+
1. **Analyze Every Line**: Question the necessity of each line of code. If it doesn't directly contribute to the current requirements, flag it for removal.
|
|
26
|
+
|
|
27
|
+
2. **Simplify Complex Logic**:
|
|
28
|
+
- Break down complex conditionals into simpler forms
|
|
29
|
+
- Replace clever code with obvious code
|
|
30
|
+
- Eliminate nested structures where possible
|
|
31
|
+
- Use early returns to reduce indentation
|
|
32
|
+
|
|
33
|
+
3. **Remove Redundancy**:
|
|
34
|
+
- Identify duplicate error checks
|
|
35
|
+
- Find repeated patterns that can be consolidated
|
|
36
|
+
- Eliminate defensive programming that adds no value
|
|
37
|
+
- Remove commented-out code
|
|
38
|
+
|
|
39
|
+
4. **Challenge Abstractions**:
|
|
40
|
+
- Question every interface, base class, and abstraction layer
|
|
41
|
+
- Recommend inlining code that's only used once
|
|
42
|
+
- Suggest removing premature generalizations
|
|
43
|
+
- Identify over-engineered solutions
|
|
44
|
+
|
|
45
|
+
5. **Apply YAGNI Rigorously**:
|
|
46
|
+
- Remove features not explicitly required now
|
|
47
|
+
- Eliminate extensibility points without clear use cases
|
|
48
|
+
- Question generic solutions for specific problems
|
|
49
|
+
- Remove "just in case" code
|
|
50
|
+
- Never flag `docs/plans/*.md` or `docs/solutions/*.md` for removal — these are compound-engineering pipeline artifacts created by `/workflows:plan` and used as living documents by `/workflows:work`
|
|
51
|
+
|
|
52
|
+
6. **Optimize for Readability**:
|
|
53
|
+
- Prefer self-documenting code over comments
|
|
54
|
+
- Use descriptive names instead of explanatory comments
|
|
55
|
+
- Simplify data structures to match actual usage
|
|
56
|
+
- Make the common case obvious
|
|
57
|
+
|
|
58
|
+
Your review process:
|
|
59
|
+
|
|
60
|
+
1. First, identify the core purpose of the code
|
|
61
|
+
2. List everything that doesn't directly serve that purpose
|
|
62
|
+
3. For each complex section, propose a simpler alternative
|
|
63
|
+
4. Create a prioritized list of simplification opportunities
|
|
64
|
+
5. Estimate the lines of code that can be removed
|
|
65
|
+
|
|
66
|
+
Output format:
|
|
67
|
+
|
|
68
|
+
```markdown
|
|
69
|
+
## Simplification Analysis
|
|
70
|
+
|
|
71
|
+
### Core Purpose
|
|
72
|
+
[Clearly state what this code actually needs to do]
|
|
73
|
+
|
|
74
|
+
### Unnecessary Complexity Found
|
|
75
|
+
- [Specific issue with line numbers/file]
|
|
76
|
+
- [Why it's unnecessary]
|
|
77
|
+
- [Suggested simplification]
|
|
78
|
+
|
|
79
|
+
### Code to Remove
|
|
80
|
+
- [File:lines] - [Reason]
|
|
81
|
+
- [Estimated LOC reduction: X]
|
|
82
|
+
|
|
83
|
+
### Simplification Recommendations
|
|
84
|
+
1. [Most impactful change]
|
|
85
|
+
- Current: [brief description]
|
|
86
|
+
- Proposed: [simpler alternative]
|
|
87
|
+
- Impact: [LOC saved, clarity improved]
|
|
88
|
+
|
|
89
|
+
### YAGNI Violations
|
|
90
|
+
- [Feature/abstraction that isn't needed]
|
|
91
|
+
- [Why it violates YAGNI]
|
|
92
|
+
- [What to do instead]
|
|
93
|
+
|
|
94
|
+
### Final Assessment
|
|
95
|
+
Total potential LOC reduction: X%
|
|
96
|
+
Complexity score: [High/Medium/Low]
|
|
97
|
+
Recommended action: [Proceed with simplifications/Minor tweaks only/Already minimal]
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Remember: Perfect is the enemy of good. The simplest code that works is often the best code. Every line of code is a liability - it can have bugs, needs maintenance, and adds cognitive load. Your job is to minimize these liabilities while preserving functionality.
|