@lvlup-sw/exarchos 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +21 -0
- package/commands/dogfood.md +31 -0
- package/commands/oneshot.md +178 -0
- package/commands/prune.md +90 -0
- package/dist/exarchos.js +292 -289
- package/package.json +7 -3
- package/skills/{cleanup → claude/cleanup}/SKILL.md +6 -0
- package/skills/{delegation → claude/delegation}/SKILL.md +50 -29
- package/skills/{delegation → claude/delegation}/references/troubleshooting.md +2 -2
- package/skills/claude/dogfood/SKILL.md +235 -0
- package/skills/claude/dogfood/references/report-template.md +109 -0
- package/skills/claude/dogfood/references/root-cause-patterns.md +227 -0
- package/skills/claude/oneshot-workflow/SKILL.md +468 -0
- package/skills/claude/oneshot-workflow/references/choice-state.md +65 -0
- package/skills/claude/prune-workflows/SKILL.md +290 -0
- package/skills/claude/prune-workflows/references/safeguards.md +74 -0
- package/skills/{quality-review → claude/quality-review}/SKILL.md +2 -0
- package/skills/{shepherd → claude/shepherd}/SKILL.md +4 -0
- package/skills/{spec-review → claude/spec-review}/SKILL.md +2 -0
- package/skills/{synthesis → claude/synthesis}/SKILL.md +40 -0
- package/skills/{workflow-state → claude/workflow-state}/SKILL.md +40 -4
- package/skills/{workflow-state → claude/workflow-state}/references/phase-transitions.md +22 -0
- package/skills/codex/brainstorming/SKILL.md +182 -0
- package/skills/codex/brainstorming/references/design-template.md +107 -0
- package/skills/codex/brainstorming/references/worked-example.md +58 -0
- package/skills/codex/cleanup/SKILL.md +169 -0
- package/skills/codex/cleanup/references/merge-verification.md +40 -0
- package/skills/codex/debug/SKILL.md +247 -0
- package/skills/codex/debug/references/hotfix-track.md +105 -0
- package/skills/codex/debug/references/investigation-checklist.md +217 -0
- package/skills/codex/debug/references/rca-template.md +150 -0
- package/skills/codex/debug/references/state-schema.md +294 -0
- package/skills/codex/debug/references/thorough-track.md +171 -0
- package/skills/codex/debug/references/triage-questions.md +155 -0
- package/skills/codex/debug/references/troubleshooting.md +47 -0
- package/skills/codex/delegation/SKILL.md +353 -0
- package/skills/codex/delegation/references/adaptive-orchestration.md +31 -0
- package/skills/codex/delegation/references/agent-teams-saga.md +254 -0
- package/skills/codex/delegation/references/fix-mode.md +118 -0
- package/skills/codex/delegation/references/fixer-prompt.md +174 -0
- package/skills/codex/delegation/references/implementer-prompt.md +401 -0
- package/skills/codex/delegation/references/parallel-strategy.md +124 -0
- package/skills/codex/delegation/references/pbt-patterns.md +172 -0
- package/skills/codex/delegation/references/pr-fixes-mode.md +155 -0
- package/skills/codex/delegation/references/rationalization-refutation.md +15 -0
- package/skills/codex/delegation/references/state-management.md +84 -0
- package/skills/codex/delegation/references/testing-patterns.md +146 -0
- package/skills/codex/delegation/references/troubleshooting.md +109 -0
- package/skills/codex/delegation/references/worked-example.md +104 -0
- package/skills/codex/delegation/references/workflow-steps.md +131 -0
- package/skills/codex/delegation/references/worktree-enforcement.md +71 -0
- package/skills/codex/dogfood/SKILL.md +235 -0
- package/skills/codex/dogfood/references/report-template.md +109 -0
- package/skills/codex/dogfood/references/root-cause-patterns.md +227 -0
- package/skills/codex/git-worktrees/SKILL.md +193 -0
- package/skills/codex/git-worktrees/references/commands-reference.md +78 -0
- package/skills/codex/implementation-planning/SKILL.md +289 -0
- package/skills/codex/implementation-planning/references/plan-document-template.md +42 -0
- package/skills/codex/implementation-planning/references/rationalization-refutation.md +13 -0
- package/skills/codex/implementation-planning/references/spec-tracing-guide.md +51 -0
- package/skills/codex/implementation-planning/references/task-template.md +63 -0
- package/skills/codex/implementation-planning/references/testing-strategy-guide.md +109 -0
- package/skills/codex/implementation-planning/references/worked-example.md +76 -0
- package/skills/codex/oneshot-workflow/SKILL.md +468 -0
- package/skills/codex/oneshot-workflow/references/choice-state.md +65 -0
- package/skills/codex/prune-workflows/SKILL.md +290 -0
- package/skills/codex/prune-workflows/references/safeguards.md +74 -0
- package/skills/codex/quality-review/SKILL.md +371 -0
- package/skills/codex/quality-review/references/auto-transition.md +47 -0
- package/skills/codex/quality-review/references/axiom-integration.md +135 -0
- package/skills/codex/quality-review/references/code-quality-checklist.md +171 -0
- package/skills/codex/quality-review/references/convergence-and-verdict.md +48 -0
- package/skills/codex/quality-review/references/gate-execution.md +60 -0
- package/skills/codex/quality-review/references/rationalization-refutation.md +13 -0
- package/skills/codex/quality-review/references/review-report-template.md +65 -0
- package/skills/codex/quality-review/references/security-checklist.md +79 -0
- package/skills/codex/quality-review/references/typescript-standards.md +24 -0
- package/skills/codex/refactor/SKILL.md +196 -0
- package/skills/codex/refactor/references/brief-template.md +81 -0
- package/skills/codex/refactor/references/doc-update-checklist.md +113 -0
- package/skills/codex/refactor/references/explore-checklist.md +79 -0
- package/skills/codex/refactor/references/overhaul-track.md +194 -0
- package/skills/codex/refactor/references/phases/auto-chain.md +267 -0
- package/skills/codex/refactor/references/phases/brief.md +176 -0
- package/skills/codex/refactor/references/phases/explore.md +132 -0
- package/skills/codex/refactor/references/phases/overhaul-delegate.md +136 -0
- package/skills/codex/refactor/references/phases/overhaul-plan.md +312 -0
- package/skills/codex/refactor/references/phases/overhaul-review.md +304 -0
- package/skills/codex/refactor/references/phases/polish-implement.md +347 -0
- package/skills/codex/refactor/references/phases/polish-validate.md +218 -0
- package/skills/codex/refactor/references/phases/update-docs.md +234 -0
- package/skills/codex/refactor/references/polish-track.md +152 -0
- package/skills/codex/shepherd/SKILL.md +251 -0
- package/skills/codex/shepherd/references/assess-checklist.md +170 -0
- package/skills/codex/shepherd/references/escalation-criteria.md +53 -0
- package/skills/codex/shepherd/references/fix-strategies.md +289 -0
- package/skills/codex/shepherd/references/gate-event-emission.md +47 -0
- package/skills/codex/shepherd/references/shepherd-event-schemas.md +56 -0
- package/skills/codex/spec-review/SKILL.md +294 -0
- package/skills/codex/spec-review/references/rationalization-refutation.md +13 -0
- package/skills/codex/spec-review/references/review-checklist.md +79 -0
- package/skills/codex/spec-review/references/worked-example.md +72 -0
- package/skills/codex/synthesis/SKILL.md +217 -0
- package/skills/codex/synthesis/references/github-native-stacking.md +135 -0
- package/skills/codex/synthesis/references/merge-ordering.md +50 -0
- package/skills/codex/synthesis/references/pr-descriptions.md +87 -0
- package/skills/codex/synthesis/references/synthesis-steps.md +145 -0
- package/skills/codex/synthesis/references/troubleshooting.md +115 -0
- package/skills/codex/workflow-state/SKILL.md +254 -0
- package/skills/codex/workflow-state/references/mcp-tool-reference.md +89 -0
- package/skills/codex/workflow-state/references/phase-transitions.md +206 -0
- package/skills/copilot/brainstorming/SKILL.md +182 -0
- package/skills/copilot/brainstorming/references/design-template.md +107 -0
- package/skills/copilot/brainstorming/references/worked-example.md +58 -0
- package/skills/copilot/cleanup/SKILL.md +169 -0
- package/skills/copilot/cleanup/references/merge-verification.md +40 -0
- package/skills/copilot/debug/SKILL.md +247 -0
- package/skills/copilot/debug/references/hotfix-track.md +105 -0
- package/skills/copilot/debug/references/investigation-checklist.md +217 -0
- package/skills/copilot/debug/references/rca-template.md +150 -0
- package/skills/copilot/debug/references/state-schema.md +294 -0
- package/skills/copilot/debug/references/thorough-track.md +171 -0
- package/skills/copilot/debug/references/triage-questions.md +155 -0
- package/skills/copilot/debug/references/troubleshooting.md +47 -0
- package/skills/copilot/delegation/SKILL.md +345 -0
- package/skills/copilot/delegation/references/adaptive-orchestration.md +31 -0
- package/skills/copilot/delegation/references/agent-teams-saga.md +254 -0
- package/skills/copilot/delegation/references/fix-mode.md +118 -0
- package/skills/copilot/delegation/references/fixer-prompt.md +174 -0
- package/skills/copilot/delegation/references/implementer-prompt.md +401 -0
- package/skills/copilot/delegation/references/parallel-strategy.md +124 -0
- package/skills/copilot/delegation/references/pbt-patterns.md +172 -0
- package/skills/copilot/delegation/references/pr-fixes-mode.md +155 -0
- package/skills/copilot/delegation/references/rationalization-refutation.md +15 -0
- package/skills/copilot/delegation/references/state-management.md +84 -0
- package/skills/copilot/delegation/references/testing-patterns.md +146 -0
- package/skills/copilot/delegation/references/troubleshooting.md +109 -0
- package/skills/copilot/delegation/references/worked-example.md +104 -0
- package/skills/copilot/delegation/references/workflow-steps.md +131 -0
- package/skills/copilot/delegation/references/worktree-enforcement.md +71 -0
- package/skills/copilot/dogfood/SKILL.md +235 -0
- package/skills/copilot/dogfood/references/report-template.md +109 -0
- package/skills/copilot/dogfood/references/root-cause-patterns.md +227 -0
- package/skills/copilot/git-worktrees/SKILL.md +193 -0
- package/skills/copilot/git-worktrees/references/commands-reference.md +78 -0
- package/skills/copilot/implementation-planning/SKILL.md +289 -0
- package/skills/copilot/implementation-planning/references/plan-document-template.md +42 -0
- package/skills/copilot/implementation-planning/references/rationalization-refutation.md +13 -0
- package/skills/copilot/implementation-planning/references/spec-tracing-guide.md +51 -0
- package/skills/copilot/implementation-planning/references/task-template.md +63 -0
- package/skills/copilot/implementation-planning/references/testing-strategy-guide.md +109 -0
- package/skills/copilot/implementation-planning/references/worked-example.md +76 -0
- package/skills/copilot/oneshot-workflow/SKILL.md +468 -0
- package/skills/copilot/oneshot-workflow/references/choice-state.md +65 -0
- package/skills/copilot/prune-workflows/SKILL.md +290 -0
- package/skills/copilot/prune-workflows/references/safeguards.md +74 -0
- package/skills/copilot/quality-review/SKILL.md +371 -0
- package/skills/copilot/quality-review/references/auto-transition.md +47 -0
- package/skills/copilot/quality-review/references/axiom-integration.md +135 -0
- package/skills/copilot/quality-review/references/code-quality-checklist.md +171 -0
- package/skills/copilot/quality-review/references/convergence-and-verdict.md +48 -0
- package/skills/copilot/quality-review/references/gate-execution.md +60 -0
- package/skills/copilot/quality-review/references/rationalization-refutation.md +13 -0
- package/skills/copilot/quality-review/references/review-report-template.md +65 -0
- package/skills/copilot/quality-review/references/security-checklist.md +79 -0
- package/skills/copilot/quality-review/references/typescript-standards.md +24 -0
- package/skills/copilot/refactor/SKILL.md +196 -0
- package/skills/copilot/refactor/references/brief-template.md +81 -0
- package/skills/copilot/refactor/references/doc-update-checklist.md +113 -0
- package/skills/copilot/refactor/references/explore-checklist.md +79 -0
- package/skills/copilot/refactor/references/overhaul-track.md +194 -0
- package/skills/copilot/refactor/references/phases/auto-chain.md +267 -0
- package/skills/copilot/refactor/references/phases/brief.md +176 -0
- package/skills/copilot/refactor/references/phases/explore.md +132 -0
- package/skills/copilot/refactor/references/phases/overhaul-delegate.md +136 -0
- package/skills/copilot/refactor/references/phases/overhaul-plan.md +312 -0
- package/skills/copilot/refactor/references/phases/overhaul-review.md +304 -0
- package/skills/copilot/refactor/references/phases/polish-implement.md +347 -0
- package/skills/copilot/refactor/references/phases/polish-validate.md +218 -0
- package/skills/copilot/refactor/references/phases/update-docs.md +234 -0
- package/skills/copilot/refactor/references/polish-track.md +152 -0
- package/skills/copilot/shepherd/SKILL.md +251 -0
- package/skills/copilot/shepherd/references/assess-checklist.md +170 -0
- package/skills/copilot/shepherd/references/escalation-criteria.md +53 -0
- package/skills/copilot/shepherd/references/fix-strategies.md +289 -0
- package/skills/copilot/shepherd/references/gate-event-emission.md +47 -0
- package/skills/copilot/shepherd/references/shepherd-event-schemas.md +56 -0
- package/skills/copilot/spec-review/SKILL.md +294 -0
- package/skills/copilot/spec-review/references/rationalization-refutation.md +13 -0
- package/skills/copilot/spec-review/references/review-checklist.md +79 -0
- package/skills/copilot/spec-review/references/worked-example.md +72 -0
- package/skills/copilot/synthesis/SKILL.md +217 -0
- package/skills/copilot/synthesis/references/github-native-stacking.md +135 -0
- package/skills/copilot/synthesis/references/merge-ordering.md +50 -0
- package/skills/copilot/synthesis/references/pr-descriptions.md +87 -0
- package/skills/copilot/synthesis/references/synthesis-steps.md +145 -0
- package/skills/copilot/synthesis/references/troubleshooting.md +115 -0
- package/skills/copilot/workflow-state/SKILL.md +254 -0
- package/skills/copilot/workflow-state/references/mcp-tool-reference.md +89 -0
- package/skills/copilot/workflow-state/references/phase-transitions.md +206 -0
- package/skills/cursor/brainstorming/SKILL.md +182 -0
- package/skills/cursor/brainstorming/references/design-template.md +107 -0
- package/skills/cursor/brainstorming/references/worked-example.md +58 -0
- package/skills/cursor/cleanup/SKILL.md +169 -0
- package/skills/cursor/cleanup/references/merge-verification.md +40 -0
- package/skills/cursor/debug/SKILL.md +247 -0
- package/skills/cursor/debug/references/hotfix-track.md +105 -0
- package/skills/cursor/debug/references/investigation-checklist.md +217 -0
- package/skills/cursor/debug/references/rca-template.md +150 -0
- package/skills/cursor/debug/references/state-schema.md +294 -0
- package/skills/cursor/debug/references/thorough-track.md +171 -0
- package/skills/cursor/debug/references/triage-questions.md +155 -0
- package/skills/cursor/debug/references/troubleshooting.md +47 -0
- package/skills/cursor/delegation/SKILL.md +351 -0
- package/skills/cursor/delegation/references/adaptive-orchestration.md +31 -0
- package/skills/cursor/delegation/references/agent-teams-saga.md +254 -0
- package/skills/cursor/delegation/references/fix-mode.md +118 -0
- package/skills/cursor/delegation/references/fixer-prompt.md +174 -0
- package/skills/cursor/delegation/references/implementer-prompt.md +401 -0
- package/skills/cursor/delegation/references/parallel-strategy.md +124 -0
- package/skills/cursor/delegation/references/pbt-patterns.md +172 -0
- package/skills/cursor/delegation/references/pr-fixes-mode.md +155 -0
- package/skills/cursor/delegation/references/rationalization-refutation.md +15 -0
- package/skills/cursor/delegation/references/state-management.md +84 -0
- package/skills/cursor/delegation/references/testing-patterns.md +146 -0
- package/skills/cursor/delegation/references/troubleshooting.md +109 -0
- package/skills/cursor/delegation/references/worked-example.md +104 -0
- package/skills/cursor/delegation/references/workflow-steps.md +131 -0
- package/skills/cursor/delegation/references/worktree-enforcement.md +71 -0
- package/skills/cursor/dogfood/SKILL.md +235 -0
- package/skills/cursor/dogfood/references/report-template.md +109 -0
- package/skills/cursor/dogfood/references/root-cause-patterns.md +227 -0
- package/skills/cursor/git-worktrees/SKILL.md +193 -0
- package/skills/cursor/git-worktrees/references/commands-reference.md +78 -0
- package/skills/cursor/implementation-planning/SKILL.md +289 -0
- package/skills/cursor/implementation-planning/references/plan-document-template.md +42 -0
- package/skills/cursor/implementation-planning/references/rationalization-refutation.md +13 -0
- package/skills/cursor/implementation-planning/references/spec-tracing-guide.md +51 -0
- package/skills/cursor/implementation-planning/references/task-template.md +63 -0
- package/skills/cursor/implementation-planning/references/testing-strategy-guide.md +109 -0
- package/skills/cursor/implementation-planning/references/worked-example.md +76 -0
- package/skills/cursor/oneshot-workflow/SKILL.md +468 -0
- package/skills/cursor/oneshot-workflow/references/choice-state.md +65 -0
- package/skills/cursor/prune-workflows/SKILL.md +290 -0
- package/skills/cursor/prune-workflows/references/safeguards.md +74 -0
- package/skills/cursor/quality-review/SKILL.md +371 -0
- package/skills/cursor/quality-review/references/auto-transition.md +47 -0
- package/skills/cursor/quality-review/references/axiom-integration.md +135 -0
- package/skills/cursor/quality-review/references/code-quality-checklist.md +171 -0
- package/skills/cursor/quality-review/references/convergence-and-verdict.md +48 -0
- package/skills/cursor/quality-review/references/gate-execution.md +60 -0
- package/skills/cursor/quality-review/references/rationalization-refutation.md +13 -0
- package/skills/cursor/quality-review/references/review-report-template.md +65 -0
- package/skills/cursor/quality-review/references/security-checklist.md +79 -0
- package/skills/cursor/quality-review/references/typescript-standards.md +24 -0
- package/skills/cursor/refactor/SKILL.md +196 -0
- package/skills/cursor/refactor/references/brief-template.md +81 -0
- package/skills/cursor/refactor/references/doc-update-checklist.md +113 -0
- package/skills/cursor/refactor/references/explore-checklist.md +79 -0
- package/skills/cursor/refactor/references/overhaul-track.md +194 -0
- package/skills/cursor/refactor/references/phases/auto-chain.md +267 -0
- package/skills/cursor/refactor/references/phases/brief.md +176 -0
- package/skills/cursor/refactor/references/phases/explore.md +132 -0
- package/skills/cursor/refactor/references/phases/overhaul-delegate.md +136 -0
- package/skills/cursor/refactor/references/phases/overhaul-plan.md +312 -0
- package/skills/cursor/refactor/references/phases/overhaul-review.md +304 -0
- package/skills/cursor/refactor/references/phases/polish-implement.md +347 -0
- package/skills/cursor/refactor/references/phases/polish-validate.md +218 -0
- package/skills/cursor/refactor/references/phases/update-docs.md +234 -0
- package/skills/cursor/refactor/references/polish-track.md +152 -0
- package/skills/cursor/shepherd/SKILL.md +251 -0
- package/skills/cursor/shepherd/references/assess-checklist.md +170 -0
- package/skills/cursor/shepherd/references/escalation-criteria.md +53 -0
- package/skills/cursor/shepherd/references/fix-strategies.md +289 -0
- package/skills/cursor/shepherd/references/gate-event-emission.md +47 -0
- package/skills/cursor/shepherd/references/shepherd-event-schemas.md +56 -0
- package/skills/cursor/spec-review/SKILL.md +294 -0
- package/skills/cursor/spec-review/references/rationalization-refutation.md +13 -0
- package/skills/cursor/spec-review/references/review-checklist.md +79 -0
- package/skills/cursor/spec-review/references/worked-example.md +72 -0
- package/skills/cursor/synthesis/SKILL.md +217 -0
- package/skills/cursor/synthesis/references/github-native-stacking.md +135 -0
- package/skills/cursor/synthesis/references/merge-ordering.md +50 -0
- package/skills/cursor/synthesis/references/pr-descriptions.md +87 -0
- package/skills/cursor/synthesis/references/synthesis-steps.md +145 -0
- package/skills/cursor/synthesis/references/troubleshooting.md +115 -0
- package/skills/cursor/workflow-state/SKILL.md +254 -0
- package/skills/cursor/workflow-state/references/mcp-tool-reference.md +89 -0
- package/skills/cursor/workflow-state/references/phase-transitions.md +206 -0
- package/skills/generic/brainstorming/SKILL.md +182 -0
- package/skills/generic/brainstorming/references/design-template.md +107 -0
- package/skills/generic/brainstorming/references/worked-example.md +58 -0
- package/skills/generic/cleanup/SKILL.md +169 -0
- package/skills/generic/cleanup/references/merge-verification.md +40 -0
- package/skills/generic/debug/SKILL.md +247 -0
- package/skills/generic/debug/references/hotfix-track.md +105 -0
- package/skills/generic/debug/references/investigation-checklist.md +217 -0
- package/skills/generic/debug/references/rca-template.md +150 -0
- package/skills/generic/debug/references/state-schema.md +294 -0
- package/skills/generic/debug/references/thorough-track.md +171 -0
- package/skills/generic/debug/references/triage-questions.md +155 -0
- package/skills/generic/debug/references/troubleshooting.md +47 -0
- package/skills/generic/delegation/SKILL.md +345 -0
- package/skills/generic/delegation/references/adaptive-orchestration.md +31 -0
- package/skills/generic/delegation/references/agent-teams-saga.md +254 -0
- package/skills/generic/delegation/references/fix-mode.md +118 -0
- package/skills/generic/delegation/references/fixer-prompt.md +174 -0
- package/skills/generic/delegation/references/implementer-prompt.md +401 -0
- package/skills/generic/delegation/references/parallel-strategy.md +124 -0
- package/skills/generic/delegation/references/pbt-patterns.md +172 -0
- package/skills/generic/delegation/references/pr-fixes-mode.md +155 -0
- package/skills/generic/delegation/references/rationalization-refutation.md +15 -0
- package/skills/generic/delegation/references/state-management.md +84 -0
- package/skills/generic/delegation/references/testing-patterns.md +146 -0
- package/skills/generic/delegation/references/troubleshooting.md +109 -0
- package/skills/generic/delegation/references/worked-example.md +104 -0
- package/skills/generic/delegation/references/workflow-steps.md +131 -0
- package/skills/generic/delegation/references/worktree-enforcement.md +71 -0
- package/skills/generic/dogfood/SKILL.md +235 -0
- package/skills/generic/dogfood/references/report-template.md +109 -0
- package/skills/generic/dogfood/references/root-cause-patterns.md +227 -0
- package/skills/generic/git-worktrees/SKILL.md +193 -0
- package/skills/generic/git-worktrees/references/commands-reference.md +78 -0
- package/skills/generic/implementation-planning/SKILL.md +289 -0
- package/skills/generic/implementation-planning/references/plan-document-template.md +42 -0
- package/skills/generic/implementation-planning/references/rationalization-refutation.md +13 -0
- package/skills/generic/implementation-planning/references/spec-tracing-guide.md +51 -0
- package/skills/generic/implementation-planning/references/task-template.md +63 -0
- package/skills/generic/implementation-planning/references/testing-strategy-guide.md +109 -0
- package/skills/generic/implementation-planning/references/worked-example.md +76 -0
- package/skills/generic/oneshot-workflow/SKILL.md +468 -0
- package/skills/generic/oneshot-workflow/references/choice-state.md +65 -0
- package/skills/generic/prune-workflows/SKILL.md +290 -0
- package/skills/generic/prune-workflows/references/safeguards.md +74 -0
- package/skills/generic/quality-review/SKILL.md +371 -0
- package/skills/generic/quality-review/references/auto-transition.md +47 -0
- package/skills/generic/quality-review/references/axiom-integration.md +135 -0
- package/skills/generic/quality-review/references/code-quality-checklist.md +171 -0
- package/skills/generic/quality-review/references/convergence-and-verdict.md +48 -0
- package/skills/generic/quality-review/references/gate-execution.md +60 -0
- package/skills/generic/quality-review/references/rationalization-refutation.md +13 -0
- package/skills/generic/quality-review/references/review-report-template.md +65 -0
- package/skills/generic/quality-review/references/security-checklist.md +79 -0
- package/skills/generic/quality-review/references/typescript-standards.md +24 -0
- package/skills/generic/refactor/SKILL.md +196 -0
- package/skills/generic/refactor/references/brief-template.md +81 -0
- package/skills/generic/refactor/references/doc-update-checklist.md +113 -0
- package/skills/generic/refactor/references/explore-checklist.md +79 -0
- package/skills/generic/refactor/references/overhaul-track.md +194 -0
- package/skills/generic/refactor/references/phases/auto-chain.md +267 -0
- package/skills/generic/refactor/references/phases/brief.md +176 -0
- package/skills/generic/refactor/references/phases/explore.md +132 -0
- package/skills/generic/refactor/references/phases/overhaul-delegate.md +136 -0
- package/skills/generic/refactor/references/phases/overhaul-plan.md +312 -0
- package/skills/generic/refactor/references/phases/overhaul-review.md +304 -0
- package/skills/generic/refactor/references/phases/polish-implement.md +347 -0
- package/skills/generic/refactor/references/phases/polish-validate.md +218 -0
- package/skills/generic/refactor/references/phases/update-docs.md +234 -0
- package/skills/generic/refactor/references/polish-track.md +152 -0
- package/skills/generic/shepherd/SKILL.md +251 -0
- package/skills/generic/shepherd/references/assess-checklist.md +170 -0
- package/skills/generic/shepherd/references/escalation-criteria.md +53 -0
- package/skills/generic/shepherd/references/fix-strategies.md +289 -0
- package/skills/generic/shepherd/references/gate-event-emission.md +47 -0
- package/skills/generic/shepherd/references/shepherd-event-schemas.md +56 -0
- package/skills/generic/spec-review/SKILL.md +294 -0
- package/skills/generic/spec-review/references/rationalization-refutation.md +13 -0
- package/skills/generic/spec-review/references/review-checklist.md +79 -0
- package/skills/generic/spec-review/references/worked-example.md +72 -0
- package/skills/generic/synthesis/SKILL.md +217 -0
- package/skills/generic/synthesis/references/github-native-stacking.md +135 -0
- package/skills/generic/synthesis/references/merge-ordering.md +50 -0
- package/skills/generic/synthesis/references/pr-descriptions.md +87 -0
- package/skills/generic/synthesis/references/synthesis-steps.md +145 -0
- package/skills/generic/synthesis/references/troubleshooting.md +115 -0
- package/skills/generic/workflow-state/SKILL.md +254 -0
- package/skills/generic/workflow-state/references/mcp-tool-reference.md +89 -0
- package/skills/generic/workflow-state/references/phase-transitions.md +206 -0
- package/skills/opencode/brainstorming/SKILL.md +182 -0
- package/skills/opencode/brainstorming/references/design-template.md +107 -0
- package/skills/opencode/brainstorming/references/worked-example.md +58 -0
- package/skills/opencode/cleanup/SKILL.md +169 -0
- package/skills/opencode/cleanup/references/merge-verification.md +40 -0
- package/skills/opencode/debug/SKILL.md +247 -0
- package/skills/opencode/debug/references/hotfix-track.md +105 -0
- package/skills/opencode/debug/references/investigation-checklist.md +217 -0
- package/skills/opencode/debug/references/rca-template.md +150 -0
- package/skills/opencode/debug/references/state-schema.md +294 -0
- package/skills/opencode/debug/references/thorough-track.md +171 -0
- package/skills/opencode/debug/references/triage-questions.md +155 -0
- package/skills/opencode/debug/references/troubleshooting.md +47 -0
- package/skills/opencode/delegation/SKILL.md +353 -0
- package/skills/opencode/delegation/references/adaptive-orchestration.md +31 -0
- package/skills/opencode/delegation/references/agent-teams-saga.md +254 -0
- package/skills/opencode/delegation/references/fix-mode.md +118 -0
- package/skills/opencode/delegation/references/fixer-prompt.md +174 -0
- package/skills/opencode/delegation/references/implementer-prompt.md +401 -0
- package/skills/opencode/delegation/references/parallel-strategy.md +124 -0
- package/skills/opencode/delegation/references/pbt-patterns.md +172 -0
- package/skills/opencode/delegation/references/pr-fixes-mode.md +155 -0
- package/skills/opencode/delegation/references/rationalization-refutation.md +15 -0
- package/skills/opencode/delegation/references/state-management.md +84 -0
- package/skills/opencode/delegation/references/testing-patterns.md +146 -0
- package/skills/opencode/delegation/references/troubleshooting.md +109 -0
- package/skills/opencode/delegation/references/worked-example.md +104 -0
- package/skills/opencode/delegation/references/workflow-steps.md +131 -0
- package/skills/opencode/delegation/references/worktree-enforcement.md +71 -0
- package/skills/opencode/dogfood/SKILL.md +235 -0
- package/skills/opencode/dogfood/references/report-template.md +109 -0
- package/skills/opencode/dogfood/references/root-cause-patterns.md +227 -0
- package/skills/opencode/git-worktrees/SKILL.md +193 -0
- package/skills/opencode/git-worktrees/references/commands-reference.md +78 -0
- package/skills/opencode/implementation-planning/SKILL.md +289 -0
- package/skills/opencode/implementation-planning/references/plan-document-template.md +42 -0
- package/skills/opencode/implementation-planning/references/rationalization-refutation.md +13 -0
- package/skills/opencode/implementation-planning/references/spec-tracing-guide.md +51 -0
- package/skills/opencode/implementation-planning/references/task-template.md +63 -0
- package/skills/opencode/implementation-planning/references/testing-strategy-guide.md +109 -0
- package/skills/opencode/implementation-planning/references/worked-example.md +76 -0
- package/skills/opencode/oneshot-workflow/SKILL.md +468 -0
- package/skills/opencode/oneshot-workflow/references/choice-state.md +65 -0
- package/skills/opencode/prune-workflows/SKILL.md +290 -0
- package/skills/opencode/prune-workflows/references/safeguards.md +74 -0
- package/skills/opencode/quality-review/SKILL.md +371 -0
- package/skills/opencode/quality-review/references/auto-transition.md +47 -0
- package/skills/opencode/quality-review/references/axiom-integration.md +135 -0
- package/skills/opencode/quality-review/references/code-quality-checklist.md +171 -0
- package/skills/opencode/quality-review/references/convergence-and-verdict.md +48 -0
- package/skills/opencode/quality-review/references/gate-execution.md +60 -0
- package/skills/opencode/quality-review/references/rationalization-refutation.md +13 -0
- package/skills/opencode/quality-review/references/review-report-template.md +65 -0
- package/skills/opencode/quality-review/references/security-checklist.md +79 -0
- package/skills/opencode/quality-review/references/typescript-standards.md +24 -0
- package/skills/opencode/refactor/SKILL.md +196 -0
- package/skills/opencode/refactor/references/brief-template.md +81 -0
- package/skills/opencode/refactor/references/doc-update-checklist.md +113 -0
- package/skills/opencode/refactor/references/explore-checklist.md +79 -0
- package/skills/opencode/refactor/references/overhaul-track.md +194 -0
- package/skills/opencode/refactor/references/phases/auto-chain.md +267 -0
- package/skills/opencode/refactor/references/phases/brief.md +176 -0
- package/skills/opencode/refactor/references/phases/explore.md +132 -0
- package/skills/opencode/refactor/references/phases/overhaul-delegate.md +136 -0
- package/skills/opencode/refactor/references/phases/overhaul-plan.md +312 -0
- package/skills/opencode/refactor/references/phases/overhaul-review.md +304 -0
- package/skills/opencode/refactor/references/phases/polish-implement.md +347 -0
- package/skills/opencode/refactor/references/phases/polish-validate.md +218 -0
- package/skills/opencode/refactor/references/phases/update-docs.md +234 -0
- package/skills/opencode/refactor/references/polish-track.md +152 -0
- package/skills/opencode/shepherd/SKILL.md +251 -0
- package/skills/opencode/shepherd/references/assess-checklist.md +170 -0
- package/skills/opencode/shepherd/references/escalation-criteria.md +53 -0
- package/skills/opencode/shepherd/references/fix-strategies.md +289 -0
- package/skills/opencode/shepherd/references/gate-event-emission.md +47 -0
- package/skills/opencode/shepherd/references/shepherd-event-schemas.md +56 -0
- package/skills/opencode/spec-review/SKILL.md +294 -0
- package/skills/opencode/spec-review/references/rationalization-refutation.md +13 -0
- package/skills/opencode/spec-review/references/review-checklist.md +79 -0
- package/skills/opencode/spec-review/references/worked-example.md +72 -0
- package/skills/opencode/synthesis/SKILL.md +217 -0
- package/skills/opencode/synthesis/references/github-native-stacking.md +135 -0
- package/skills/opencode/synthesis/references/merge-ordering.md +50 -0
- package/skills/opencode/synthesis/references/pr-descriptions.md +87 -0
- package/skills/opencode/synthesis/references/synthesis-steps.md +145 -0
- package/skills/opencode/synthesis/references/troubleshooting.md +115 -0
- package/skills/opencode/workflow-state/SKILL.md +254 -0
- package/skills/opencode/workflow-state/references/mcp-tool-reference.md +89 -0
- package/skills/opencode/workflow-state/references/phase-transitions.md +206 -0
- package/dist/node_modules/electron/index.js +0 -1
- package/dist/node_modules/electron/package.json +0 -1
- package/dist/node_modules/playwright-core/index.js +0 -1
- package/dist/node_modules/playwright-core/package.json +0 -1
- package/skills/shared/prompts/context-reading.md +0 -66
- package/skills/shared/prompts/report-format.md +0 -54
- package/skills/shared/prompts/tdd-requirements.md +0 -39
- package/skills/shared/references/coding-standards.md +0 -46
- package/skills/shared/references/mcp-tool-guidance.md +0 -39
- package/skills/shared/references/skill-path-resolution.md +0 -10
- package/skills/shared/references/tdd.md +0 -58
- package/skills/shared/references/telemetry-awareness.md +0 -9
- /package/skills/{brainstorming → claude/brainstorming}/SKILL.md +0 -0
- /package/skills/{brainstorming → claude/brainstorming}/references/design-template.md +0 -0
- /package/skills/{brainstorming → claude/brainstorming}/references/worked-example.md +0 -0
- /package/skills/{cleanup → claude/cleanup}/references/merge-verification.md +0 -0
- /package/skills/{debug → claude/debug}/SKILL.md +0 -0
- /package/skills/{debug → claude/debug}/references/hotfix-track.md +0 -0
- /package/skills/{debug → claude/debug}/references/investigation-checklist.md +0 -0
- /package/skills/{debug → claude/debug}/references/rca-template.md +0 -0
- /package/skills/{debug → claude/debug}/references/state-schema.md +0 -0
- /package/skills/{debug → claude/debug}/references/thorough-track.md +0 -0
- /package/skills/{debug → claude/debug}/references/triage-questions.md +0 -0
- /package/skills/{debug → claude/debug}/references/troubleshooting.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/adaptive-orchestration.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/agent-teams-saga.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/fix-mode.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/fixer-prompt.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/implementer-prompt.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/parallel-strategy.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/pbt-patterns.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/pr-fixes-mode.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/rationalization-refutation.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/state-management.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/testing-patterns.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/worked-example.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/workflow-steps.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/worktree-enforcement.md +0 -0
- /package/skills/{git-worktrees → claude/git-worktrees}/SKILL.md +0 -0
- /package/skills/{git-worktrees → claude/git-worktrees}/references/commands-reference.md +0 -0
- /package/skills/{implementation-planning → claude/implementation-planning}/SKILL.md +0 -0
- /package/skills/{implementation-planning → claude/implementation-planning}/references/plan-document-template.md +0 -0
- /package/skills/{implementation-planning → claude/implementation-planning}/references/rationalization-refutation.md +0 -0
- /package/skills/{implementation-planning → claude/implementation-planning}/references/spec-tracing-guide.md +0 -0
- /package/skills/{implementation-planning → claude/implementation-planning}/references/task-template.md +0 -0
- /package/skills/{implementation-planning → claude/implementation-planning}/references/testing-strategy-guide.md +0 -0
- /package/skills/{implementation-planning → claude/implementation-planning}/references/worked-example.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/auto-transition.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/axiom-integration.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/code-quality-checklist.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/convergence-and-verdict.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/gate-execution.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/rationalization-refutation.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/review-report-template.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/security-checklist.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/typescript-standards.md +0 -0
- /package/skills/{refactor → claude/refactor}/SKILL.md +0 -0
- /package/skills/{refactor → claude/refactor}/references/brief-template.md +0 -0
- /package/skills/{refactor → claude/refactor}/references/doc-update-checklist.md +0 -0
- /package/skills/{refactor → claude/refactor}/references/explore-checklist.md +0 -0
- /package/skills/{refactor → claude/refactor}/references/overhaul-track.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/auto-chain.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/brief.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/explore.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/overhaul-delegate.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/overhaul-plan.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/overhaul-review.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/polish-implement.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/polish-validate.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/update-docs.md +0 -0
- /package/skills/{refactor → claude/refactor}/references/polish-track.md +0 -0
- /package/skills/{shepherd → claude/shepherd}/references/assess-checklist.md +0 -0
- /package/skills/{shepherd → claude/shepherd}/references/escalation-criteria.md +0 -0
- /package/skills/{shepherd → claude/shepherd}/references/fix-strategies.md +0 -0
- /package/skills/{shepherd → claude/shepherd}/references/gate-event-emission.md +0 -0
- /package/skills/{shepherd → claude/shepherd}/references/shepherd-event-schemas.md +0 -0
- /package/skills/{spec-review → claude/spec-review}/references/rationalization-refutation.md +0 -0
- /package/skills/{spec-review → claude/spec-review}/references/review-checklist.md +0 -0
- /package/skills/{spec-review → claude/spec-review}/references/worked-example.md +0 -0
- /package/skills/{synthesis → claude/synthesis}/references/github-native-stacking.md +0 -0
- /package/skills/{synthesis → claude/synthesis}/references/merge-ordering.md +0 -0
- /package/skills/{synthesis → claude/synthesis}/references/pr-descriptions.md +0 -0
- /package/skills/{synthesis → claude/synthesis}/references/synthesis-steps.md +0 -0
- /package/skills/{synthesis → claude/synthesis}/references/troubleshooting.md +0 -0
- /package/skills/{workflow-state → claude/workflow-state}/references/mcp-tool-reference.md +0 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: brainstorming
|
|
3
|
+
description: "Collaborative design exploration for new features and architecture decisions. Triggers: 'brainstorm', 'ideate', 'explore options', or /ideate. Presents 2-3 approaches with trade-offs, documents chosen approach. Do NOT use for implementation planning or code review. Requires no existing design document — use /plan if one exists."
|
|
4
|
+
metadata:
|
|
5
|
+
author: exarchos
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
mcp-server: exarchos
|
|
8
|
+
category: workflow
|
|
9
|
+
phase-affinity: ideate
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Brainstorming Skill
|
|
13
|
+
|
|
14
|
+
## Overview
|
|
15
|
+
|
|
16
|
+
Collaborative design exploration for new features, architecture decisions, and complex problem-solving.
|
|
17
|
+
|
|
18
|
+
## Triggers
|
|
19
|
+
|
|
20
|
+
Activate this skill when:
|
|
21
|
+
- User says "let's brainstorm", "let's ideate", or "let's explore"
|
|
22
|
+
- User runs `ideate` command
|
|
23
|
+
- User wants to discuss design options before implementation
|
|
24
|
+
- A problem has multiple valid solutions needing evaluation
|
|
25
|
+
|
|
26
|
+
For a complete worked example, see `references/worked-example.md`.
|
|
27
|
+
|
|
28
|
+
## Three-Phase Process
|
|
29
|
+
|
|
30
|
+
### Phase 1: Understanding
|
|
31
|
+
|
|
32
|
+
**Goal:** Deeply understand the problem before proposing solutions.
|
|
33
|
+
|
|
34
|
+
**Rules:**
|
|
35
|
+
- Ask ONE question at a time
|
|
36
|
+
- Wait for response before asking next question
|
|
37
|
+
- Focus on: goals, constraints, existing patterns, user preferences
|
|
38
|
+
- Maximum 5 questions before moving to exploration
|
|
39
|
+
|
|
40
|
+
**Question Types:**
|
|
41
|
+
1. "What problem are we solving?" (core need)
|
|
42
|
+
2. "What constraints exist?" (time, tech, compatibility)
|
|
43
|
+
3. "What patterns already exist in the codebase?" (consistency)
|
|
44
|
+
4. "Who/what will consume this?" (users, APIs, other systems)
|
|
45
|
+
5. "What does success look like?" (acceptance criteria)
|
|
46
|
+
|
|
47
|
+
### Phase 2: Exploration
|
|
48
|
+
|
|
49
|
+
**Goal:** Present 2-3 distinct approaches with trade-offs.
|
|
50
|
+
|
|
51
|
+
Use the approach format from `references/design-template.md`. Present genuinely different approaches with honest trade-offs. Recommend one option with rationale.
|
|
52
|
+
|
|
53
|
+
### Phase 3: Design Presentation
|
|
54
|
+
|
|
55
|
+
**Goal:** Document the chosen approach in detail with numbered requirements.
|
|
56
|
+
|
|
57
|
+
Document the chosen approach using the structure in `references/design-template.md`. Sections of 200-300 words max. Use diagrams for complex flows.
|
|
58
|
+
|
|
59
|
+
**Requirements format (MANDATORY):**
|
|
60
|
+
- Use numbered requirement identifiers: `DR-1`, `DR-2`, ..., `DR-N`
|
|
61
|
+
- Each requirement MUST have an `**Acceptance criteria:**` block with concrete, testable criteria
|
|
62
|
+
- At least one requirement MUST address error handling, failure modes, or edge cases
|
|
63
|
+
- These DR-N identifiers are provenance anchors — implementation plans trace tasks to them
|
|
64
|
+
|
|
65
|
+
**Save Location:** `docs/designs/YYYY-MM-DD-<feature>.md`
|
|
66
|
+
|
|
67
|
+
## Iteration Limits
|
|
68
|
+
|
|
69
|
+
**Design iterations: max 3.** If Phase 2 (Exploration) cycles through 3 rounds of presenting approaches without the user converging on a choice, pause and summarize the trade-offs for the user to make a final decision.
|
|
70
|
+
|
|
71
|
+
The user can override: `ideate --max-iterations 5`
|
|
72
|
+
|
|
73
|
+
## Anti-Patterns
|
|
74
|
+
|
|
75
|
+
| Don't | Do Instead |
|
|
76
|
+
|-------|------------|
|
|
77
|
+
| Jump to solution immediately | Ask clarifying questions first |
|
|
78
|
+
| Present only one option | Always show 2-3 alternatives |
|
|
79
|
+
| Hide drawbacks of preferred option | Be transparent about trade-offs |
|
|
80
|
+
| Write walls of text | Use 200-300 word sections max |
|
|
81
|
+
| Ignore existing patterns | Reference codebase conventions |
|
|
82
|
+
| Skip documentation | Save design to docs/designs/ |
|
|
83
|
+
|
|
84
|
+
## State Management
|
|
85
|
+
|
|
86
|
+
This skill manages workflow state for context persistence.
|
|
87
|
+
|
|
88
|
+
### On Start (before Phase 1)
|
|
89
|
+
|
|
90
|
+
Initialize workflow state using `mcp__exarchos__exarchos_workflow` with `action: "init"`, `workflowType: "feature"`, and the featureId.
|
|
91
|
+
|
|
92
|
+
This creates a state file tracked by the MCP server.
|
|
93
|
+
|
|
94
|
+
### On Design Save (after Phase 3)
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
action: "set", featureId: "<id>", updates: { "artifacts": { "design": "<path>" } }, phase: "plan"
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Phase Transitions and Guards
|
|
101
|
+
|
|
102
|
+
This skill is the entry point for the **feature workflow** (`workflowType: "feature"`). The full lifecycle is:
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
ideate → plan → plan-review → delegate ⇄ review → synthesize → completed
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
For the full transition table, consult `@skills/workflow-state/references/phase-transitions.md`.
|
|
109
|
+
|
|
110
|
+
### Schema Discovery
|
|
111
|
+
|
|
112
|
+
Use `exarchos_workflow({ action: "describe", actions: ["set", "init"] })` for
|
|
113
|
+
parameter schemas and `exarchos_workflow({ action: "describe", playbook: "feature" })`
|
|
114
|
+
for phase transitions, guards, and playbook guidance.
|
|
115
|
+
|
|
116
|
+
## Completion Verification
|
|
117
|
+
|
|
118
|
+
Run the ideation artifact verification:
|
|
119
|
+
|
|
120
|
+
```typescript
|
|
121
|
+
mcp__exarchos__exarchos_orchestrate({
|
|
122
|
+
action: "check_design_completeness",
|
|
123
|
+
featureId: "<featureId>",
|
|
124
|
+
designPath: "docs/designs/YYYY-MM-DD-<feature>.md"
|
|
125
|
+
})
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
**On `passed: true`:** All completion criteria met — proceed to gate check.
|
|
129
|
+
**On `passed: false`:** Missing artifacts — review output and complete before continuing. If the check is advisory (`advisory: true`), emit a warning but do not block auto-chain.
|
|
130
|
+
|
|
131
|
+
## Adversarial Gate Check (ideate → plan)
|
|
132
|
+
|
|
133
|
+
After artifact verification passes, run the design completeness gate check. This is the D1 (spec fidelity) lightweight adversarial check at the ideate → plan boundary.
|
|
134
|
+
|
|
135
|
+
```typescript
|
|
136
|
+
mcp__exarchos__exarchos_orchestrate({
|
|
137
|
+
action: "check_design_completeness",
|
|
138
|
+
featureId: "<id>",
|
|
139
|
+
designPath: "<path>"
|
|
140
|
+
})
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
The handler returns a structured result: `{ passed, advisory, findings[], checkCount, passCount, failCount }`.
|
|
144
|
+
|
|
145
|
+
- **`passed=true`:** Design complete — all requirements have acceptance criteria and error coverage.
|
|
146
|
+
- **`passed=false, advisory=true`:** Findings detected. These are advisory — they do NOT block the auto-chain to `plan`. Present `result.data.findings` to the user alongside the transition message.
|
|
147
|
+
|
|
148
|
+
Gate events (`gate.executed`) are emitted automatically by the handler — no manual event emission is needed.
|
|
149
|
+
|
|
150
|
+
## Transition
|
|
151
|
+
|
|
152
|
+
After brainstorming completes, **auto-continue to planning** (no user confirmation):
|
|
153
|
+
|
|
154
|
+
### Pre-Chain Validation (MANDATORY)
|
|
155
|
+
|
|
156
|
+
Before invoking `plan`:
|
|
157
|
+
1. Verify `artifacts.design` exists in workflow state
|
|
158
|
+
2. Verify the design file exists on disk: `test -f "$DESIGN_PATH"`
|
|
159
|
+
3. Run `mcp__exarchos__exarchos_orchestrate({ action: "check_design_completeness", featureId: "<id>", designPath: "<path>" })` (advisory — record findings but don't block)
|
|
160
|
+
4. If steps 1 or 2 fail: "Design artifact not found, cannot auto-chain to plan"
|
|
161
|
+
|
|
162
|
+
### Chain Steps
|
|
163
|
+
|
|
164
|
+
1. Update state: `action: "set", featureId: "<id>", updates: { "artifacts": { "design": "<path>" } }, phase: "plan"`
|
|
165
|
+
|
|
166
|
+
2. If `result.data.passed === false` and `result.data.advisory === true`: Output `result.data.findings` summary, then: "Advisory findings noted. Auto-continuing to implementation planning..."
|
|
167
|
+
If `result.data.passed === true`: Output: "Design complete. Auto-continuing to implementation planning..."
|
|
168
|
+
|
|
169
|
+
3. Invoke immediately:
|
|
170
|
+
```typescript
|
|
171
|
+
[Invoke the exarchos:plan skill with args: <design-path>]
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
This is NOT a human checkpoint. The human checkpoint occurs at plan-review (plan approval) and synthesize (merge confirmation).
|
|
175
|
+
|
|
176
|
+
**Workflow continues:** `ideate` -> `plan` -> plan-review -> [HUMAN CHECKPOINT] -> `delegate` -> `review` -> `synthesize` -> [HUMAN CHECKPOINT]
|
|
177
|
+
|
|
178
|
+
## Exarchos Integration
|
|
179
|
+
|
|
180
|
+
When Exarchos MCP tools are available:
|
|
181
|
+
|
|
182
|
+
1. **At workflow start:** Auto-emitted by `exarchos_workflow` `action: "init"` — do NOT manually append `workflow.started`
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# Design Document Template
|
|
2
|
+
|
|
3
|
+
Save to: `docs/designs/YYYY-MM-DD-<feature>.md`
|
|
4
|
+
|
|
5
|
+
## Approach Format (Phase 2)
|
|
6
|
+
|
|
7
|
+
Present 2-3 approaches using this format:
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
### Option [N]: [Name]
|
|
11
|
+
|
|
12
|
+
**Approach:** [2-3 sentence description]
|
|
13
|
+
|
|
14
|
+
**Pros:**
|
|
15
|
+
- [Benefit 1]
|
|
16
|
+
- [Benefit 2]
|
|
17
|
+
|
|
18
|
+
**Cons:**
|
|
19
|
+
- [Drawback 1]
|
|
20
|
+
- [Drawback 2]
|
|
21
|
+
|
|
22
|
+
**Best when:** [Scenario where this option excels]
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Rules:
|
|
26
|
+
- Present genuinely different approaches (not variations of same idea)
|
|
27
|
+
- Be honest about trade-offs
|
|
28
|
+
- Include at least one "simple but limited" option
|
|
29
|
+
- Include at least one "flexible but complex" option
|
|
30
|
+
- Recommend one option but explain why
|
|
31
|
+
|
|
32
|
+
## Design Document Structure (Phase 3)
|
|
33
|
+
|
|
34
|
+
Write sections of 200-300 words maximum. Use diagrams (ASCII or Mermaid) for complex flows. Reference existing codebase patterns.
|
|
35
|
+
|
|
36
|
+
```markdown
|
|
37
|
+
# Design: [Feature Name]
|
|
38
|
+
|
|
39
|
+
## Problem Statement
|
|
40
|
+
[What we're solving and why]
|
|
41
|
+
|
|
42
|
+
## Chosen Approach
|
|
43
|
+
[Selected option with rationale]
|
|
44
|
+
|
|
45
|
+
## Requirements
|
|
46
|
+
|
|
47
|
+
### DR-1: [Requirement name]
|
|
48
|
+
|
|
49
|
+
[Description of the requirement]
|
|
50
|
+
|
|
51
|
+
**Acceptance criteria:**
|
|
52
|
+
- [Criterion 1]
|
|
53
|
+
- [Criterion 2]
|
|
54
|
+
|
|
55
|
+
### DR-2: [Requirement name]
|
|
56
|
+
|
|
57
|
+
[Description]
|
|
58
|
+
|
|
59
|
+
**Acceptance criteria:**
|
|
60
|
+
- [Criterion 1]
|
|
61
|
+
- [Criterion 2]
|
|
62
|
+
|
|
63
|
+
### DR-N: Error handling and edge cases
|
|
64
|
+
|
|
65
|
+
[Error/failure/boundary conditions]
|
|
66
|
+
|
|
67
|
+
**Acceptance criteria:**
|
|
68
|
+
- [Error case 1]
|
|
69
|
+
- [Edge case 1]
|
|
70
|
+
|
|
71
|
+
## Technical Design
|
|
72
|
+
[Implementation details, data structures, APIs]
|
|
73
|
+
|
|
74
|
+
## Integration Points
|
|
75
|
+
[How this connects to existing code]
|
|
76
|
+
|
|
77
|
+
## Testing Strategy
|
|
78
|
+
[How we'll verify it works]
|
|
79
|
+
|
|
80
|
+
## Open Questions
|
|
81
|
+
[Decisions deferred or needing input]
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Requirement Format Rules
|
|
85
|
+
|
|
86
|
+
- **Numbered IDs:** Use `DR-N` (Design Requirement) format. `REQ-N` and `R-N` are also accepted.
|
|
87
|
+
- **Acceptance criteria:** Every requirement MUST have a `**Acceptance criteria:**` block with concrete, testable criteria.
|
|
88
|
+
- **Structured criteria preferred:** For behavioral requirements, use Given/When/Then format. These become executable acceptance tests during planning:
|
|
89
|
+
```markdown
|
|
90
|
+
**Acceptance criteria:**
|
|
91
|
+
- Given [precondition]
|
|
92
|
+
When [action]
|
|
93
|
+
Then [expected outcome]
|
|
94
|
+
And [additional outcome]
|
|
95
|
+
```
|
|
96
|
+
Bullet-point criteria are still valid for non-behavioral requirements (performance constraints, configuration, etc.).
|
|
97
|
+
- **Error/edge cases:** At least one requirement must address error handling, failure modes, or boundary conditions. Don't design only the happy path.
|
|
98
|
+
- **Provenance anchors:** These DR-N identifiers become traceability anchors — implementation plans map tasks to them (`Implements: DR-1`), and the feature audit traces code and tests back to them.
|
|
99
|
+
|
|
100
|
+
## Exploration Quality Gate
|
|
101
|
+
|
|
102
|
+
Stop Phase 2 when ALL are true:
|
|
103
|
+
- [ ] 2-3 approaches documented
|
|
104
|
+
- [ ] Each answers design questions from Phase 1
|
|
105
|
+
- [ ] Approaches differ in at least 2 of: {data structure, API design, complexity}
|
|
106
|
+
- [ ] Trade-offs are honest and specific
|
|
107
|
+
- [ ] One approach recommended with rationale
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: brainstorming-worked-example
|
|
3
|
+
description: "Complete trace of the brainstorming skill in action, showing happy path and pivot recovery."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Worked Example: Brainstorming — Event Deduplication
|
|
7
|
+
|
|
8
|
+
## Context
|
|
9
|
+
|
|
10
|
+
Feature: event store deduplication for the Exarchos MCP server. The user runs `/exarchos:ideate` to explore approaches.
|
|
11
|
+
|
|
12
|
+
## Phase 1: Understanding
|
|
13
|
+
|
|
14
|
+
**Agent:** "What problem are we solving?"
|
|
15
|
+
**User:** "Duplicate events in the JSONL store when agents retry after timeouts."
|
|
16
|
+
|
|
17
|
+
**Agent:** "What constraints exist?"
|
|
18
|
+
**User:** "Must not break existing event streams. Append-only store, no rewriting."
|
|
19
|
+
|
|
20
|
+
**Agent:** "What patterns already exist in the codebase?"
|
|
21
|
+
**User:** "Events have timestamps and stream IDs but no unique event IDs."
|
|
22
|
+
|
|
23
|
+
## Phase 2: Exploration
|
|
24
|
+
|
|
25
|
+
**Agent presents three approaches:**
|
|
26
|
+
|
|
27
|
+
### Option 1: Idempotency Keys
|
|
28
|
+
Add a unique `eventId` field. Writers generate UUIDs; readers skip duplicates.
|
|
29
|
+
- **Pros:** Simple, no schema migration needed.
|
|
30
|
+
- **Cons:** Requires all callers to generate IDs.
|
|
31
|
+
|
|
32
|
+
### Option 2: Content Hashing
|
|
33
|
+
Hash `stream + type + timestamp + payload` to detect duplicates at write time.
|
|
34
|
+
- **Pros:** No caller changes. Automatic.
|
|
35
|
+
- **Cons:** Hash collisions possible. Slightly slower writes.
|
|
36
|
+
|
|
37
|
+
### Option 3: Write-Ahead Log
|
|
38
|
+
Buffer events in a WAL, flush deduplicated batches.
|
|
39
|
+
- **Pros:** Strongest guarantees. Enables batching.
|
|
40
|
+
- **Cons:** Significant complexity. Overkill for append-only JSONL.
|
|
41
|
+
|
|
42
|
+
**Agent recommends Option 1** — simplest, aligns with event-sourcing conventions.
|
|
43
|
+
|
|
44
|
+
## Pivot: User Rejects All Approaches
|
|
45
|
+
|
|
46
|
+
**User:** "These all add complexity. Can we just make the timeout longer?"
|
|
47
|
+
|
|
48
|
+
**Agent:** "Longer timeouts reduce retries but don't eliminate duplicates from network issues or process restarts. However, we can combine your instinct with a minimal approach: add idempotency keys (Option 1) but make them optional — readers tolerate duplicates, and the key is only used when callers choose to deduplicate. This keeps the default path unchanged."
|
|
49
|
+
|
|
50
|
+
**User:** "That works. Proceed with optional idempotency keys."
|
|
51
|
+
|
|
52
|
+
## Phase 3: Design Presentation
|
|
53
|
+
|
|
54
|
+
Agent writes design document to `docs/designs/2026-02-28-event-deduplication.md` covering: problem statement, chosen approach (optional idempotency keys), technical design (UUID generation, reader-side dedup), integration points (event append tool, view tool), testing strategy (duplicate detection tests, backward compatibility).
|
|
55
|
+
|
|
56
|
+
**State update:** `artifacts.design` set to design path, phase transitions to `plan`.
|
|
57
|
+
|
|
58
|
+
**Agent:** "Design saved. Auto-continuing to implementation planning..."
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cleanup
|
|
3
|
+
description: "Post-merge workflow resolution. Verifies PR merge status, backfills synthesis metadata, force-resolves review statuses, transitions to completed, and cleans up worktrees/branches. Use when the user says 'cleanup', 'resolve workflow', 'mark as done', or runs /cleanup. Do NOT use before PRs are merged."
|
|
4
|
+
metadata:
|
|
5
|
+
author: exarchos
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
mcp-server: exarchos
|
|
8
|
+
category: workflow
|
|
9
|
+
phase-affinity: completed
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Cleanup Skill
|
|
13
|
+
|
|
14
|
+
## Overview
|
|
15
|
+
|
|
16
|
+
Resolve merged workflows to `completed` state in a single operation. Replaces the manual multi-step process of navigating HSM guards after PR stacks merge.
|
|
17
|
+
|
|
18
|
+
## Batch Pruning for Stale Workflows
|
|
19
|
+
|
|
20
|
+
For bulk cleanup of accumulated stale or abandoned workflows (as opposed to resolving a single merged workflow), use `@skills/prune-workflows/SKILL.md`. That skill invokes `exarchos_orchestrate prune_stale_workflows` in dry-run mode, displays candidates, and applies after user confirmation. Safeguards automatically skip workflows with open PRs or recent commits.
|
|
21
|
+
|
|
22
|
+
**Rule of thumb:** cleanup is per-workflow (one merged feature → `completed`); prune is bulk (N inactive workflows → `cancelled`). They are complementary, not alternatives.
|
|
23
|
+
|
|
24
|
+
## Triggers
|
|
25
|
+
|
|
26
|
+
Activate this skill when:
|
|
27
|
+
- User runs `cleanup` command
|
|
28
|
+
- User says "cleanup", "resolve workflow", "mark as done"
|
|
29
|
+
- PR stack has merged and workflow needs resolution
|
|
30
|
+
- User wants to close out a completed feature
|
|
31
|
+
|
|
32
|
+
## Prerequisites
|
|
33
|
+
|
|
34
|
+
- Active workflow in any non-terminal phase
|
|
35
|
+
- All PRs merged on GitHub
|
|
36
|
+
|
|
37
|
+
## Process
|
|
38
|
+
|
|
39
|
+
### 1. Identify Target Workflow
|
|
40
|
+
|
|
41
|
+
Read workflow state to get current phase and metadata:
|
|
42
|
+
```typescript
|
|
43
|
+
mcp__exarchos__exarchos_workflow({ action: "get", featureId: "<id>" })
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
If featureId not provided, use pipeline view to list active workflows:
|
|
47
|
+
```typescript
|
|
48
|
+
mcp__exarchos__exarchos_view({ action: "pipeline" })
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### 2. Verify Merge Status
|
|
52
|
+
|
|
53
|
+
For each PR associated with the workflow, verify it is merged.
|
|
54
|
+
|
|
55
|
+
**Primary method** — gh CLI:
|
|
56
|
+
```bash
|
|
57
|
+
gh pr view <number> --json state,mergedAt,headRefName
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
> Or use GitHub MCP `pull_request_read` if available.
|
|
61
|
+
|
|
62
|
+
Collect from merged PRs:
|
|
63
|
+
- `prUrl`: The PR URL (or array of URLs for stacked PRs)
|
|
64
|
+
- `mergedBranches`: The head branch names that were merged
|
|
65
|
+
|
|
66
|
+
**Safety check:** If ANY PR is not merged, abort with clear error message.
|
|
67
|
+
|
|
68
|
+
For detailed verification guidance, see `references/merge-verification.md`.
|
|
69
|
+
|
|
70
|
+
### 2.5. Post-Merge Regression Check (Advisory)
|
|
71
|
+
|
|
72
|
+
After verifying merge status, run the post-merge regression check:
|
|
73
|
+
|
|
74
|
+
```typescript
|
|
75
|
+
exarchos_orchestrate({
|
|
76
|
+
action: "check_post_merge",
|
|
77
|
+
featureId: "<id>",
|
|
78
|
+
prUrl: "<url>",
|
|
79
|
+
mergeSha: "<sha>"
|
|
80
|
+
})
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
This check is **advisory** — findings are reported but do not block cleanup. If findings are detected, log them for the user's awareness before proceeding.
|
|
84
|
+
|
|
85
|
+
### 3. Invoke Cleanup Action
|
|
86
|
+
|
|
87
|
+
Call the MCP cleanup action with collected data:
|
|
88
|
+
```typescript
|
|
89
|
+
mcp__exarchos__exarchos_workflow({
|
|
90
|
+
action: "cleanup",
|
|
91
|
+
featureId: "<id>",
|
|
92
|
+
mergeVerified: true,
|
|
93
|
+
prUrl: "<url-or-array>",
|
|
94
|
+
mergedBranches: ["branch1", "branch2"]
|
|
95
|
+
})
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
This single call:
|
|
99
|
+
- Backfills `synthesis.prUrl` and `synthesis.mergedBranches`
|
|
100
|
+
- Force-resolves all blocking review statuses to `approved`
|
|
101
|
+
- Transitions to `completed` via universal cleanup path
|
|
102
|
+
- Emits `workflow.cleanup` event to event store
|
|
103
|
+
|
|
104
|
+
### 4. Worktree Cleanup
|
|
105
|
+
|
|
106
|
+
Remove all worktrees associated with the workflow:
|
|
107
|
+
```bash
|
|
108
|
+
# Read worktrees from state (already captured in step 1)
|
|
109
|
+
git worktree remove .worktrees/<name>
|
|
110
|
+
git worktree prune
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Handle gracefully if worktrees are already removed.
|
|
114
|
+
|
|
115
|
+
### 5. Branch Sync
|
|
116
|
+
|
|
117
|
+
Remove merged local branches:
|
|
118
|
+
```bash
|
|
119
|
+
git fetch --prune
|
|
120
|
+
git branch -d <merged-branch-1> <merged-branch-2> ...
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### 6. Report Completion
|
|
124
|
+
|
|
125
|
+
Output summary:
|
|
126
|
+
```markdown
|
|
127
|
+
## Cleanup Complete
|
|
128
|
+
|
|
129
|
+
**Feature:** <featureId>
|
|
130
|
+
**Transition:** <previousPhase> → completed
|
|
131
|
+
**PRs merged:** <count>
|
|
132
|
+
**Worktrees removed:** <count>
|
|
133
|
+
**Branches synced:** ✓
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## Dry Run
|
|
137
|
+
|
|
138
|
+
Use `dryRun: true` to preview what cleanup would do without modifying state:
|
|
139
|
+
```typescript
|
|
140
|
+
mcp__exarchos__exarchos_workflow({
|
|
141
|
+
action: "cleanup",
|
|
142
|
+
featureId: "<id>",
|
|
143
|
+
mergeVerified: true,
|
|
144
|
+
dryRun: true
|
|
145
|
+
})
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
## Error Handling
|
|
149
|
+
|
|
150
|
+
| Error | Cause | Resolution |
|
|
151
|
+
|-------|-------|------------|
|
|
152
|
+
| STATE_NOT_FOUND | Invalid featureId | Check pipeline view for active workflows |
|
|
153
|
+
| ALREADY_COMPLETED | Workflow already done | No action needed |
|
|
154
|
+
| INVALID_TRANSITION | Workflow is cancelled | Cannot cleanup cancelled workflows |
|
|
155
|
+
| GUARD_FAILED | mergeVerified is false | Verify PRs are merged before cleanup |
|
|
156
|
+
|
|
157
|
+
## Anti-Patterns
|
|
158
|
+
|
|
159
|
+
| Don't | Do Instead |
|
|
160
|
+
|-------|------------|
|
|
161
|
+
| Use cleanup as escape hatch during implementation | Only use after PRs are merged |
|
|
162
|
+
| Skip merge verification | Always verify via GitHub API |
|
|
163
|
+
| Manually navigate HSM guards post-merge | Use cleanup |
|
|
164
|
+
| Leave worktrees after cleanup | Include worktree removal in process |
|
|
165
|
+
|
|
166
|
+
## Exarchos Integration
|
|
167
|
+
|
|
168
|
+
The cleanup action auto-emits events — do NOT manually emit:
|
|
169
|
+
- `workflow.cleanup` — emitted by the MCP cleanup action for the phase change to completed
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: merge-verification
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Merge Verification Guide
|
|
6
|
+
|
|
7
|
+
## Why Verify?
|
|
8
|
+
|
|
9
|
+
The cleanup action trusts the `mergeVerified` flag — it does not query GitHub itself. The orchestrator (skill) is responsible for verification. This separation keeps the MCP server free of GitHub API dependencies.
|
|
10
|
+
|
|
11
|
+
## Verification Methods
|
|
12
|
+
|
|
13
|
+
### gh CLI (Primary)
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
gh pr view 123 --json state,mergedAt,headRefName
|
|
17
|
+
# Check: .state == "MERGED" and .mergedAt is not null
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
> Or use GitHub MCP `pull_request_read` if available for structured data.
|
|
21
|
+
|
|
22
|
+
### For Stacked PRs
|
|
23
|
+
|
|
24
|
+
When verifying a stacked PR set, check ALL PRs in the stack:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# List PRs for the branch stack
|
|
28
|
+
gh pr list --head "feature/*" --json number,state,headRefName
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Collect from each merged PR:
|
|
32
|
+
- `number` — for logging
|
|
33
|
+
- `headRefName` — for `mergedBranches` array
|
|
34
|
+
- PR URL — for `prUrl` (use array if multiple)
|
|
35
|
+
|
|
36
|
+
## Edge Cases
|
|
37
|
+
|
|
38
|
+
- **Partially merged stack:** If some PRs are merged and others are not, abort cleanup. All PRs must be merged.
|
|
39
|
+
- **Squash-merged PRs:** The branch name may differ from what's in the worktree. Use the PR's `headRefName` field.
|
|
40
|
+
- **Already-deleted branches:** GitHub may have auto-deleted branches after merge. This is fine — `git fetch --prune` will handle it.
|