@openrig/cli 0.5.6 → 0.5.7
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/daemon/assets/plugins/openrig-core/README.md +1 -1
- package/daemon/assets/plugins/openrig-core/skills/loading-addressable-markdown/SKILL.md +34 -0
- package/daemon/assets/plugins/openrig-core/skills/loading-addressable-markdown/scripts/resolve-markdown.mjs +170 -0
- package/daemon/assets/plugins/openrig-core/skills/openrig-skills/SKILL.md +1 -4
- package/daemon/assets/plugins/openrig-core/skills/retiring-and-inheriting-a-seat/SKILL.md +3 -3
- package/daemon/assets/plugins/openrig-core/skills/software-for-agents/SKILL.md +4 -9
- package/daemon/assets/vm-preview-fixtures/workflows/sample-basic-loop.yaml +3 -3
- package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
- package/daemon/context-packs/skills/applying-a-permission-policy/SKILL.md +120 -0
- package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +10 -0
- package/daemon/context-packs/skills/claude-compaction-restore/SKILL.md +166 -0
- package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +18 -0
- package/daemon/context-packs/skills/claude-compaction-restore/scripts/precompact-hook.mjs +174 -0
- package/daemon/context-packs/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +487 -0
- package/daemon/context-packs/skills/claude-compaction-restore/templates/compact-instruction.md +1 -0
- package/daemon/context-packs/skills/claude-compaction-restore/templates/post-compact-restore-instruction.md +1 -0
- package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/SKILL.md +1 -1
- package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-skills/SKILL.md +1 -4
- package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
- package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
- package/daemon/context-packs/skills/delegating-work/SKILL.md +43 -0
- package/daemon/context-packs/skills/delegating-work/manifest.yaml +10 -0
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/SKILL.md +318 -0
- package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +10 -0
- package/daemon/context-packs/skills/loading-addressable-markdown/SKILL.md +34 -0
- package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +12 -0
- package/daemon/context-packs/skills/loading-addressable-markdown/scripts/resolve-markdown.mjs +170 -0
- package/daemon/context-packs/skills/mission-slice-sop/SKILL.md +94 -0
- package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +10 -0
- package/daemon/context-packs/skills/openrig-operating-model/SKILL.md +397 -0
- package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +30 -0
- package/daemon/context-packs/skills/openrig-operating-model/scripts/compose.py +572 -0
- package/daemon/context-packs/skills/openrig-operating-model/scripts/scaffold.sh +34 -0
- package/daemon/context-packs/skills/openrig-operating-model/scripts/trace-due.sh +32 -0
- package/daemon/context-packs/skills/openrig-operating-model/scripts/trace-stamp.sh +5 -0
- package/daemon/context-packs/skills/openrig-operating-model/scripts/trunk-diff.sh +18 -0
- package/daemon/context-packs/skills/openrig-operating-model/templates/LEARNED.md +40 -0
- package/daemon/context-packs/skills/openrig-operating-model/templates/NOTES.md +9 -0
- package/daemon/context-packs/skills/openrig-operating-model/templates/PLAYBOOK.md +5 -0
- package/daemon/context-packs/skills/openrig-operating-model/templates/SOP.md +24 -0
- package/daemon/context-packs/skills/openrig-operating-model/templates/SPEC.md +54 -0
- package/daemon/context-packs/skills/openrig-user/SKILL.md +1374 -0
- package/daemon/context-packs/skills/openrig-user/manifest.yaml +10 -0
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/CHANGELOG.md +64 -0
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/SKILL.md +250 -0
- package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +12 -0
- package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pm/requirements-writer/SKILL.md +21 -15
- package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +3 -3
- package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/orchestration-team/SKILL.md +1 -1
- package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/pods/review-team/SKILL.md +1 -1
- package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
- package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
- package/daemon/context-packs/skills/queue-handoff/SKILL.md +192 -0
- package/daemon/context-packs/skills/queue-handoff/manifest.yaml +10 -0
- package/daemon/context-packs/skills/refocusing/SKILL.md +31 -0
- package/daemon/context-packs/skills/refocusing/manifest.yaml +14 -0
- package/daemon/context-packs/skills/refocusing/references/refocus.md +22 -0
- package/daemon/context-packs/skills/refocusing/scripts/trace-to-root.py +264 -0
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/CHANGELOG.md +48 -0
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/SKILL.md +231 -0
- package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +12 -0
- package/daemon/context-packs/skills/seat-continuity-and-handover/SKILL.md +151 -0
- package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +16 -0
- package/daemon/context-packs/skills/seat-continuity-and-handover/references/apprentice-evidence-toolkit.md +32 -0
- package/daemon/context-packs/skills/seat-continuity-and-handover/references/apprentice-successor-seat-cutover.md +256 -0
- package/daemon/context-packs/skills/seat-continuity-and-handover/references/orchestrator-role.md +40 -0
- package/daemon/context-packs/skills/session-compaction-and-restore/SKILL.md +163 -0
- package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +10 -0
- package/daemon/context-packs/skills/software-for-agents/SKILL.md +187 -0
- package/daemon/context-packs/skills/software-for-agents/manifest.yaml +10 -0
- package/daemon/context-packs/world-example/manifest.yaml +1 -1
- package/daemon/context-packs/world-public/manifest.yaml +1 -1
- package/daemon/dist/build-info.js +3 -3
- package/daemon/dist/builtins/workflow-specs/basic-loop.yaml +3 -3
- package/daemon/dist/builtins/workflow-specs/conveyor.yaml +1 -1
- package/daemon/dist/builtins/workflow-specs/factory-rsi.yaml +1 -1
- package/daemon/dist/db/all-migrations.d.ts +1 -1
- package/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/daemon/dist/db/all-migrations.js +4 -2
- package/daemon/dist/db/all-migrations.js.map +1 -1
- package/daemon/dist/db/migrations/077_node_session_source.d.ts +4 -0
- package/daemon/dist/db/migrations/077_node_session_source.d.ts.map +1 -0
- package/daemon/dist/db/migrations/077_node_session_source.js +6 -0
- package/daemon/dist/db/migrations/077_node_session_source.js.map +1 -0
- package/daemon/dist/domain/context-packs/manifest-parser.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/manifest-parser.js +5 -6
- package/daemon/dist/domain/context-packs/manifest-parser.js.map +1 -1
- package/daemon/dist/domain/context-packs/profile-composer.d.ts +1 -1
- package/daemon/dist/domain/context-packs/profile-composer.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/profile-composer.js +2 -2
- package/daemon/dist/domain/context-packs/profile-composer.js.map +1 -1
- package/daemon/dist/domain/context-packs/profile-source-resolver.d.ts +3 -1
- package/daemon/dist/domain/context-packs/profile-source-resolver.d.ts.map +1 -1
- package/daemon/dist/domain/context-packs/profile-source-resolver.js +3 -2
- package/daemon/dist/domain/context-packs/profile-source-resolver.js.map +1 -1
- package/daemon/dist/domain/rig-lifecycle-service.d.ts +24 -4
- package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
- package/daemon/dist/domain/rig-lifecycle-service.js +116 -6
- package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
- package/daemon/dist/domain/rig-repository.d.ts +2 -1
- package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/daemon/dist/domain/rig-repository.js +7 -0
- package/daemon/dist/domain/rig-repository.js.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-exporter.js +2 -0
- package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/daemon/dist/domain/rigspec-instantiator.js +2 -0
- package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/daemon/dist/domain/types.d.ts +2 -0
- package/daemon/dist/domain/types.d.ts.map +1 -1
- package/daemon/dist/domain/types.js.map +1 -1
- package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
- package/daemon/dist/domain/workspace/default-workspace-scaffold.js +37 -2
- package/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
- package/daemon/dist/routes/context-packs.d.ts.map +1 -1
- package/daemon/dist/routes/context-packs.js +146 -6
- package/daemon/dist/routes/context-packs.js.map +1 -1
- package/daemon/dist/routes/rigs.js +7 -3
- package/daemon/dist/routes/rigs.js.map +1 -1
- package/daemon/dist/routes/sessions.js +7 -3
- package/daemon/dist/routes/sessions.js.map +1 -1
- package/daemon/dist/startup.d.ts.map +1 -1
- package/daemon/dist/startup.js +3 -1
- package/daemon/dist/startup.js.map +1 -1
- package/daemon/docs/reference/agent-spec.md +1 -1
- package/daemon/docs/reference/mission-install.md +23 -2
- package/daemon/docs/reference/product-journey-sdlc.md +305 -0
- package/daemon/docs/reference/sdlc-conventions.md +9 -2
- package/daemon/specs/agents/apps/vault-specialist/agent.yaml +1 -1
- package/daemon/specs/agents/apps/vault-specialist/guidance/role.md +0 -1
- package/daemon/specs/agents/conveyor/builder/agent.yaml +1 -1
- package/daemon/specs/agents/conveyor/builder/guidance/role.md +0 -1
- package/daemon/specs/agents/conveyor/lead/agent.yaml +1 -1
- package/daemon/specs/agents/conveyor/lead/guidance/role.md +0 -3
- package/daemon/specs/agents/conveyor/planner/agent.yaml +1 -1
- package/daemon/specs/agents/conveyor/planner/guidance/role.md +0 -1
- package/daemon/specs/agents/design/product-designer/agent.yaml +3 -4
- package/daemon/specs/agents/design/product-designer/guidance/role.md +0 -3
- package/daemon/specs/agents/development/implementer/agent.yaml +3 -4
- package/daemon/specs/agents/development/implementer/guidance/role.md +0 -3
- package/daemon/specs/agents/development/qa/agent.yaml +4 -4
- package/daemon/specs/agents/development/qa/guidance/role.md +1 -4
- package/daemon/specs/agents/factory-rsi/dogfood/agent.yaml +1 -1
- package/daemon/specs/agents/factory-rsi/release-manager/agent.yaml +1 -1
- package/daemon/specs/agents/orchestration/orchestrator/agent.yaml +3 -4
- package/daemon/specs/agents/orchestration/orchestrator/guidance/role.md +0 -4
- package/daemon/specs/agents/review/independent-reviewer/agent.yaml +3 -4
- package/daemon/specs/agents/review/independent-reviewer/guidance/role.md +0 -3
- package/daemon/specs/agents/shared/agent.yaml +2 -10
- package/daemon/specs/agents/shared/skills/core/agent-startup-and-context-ingestion/SKILL.md +1 -1
- package/daemon/specs/agents/shared/skills/core/openrig-skills/SKILL.md +1 -4
- package/daemon/specs/agents/shared/skills/pm/requirements-writer/SKILL.md +21 -15
- package/daemon/specs/agents/shared/skills/pods/orchestration-team/SKILL.md +1 -1
- package/daemon/specs/agents/shared/skills/pods/review-team/SKILL.md +1 -1
- package/daemon/specs/rigs/launch/kernel/agents/advisor/lead/agent.yaml +1 -1
- package/daemon/specs/rigs/launch/kernel/agents/advisor/lead/guidance/role.md +2 -3
- package/dist/build-info.js +3 -3
- package/dist/commands/config-init-workspace.d.ts.map +1 -1
- package/dist/commands/config-init-workspace.js +38 -3
- package/dist/commands/config-init-workspace.js.map +1 -1
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +37 -0
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/create.d.ts +4 -0
- package/dist/commands/create.d.ts.map +1 -0
- package/dist/commands/create.js +84 -0
- package/dist/commands/create.js.map +1 -0
- package/dist/commands/grow.d.ts +4 -0
- package/dist/commands/grow.d.ts.map +1 -0
- package/dist/commands/grow.js +182 -0
- package/dist/commands/grow.js.map +1 -0
- package/dist/commands/remove.d.ts.map +1 -1
- package/dist/commands/remove.js +9 -1
- package/dist/commands/remove.js.map +1 -1
- package/dist/commands/rig.d.ts.map +1 -1
- package/dist/commands/rig.js +48 -1
- package/dist/commands/rig.js.map +1 -1
- package/dist/commands/scope.d.ts.map +1 -1
- package/dist/commands/scope.js +21 -2
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/shrink.d.ts.map +1 -1
- package/dist/commands/shrink.js +6 -1
- package/dist/commands/shrink.js.map +1 -1
- package/dist/commands/topology-default-agent.d.ts +4 -0
- package/dist/commands/topology-default-agent.d.ts.map +1 -0
- package/dist/commands/topology-default-agent.js +13 -0
- package/dist/commands/topology-default-agent.js.map +1 -0
- package/dist/commands/walk.d.ts.map +1 -1
- package/dist/commands/walk.js +3 -0
- package/dist/commands/walk.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/work-install.d.ts +39 -0
- package/dist/lib/work-install.d.ts.map +1 -0
- package/dist/lib/work-install.js +278 -0
- package/dist/lib/work-install.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/build-info.js +3 -3
- package/node_modules/@openrig/daemon/dist/builtins/workflow-specs/basic-loop.yaml +3 -3
- package/node_modules/@openrig/daemon/dist/builtins/workflow-specs/conveyor.yaml +1 -1
- package/node_modules/@openrig/daemon/dist/builtins/workflow-specs/factory-rsi.yaml +1 -1
- package/node_modules/@openrig/daemon/dist/db/all-migrations.d.ts +1 -1
- package/node_modules/@openrig/daemon/dist/db/all-migrations.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/db/all-migrations.js +4 -2
- package/node_modules/@openrig/daemon/dist/db/all-migrations.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/db/migrations/077_node_session_source.d.ts +4 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/077_node_session_source.d.ts.map +1 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/077_node_session_source.js +6 -0
- package/node_modules/@openrig/daemon/dist/db/migrations/077_node_session_source.js.map +1 -0
- package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.js +5 -6
- package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-composer.d.ts +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-composer.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-composer.js +2 -2
- package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-composer.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-source-resolver.d.ts +3 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-source-resolver.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-source-resolver.js +3 -2
- package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-source-resolver.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-lifecycle-service.d.ts +24 -4
- package/node_modules/@openrig/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-lifecycle-service.js +116 -6
- package/node_modules/@openrig/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-repository.d.ts +2 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-repository.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rig-repository.js +7 -0
- package/node_modules/@openrig/daemon/dist/domain/rig-repository.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-exporter.js +2 -0
- package/node_modules/@openrig/daemon/dist/domain/rigspec-exporter.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.js +2 -0
- package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/types.d.ts +2 -0
- package/node_modules/@openrig/daemon/dist/domain/types.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/types.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.js +37 -2
- package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/context-packs.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/context-packs.js +146 -6
- package/node_modules/@openrig/daemon/dist/routes/context-packs.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/rigs.js +7 -3
- package/node_modules/@openrig/daemon/dist/routes/rigs.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/routes/sessions.js +7 -3
- package/node_modules/@openrig/daemon/dist/routes/sessions.js.map +1 -1
- package/node_modules/@openrig/daemon/dist/startup.d.ts.map +1 -1
- package/node_modules/@openrig/daemon/dist/startup.js +3 -1
- package/node_modules/@openrig/daemon/dist/startup.js.map +1 -1
- package/node_modules/@openrig/daemon/package.json +1 -1
- package/package.json +1 -1
- package/daemon/context-packs/skills/process/brainstorming/OPENRIG.md +0 -48
- package/daemon/context-packs/skills/process/brainstorming/SKILL.md +0 -107
- package/daemon/context-packs/skills/process/brainstorming/manifest.yaml +0 -12
- package/daemon/context-packs/skills/process/executing-plans/OPENRIG.md +0 -56
- package/daemon/context-packs/skills/process/executing-plans/SKILL.md +0 -94
- package/daemon/context-packs/skills/process/executing-plans/manifest.yaml +0 -12
- package/daemon/context-packs/skills/process/using-superpowers/OPENRIG.md +0 -48
- package/daemon/context-packs/skills/process/using-superpowers/SKILL.md +0 -106
- package/daemon/context-packs/skills/process/using-superpowers/manifest.yaml +0 -12
- package/daemon/context-packs/skills/process/writing-plans/OPENRIG.md +0 -52
- package/daemon/context-packs/skills/process/writing-plans/SKILL.md +0 -126
- package/daemon/context-packs/skills/process/writing-plans/manifest.yaml +0 -12
- package/daemon/specs/agents/shared/skills/process/brainstorming/OPENRIG.md +0 -48
- package/daemon/specs/agents/shared/skills/process/brainstorming/SKILL.md +0 -107
- package/daemon/specs/agents/shared/skills/process/executing-plans/OPENRIG.md +0 -56
- package/daemon/specs/agents/shared/skills/process/executing-plans/SKILL.md +0 -94
- package/daemon/specs/agents/shared/skills/process/using-superpowers/OPENRIG.md +0 -48
- package/daemon/specs/agents/shared/skills/process/using-superpowers/SKILL.md +0 -106
- package/daemon/specs/agents/shared/skills/process/writing-plans/OPENRIG.md +0 -52
- package/daemon/specs/agents/shared/skills/process/writing-plans/SKILL.md +0 -126
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: executing-plans
|
|
3
|
-
description: Use when you have a written implementation plan to execute in a separate session with review checkpoints
|
|
4
|
-
metadata:
|
|
5
|
-
openrig:
|
|
6
|
-
vendored_from: "Obra Superpowers (https://github.com/obra/superpowers)"
|
|
7
|
-
vendoring_pattern: modify-the-file
|
|
8
|
-
last_upstream_check: "2026-05-13 (initial vendoring declaration)"
|
|
9
|
-
divergence_notes: |
|
|
10
|
-
Restructured from upstream's all-tasks-at-once execution into batch-with-
|
|
11
|
-
checkpoint execution (default 3 tasks per batch + report + continue cycle).
|
|
12
|
-
Removed the upstream suggestion to use superpowers:subagent-driven-development
|
|
13
|
-
as an alternative. See OPENRIG.md for full divergence details.
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
# Executing Plans
|
|
17
|
-
|
|
18
|
-
## Overview
|
|
19
|
-
|
|
20
|
-
Load plan, review critically, execute tasks in batches, report for review between batches.
|
|
21
|
-
|
|
22
|
-
**Core principle:** Batch execution with checkpoints for architect review.
|
|
23
|
-
|
|
24
|
-
**Announce at start:** "I'm using the executing-plans skill to implement this plan."
|
|
25
|
-
|
|
26
|
-
## The Process
|
|
27
|
-
|
|
28
|
-
### Step 1: Load and Review Plan
|
|
29
|
-
1. Read plan file
|
|
30
|
-
2. Review critically - identify any questions or concerns about the plan
|
|
31
|
-
3. If concerns: Raise them with your human partner before starting
|
|
32
|
-
4. If no concerns: Create TodoWrite and proceed
|
|
33
|
-
|
|
34
|
-
### Step 2: Execute Batch
|
|
35
|
-
**Default: First 3 tasks**
|
|
36
|
-
|
|
37
|
-
For each task:
|
|
38
|
-
1. Mark as in_progress
|
|
39
|
-
2. Follow each step exactly (plan has bite-sized steps)
|
|
40
|
-
3. Run verifications as specified
|
|
41
|
-
4. Mark as completed
|
|
42
|
-
|
|
43
|
-
### Step 3: Report
|
|
44
|
-
When batch complete:
|
|
45
|
-
- Show what was implemented
|
|
46
|
-
- Show verification output
|
|
47
|
-
- Say: "Ready for feedback."
|
|
48
|
-
|
|
49
|
-
### Step 4: Continue
|
|
50
|
-
Based on feedback:
|
|
51
|
-
- Apply changes if needed
|
|
52
|
-
- Execute next batch
|
|
53
|
-
- Repeat until complete
|
|
54
|
-
|
|
55
|
-
### Step 5: Complete Development
|
|
56
|
-
|
|
57
|
-
After all tasks complete and verified:
|
|
58
|
-
- Announce: "I'm using the finishing-a-development-branch skill to complete this work."
|
|
59
|
-
- **REQUIRED SUB-SKILL:** Use superpowers:finishing-a-development-branch
|
|
60
|
-
- Follow that skill to verify tests, present options, execute choice
|
|
61
|
-
|
|
62
|
-
## When to Stop and Ask for Help
|
|
63
|
-
|
|
64
|
-
**STOP executing immediately when:**
|
|
65
|
-
- Hit a blocker mid-batch (missing dependency, test fails, instruction unclear)
|
|
66
|
-
- Plan has critical gaps preventing starting
|
|
67
|
-
- You don't understand an instruction
|
|
68
|
-
- Verification fails repeatedly
|
|
69
|
-
|
|
70
|
-
**Ask for clarification rather than guessing.**
|
|
71
|
-
|
|
72
|
-
## When to Revisit Earlier Steps
|
|
73
|
-
|
|
74
|
-
**Return to Review (Step 1) when:**
|
|
75
|
-
- Partner updates the plan based on your feedback
|
|
76
|
-
- Fundamental approach needs rethinking
|
|
77
|
-
|
|
78
|
-
**Don't force through blockers** - stop and ask.
|
|
79
|
-
|
|
80
|
-
## Remember
|
|
81
|
-
- Review plan critically first
|
|
82
|
-
- Follow plan steps exactly
|
|
83
|
-
- Don't skip verifications
|
|
84
|
-
- Reference skills when plan says to
|
|
85
|
-
- Between batches: just report and wait
|
|
86
|
-
- Stop when blocked, don't guess
|
|
87
|
-
- Never start implementation on main/master branch without explicit user consent
|
|
88
|
-
|
|
89
|
-
## Integration
|
|
90
|
-
|
|
91
|
-
**Required workflow skills:**
|
|
92
|
-
- **superpowers:using-git-worktrees** - REQUIRED: Set up isolated workspace before starting
|
|
93
|
-
- **superpowers:writing-plans** - Creates the plan this skill executes
|
|
94
|
-
- **superpowers:finishing-a-development-branch** - Complete development after all tasks
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
|
-
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
|
-
name: "executing-plans"
|
|
4
|
-
version: "0.5.6"
|
|
5
|
-
taxonomy: "skills"
|
|
6
|
-
purpose: "Use when you have a written implementation plan to execute in a separate session with review checkpoints"
|
|
7
|
-
files:
|
|
8
|
-
- path: "SKILL.md"
|
|
9
|
-
role: "instruction"
|
|
10
|
-
summary: "Use when you have a written implementation plan to execute in a separate session with review checkpoints"
|
|
11
|
-
- path: "OPENRIG.md"
|
|
12
|
-
role: "reference"
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
skill: using-superpowers
|
|
3
|
-
openrig-relationship: vendored-modified
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# OpenRig and this skill
|
|
7
|
-
|
|
8
|
-
## Origin
|
|
9
|
-
|
|
10
|
-
- **Upstream**: Obra Superpowers (https://github.com/obra/superpowers)
|
|
11
|
-
- **Vendoring pattern**: `modify-the-file`
|
|
12
|
-
- **Last upstream check**: 2026-05-13 (diff against plugin source pulled 2026-05-11)
|
|
13
|
-
|
|
14
|
-
## How OpenRig uses this skill
|
|
15
|
-
|
|
16
|
-
`using-superpowers` is the catalog-aware "always reach for a skill before answering" bootstrap. It's loaded into every OpenRig agent's startup context to enforce the discipline that skills must be invoked through the `Skill` tool (not Read'd directly), and that the agent should pattern-match descriptions against the work at hand before producing free-form output.
|
|
17
|
-
|
|
18
|
-
## OpenRig-specific modifications
|
|
19
|
-
|
|
20
|
-
| Surface | Upstream | OpenRig |
|
|
21
|
-
|---|---|---|
|
|
22
|
-
| `<SUBAGENT-STOP>` block | Skip the skill if dispatched as a subagent | **Removed.** OpenRig doesn't use the upstream subagent-dispatch pattern; this directive doesn't fit the rig/pod/seat topology. |
|
|
23
|
-
| Instruction Priority section | 3-tier priority: user > skills > system | **Removed.** OpenRig handles priority at the AgentSpec + agent-startup-content layer, not inside this skill. |
|
|
24
|
-
| Platform-specific sections (Copilot CLI, Gemini CLI) | Each platform gets its own paragraph for how to access skills | **Removed.** OpenRig targets Claude Code + Codex specifically. The Claude Code paragraph is preserved. |
|
|
25
|
-
| Platform Adaptation section | Points to `references/copilot-tools.md` and `references/codex-tools.md` for tool mapping | **Removed.** OpenRig agents don't need the upstream tool-mapping references; the rig spec lists tools directly. |
|
|
26
|
-
|
|
27
|
-
## Why these modifications (inferred)
|
|
28
|
-
|
|
29
|
-
- **Topology mismatch**: OpenRig's subagent model is the rig/pod/seat structure, not the upstream's "dispatch a subagent" pattern. The `<SUBAGENT-STOP>` block would silently skip the skill in seats that should be loading it.
|
|
30
|
-
- **OpenRig is opinionated about target runtimes**: Claude Code + Codex are the supported pair. Multi-platform copy adds cognitive overhead without product value for OpenRig users.
|
|
31
|
-
- **Priority lives at the spec layer**: OpenRig's AgentSpec + startup content (role.md, guidance/, CULTURE.md) is where instruction precedence is encoded; baking it into this skill duplicates the layering.
|
|
32
|
-
|
|
33
|
-
## Companion files
|
|
34
|
-
|
|
35
|
-
None. (Upstream ships `references/copilot-tools.md` and `references/codex-tools.md` but these reference the upstream Copilot tool surface, not OpenRig's. They are not vendored.)
|
|
36
|
-
|
|
37
|
-
## When to re-sync upstream
|
|
38
|
-
|
|
39
|
-
Watch upstream for:
|
|
40
|
-
|
|
41
|
-
- Changes to the core "always invoke a skill" discipline (the heart of the skill).
|
|
42
|
-
- New platforms upstream supports that OpenRig might also want to support — would need to add a corresponding paragraph here.
|
|
43
|
-
|
|
44
|
-
When upstream changes:
|
|
45
|
-
|
|
46
|
-
1. Pull non-conflicting changes into the OpenRig copy.
|
|
47
|
-
2. Do NOT re-introduce the multi-platform sections, SUBAGENT-STOP block, or Instruction Priority section unless operator direction reverses.
|
|
48
|
-
3. Bump `last_upstream_check` in `SKILL.md` frontmatter.
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: using-superpowers
|
|
3
|
-
description: Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions
|
|
4
|
-
metadata:
|
|
5
|
-
openrig:
|
|
6
|
-
vendored_from: "Obra Superpowers (https://github.com/obra/superpowers)"
|
|
7
|
-
vendoring_pattern: modify-the-file
|
|
8
|
-
last_upstream_check: "2026-05-13 (diff against plugin source pulled 2026-05-11)"
|
|
9
|
-
divergence_notes: |
|
|
10
|
-
Removed multi-platform-specific sections (Copilot CLI, Gemini CLI,
|
|
11
|
-
Platform Adaptation) — OpenRig targets Claude Code + Codex. Removed
|
|
12
|
-
the SUBAGENT-STOP block and Instruction Priority section — OpenRig
|
|
13
|
-
handles those concerns at the rig/agent-spec layer.
|
|
14
|
-
See OPENRIG.md for full divergence details.
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
<EXTREMELY-IMPORTANT>
|
|
18
|
-
If you think there is even a 1% chance a skill might apply to what you are doing, you ABSOLUTELY MUST invoke the skill.
|
|
19
|
-
|
|
20
|
-
IF A SKILL APPLIES TO YOUR TASK, YOU DO NOT HAVE A CHOICE. YOU MUST USE IT.
|
|
21
|
-
|
|
22
|
-
This is not negotiable. This is not optional. You cannot rationalize your way out of this.
|
|
23
|
-
</EXTREMELY-IMPORTANT>
|
|
24
|
-
|
|
25
|
-
## How to Access Skills
|
|
26
|
-
|
|
27
|
-
**In Claude Code:** Use the `Skill` tool. When you invoke a skill, its content is loaded and presented to you—follow it directly. Never use the Read tool on skill files.
|
|
28
|
-
|
|
29
|
-
**In other environments:** Check your platform's documentation for how skills are loaded.
|
|
30
|
-
|
|
31
|
-
# Using Skills
|
|
32
|
-
|
|
33
|
-
## The Rule
|
|
34
|
-
|
|
35
|
-
**Invoke relevant or requested skills BEFORE any response or action.** Even a 1% chance a skill might apply means that you should invoke the skill to check. If an invoked skill turns out to be wrong for the situation, you don't need to use it.
|
|
36
|
-
|
|
37
|
-
```dot
|
|
38
|
-
digraph skill_flow {
|
|
39
|
-
"User message received" [shape=doublecircle];
|
|
40
|
-
"About to EnterPlanMode?" [shape=doublecircle];
|
|
41
|
-
"Already brainstormed?" [shape=diamond];
|
|
42
|
-
"Invoke brainstorming skill" [shape=box];
|
|
43
|
-
"Might any skill apply?" [shape=diamond];
|
|
44
|
-
"Invoke Skill tool" [shape=box];
|
|
45
|
-
"Announce: 'Using [skill] to [purpose]'" [shape=box];
|
|
46
|
-
"Has checklist?" [shape=diamond];
|
|
47
|
-
"Create TodoWrite todo per item" [shape=box];
|
|
48
|
-
"Follow skill exactly" [shape=box];
|
|
49
|
-
"Respond (including clarifications)" [shape=doublecircle];
|
|
50
|
-
|
|
51
|
-
"About to EnterPlanMode?" -> "Already brainstormed?";
|
|
52
|
-
"Already brainstormed?" -> "Invoke brainstorming skill" [label="no"];
|
|
53
|
-
"Already brainstormed?" -> "Might any skill apply?" [label="yes"];
|
|
54
|
-
"Invoke brainstorming skill" -> "Might any skill apply?";
|
|
55
|
-
|
|
56
|
-
"User message received" -> "Might any skill apply?";
|
|
57
|
-
"Might any skill apply?" -> "Invoke Skill tool" [label="yes, even 1%"];
|
|
58
|
-
"Might any skill apply?" -> "Respond (including clarifications)" [label="definitely not"];
|
|
59
|
-
"Invoke Skill tool" -> "Announce: 'Using [skill] to [purpose]'";
|
|
60
|
-
"Announce: 'Using [skill] to [purpose]'" -> "Has checklist?";
|
|
61
|
-
"Has checklist?" -> "Create TodoWrite todo per item" [label="yes"];
|
|
62
|
-
"Has checklist?" -> "Follow skill exactly" [label="no"];
|
|
63
|
-
"Create TodoWrite todo per item" -> "Follow skill exactly";
|
|
64
|
-
}
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Red Flags
|
|
68
|
-
|
|
69
|
-
These thoughts mean STOP—you're rationalizing:
|
|
70
|
-
|
|
71
|
-
| Thought | Reality |
|
|
72
|
-
|---------|---------|
|
|
73
|
-
| "This is just a simple question" | Questions are tasks. Check for skills. |
|
|
74
|
-
| "I need more context first" | Skill check comes BEFORE clarifying questions. |
|
|
75
|
-
| "Let me explore the codebase first" | Skills tell you HOW to explore. Check first. |
|
|
76
|
-
| "I can check git/files quickly" | Files lack conversation context. Check for skills. |
|
|
77
|
-
| "Let me gather information first" | Skills tell you HOW to gather information. |
|
|
78
|
-
| "This doesn't need a formal skill" | If a skill exists, use it. |
|
|
79
|
-
| "I remember this skill" | Skills evolve. Read current version. |
|
|
80
|
-
| "This doesn't count as a task" | Action = task. Check for skills. |
|
|
81
|
-
| "The skill is overkill" | Simple things become complex. Use it. |
|
|
82
|
-
| "I'll just do this one thing first" | Check BEFORE doing anything. |
|
|
83
|
-
| "This feels productive" | Undisciplined action wastes time. Skills prevent this. |
|
|
84
|
-
| "I know what that means" | Knowing the concept ≠ using the skill. Invoke it. |
|
|
85
|
-
|
|
86
|
-
## Skill Priority
|
|
87
|
-
|
|
88
|
-
When multiple skills could apply, use this order:
|
|
89
|
-
|
|
90
|
-
1. **Process skills first** (brainstorming, debugging) - these determine HOW to approach the task
|
|
91
|
-
2. **Implementation skills second** (frontend-design, mcp-builder) - these guide execution
|
|
92
|
-
|
|
93
|
-
"Let's build X" → brainstorming first, then implementation skills.
|
|
94
|
-
"Fix this bug" → debugging first, then domain-specific skills.
|
|
95
|
-
|
|
96
|
-
## Skill Types
|
|
97
|
-
|
|
98
|
-
**Rigid** (TDD, debugging): Follow exactly. Don't adapt away discipline.
|
|
99
|
-
|
|
100
|
-
**Flexible** (patterns): Adapt principles to context.
|
|
101
|
-
|
|
102
|
-
The skill itself tells you which.
|
|
103
|
-
|
|
104
|
-
## User Instructions
|
|
105
|
-
|
|
106
|
-
Instructions say WHAT, not HOW. "Add X" or "Fix Y" doesn't mean skip workflows.
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
|
-
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
|
-
name: "using-superpowers"
|
|
4
|
-
version: "0.5.6"
|
|
5
|
-
taxonomy: "skills"
|
|
6
|
-
purpose: "Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions"
|
|
7
|
-
files:
|
|
8
|
-
- path: "SKILL.md"
|
|
9
|
-
role: "instruction"
|
|
10
|
-
summary: "Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions"
|
|
11
|
-
- path: "OPENRIG.md"
|
|
12
|
-
role: "reference"
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
skill: writing-plans
|
|
3
|
-
openrig-relationship: vendored-modified
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# OpenRig and this skill
|
|
7
|
-
|
|
8
|
-
## Origin
|
|
9
|
-
|
|
10
|
-
- **Upstream**: Obra Superpowers (https://github.com/obra/superpowers)
|
|
11
|
-
- **Vendoring pattern**: `modify-the-file`
|
|
12
|
-
- **Last upstream check**: 2026-05-13 (diff against plugin source pulled 2026-05-11)
|
|
13
|
-
|
|
14
|
-
## How OpenRig uses this skill
|
|
15
|
-
|
|
16
|
-
`writing-plans` is the middle step of OpenRig's three-stage implementation flow: `brainstorming` produces the design, `writing-plans` turns the design into a bite-sized task plan, and `executing-plans` (also OpenRig-modified) drives the plan to completion in batches. Driver seats use this skill when authoring plans for guard + qa to review and for downstream drivers to execute.
|
|
17
|
-
|
|
18
|
-
## OpenRig-specific modifications
|
|
19
|
-
|
|
20
|
-
| Surface | Upstream | OpenRig |
|
|
21
|
-
|---|---|---|
|
|
22
|
-
| Plan save path | `docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md` | `docs/plans/YYYY-MM-DD-<feature-name>.md` (matches OpenRig's `docs/plans/` convention; coordinated with the matching change in `brainstorming`) |
|
|
23
|
-
| Scope Check section | Explicit step to break multi-subsystem specs into sub-project specs | **Removed.** OpenRig's slice + mission decomposition (handled at the orchestration layer) already enforces single-coherence scope per plan. |
|
|
24
|
-
| File Structure section | Explicit step to map files-to-be-created/modified with responsibilities before defining tasks | **Removed.** OpenRig drivers work inside an already-scoped slice; file-decomposition decisions live in the slice spec, not the plan. |
|
|
25
|
-
| Worktree context hint | "If working in an isolated worktree, it should have been created via the `superpowers:using-git-worktrees` skill at execution time." | "This should be run in a dedicated worktree (created by brainstorming skill)." — less explicit cross-skill dependency. |
|
|
26
|
-
| "For agentic workers" plan-header pointer | Suggests `superpowers:subagent-driven-development` (recommended) or `superpowers:executing-plans` | "For Claude: REQUIRED SUB-SKILL: Use `superpowers:executing-plans` to implement this plan task-by-task." Removed the subagent-driven-development pointer (consistent with the `executing-plans` modification). |
|
|
27
|
-
| Step tracking syntax | `- [ ] **Step 1: ...**` (checkbox for TodoWrite tracking) | `**Step 1: ...**` (bare bold; OpenRig drivers use their own task-tracking) |
|
|
28
|
-
|
|
29
|
-
## Why these modifications (inferred)
|
|
30
|
-
|
|
31
|
-
- **Path coordination**: `docs/plans/` is OpenRig's canonical home for plan documents. The `brainstorming` skill produces designs at `docs/plans/...-design.md`; `writing-plans` produces plans at `docs/plans/...-feature-name.md`. Same root.
|
|
32
|
-
- **Scope + structure handled higher**: OpenRig's slice spec already constrains scope (one coherent slice) and identifies the touched-file surface. Repeating those checks inside the plan-authoring skill double-gates the work.
|
|
33
|
-
- **No subagent-driven-development pointer**: same reason as the `executing-plans` modification — OpenRig topologies provide parallel-pod review via separate seats; routing through subagents is structurally redundant.
|
|
34
|
-
- **Bare bold step syntax**: OpenRig drivers track progress via the orchestration queue + their own task tooling, not via in-file TodoWrite checkboxes.
|
|
35
|
-
|
|
36
|
-
## Companion files
|
|
37
|
-
|
|
38
|
-
None.
|
|
39
|
-
|
|
40
|
-
## When to re-sync upstream
|
|
41
|
-
|
|
42
|
-
Watch upstream for:
|
|
43
|
-
|
|
44
|
-
- Changes to plan structure or task-granularity guidance.
|
|
45
|
-
- Coordination changes with `brainstorming` and `executing-plans` (this skill is the middle of a 3-skill chain; changes to either end may require this skill to follow).
|
|
46
|
-
|
|
47
|
-
When upstream changes:
|
|
48
|
-
|
|
49
|
-
1. Pull non-conflicting changes into the OpenRig copy.
|
|
50
|
-
2. Preserve the `docs/plans/` save path and the absence of the Scope Check + File Structure sections unless operator direction reverses.
|
|
51
|
-
3. Re-check that the subagent-driven-development pointer hasn't crept back in.
|
|
52
|
-
4. Bump `last_upstream_check` in `SKILL.md` frontmatter.
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: writing-plans
|
|
3
|
-
description: Use when you have a spec or requirements for a multi-step task, before touching code
|
|
4
|
-
metadata:
|
|
5
|
-
openrig:
|
|
6
|
-
vendored_from: "Obra Superpowers (https://github.com/obra/superpowers)"
|
|
7
|
-
vendoring_pattern: modify-the-file
|
|
8
|
-
last_upstream_check: "2026-05-13 (diff against plugin source pulled 2026-05-11)"
|
|
9
|
-
divergence_notes: |
|
|
10
|
-
Removed the Scope Check + File Structure sections, the subagent-driven-
|
|
11
|
-
development sub-skill pointer, and the checkbox-tracking syntax for
|
|
12
|
-
steps. Changed plan-doc save path from docs/superpowers/plans/ to
|
|
13
|
-
docs/plans/. See OPENRIG.md for full divergence details.
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
# Writing Plans
|
|
17
|
-
|
|
18
|
-
## Overview
|
|
19
|
-
|
|
20
|
-
Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
|
|
21
|
-
|
|
22
|
-
Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well.
|
|
23
|
-
|
|
24
|
-
**Announce at start:** "I'm using the writing-plans skill to create the implementation plan."
|
|
25
|
-
|
|
26
|
-
**Context:** This should be run in a dedicated worktree (created by brainstorming skill).
|
|
27
|
-
|
|
28
|
-
**Save plans to:** `docs/plans/YYYY-MM-DD-<feature-name>.md`
|
|
29
|
-
|
|
30
|
-
## Bite-Sized Task Granularity
|
|
31
|
-
|
|
32
|
-
**Each step is one action (2-5 minutes):**
|
|
33
|
-
- "Write the failing test" - step
|
|
34
|
-
- "Run it to make sure it fails" - step
|
|
35
|
-
- "Implement the minimal code to make the test pass" - step
|
|
36
|
-
- "Run the tests and make sure they pass" - step
|
|
37
|
-
- "Commit" - step
|
|
38
|
-
|
|
39
|
-
## Plan Document Header
|
|
40
|
-
|
|
41
|
-
**Every plan MUST start with this header:**
|
|
42
|
-
|
|
43
|
-
```markdown
|
|
44
|
-
# [Feature Name] Implementation Plan
|
|
45
|
-
|
|
46
|
-
> **For Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task.
|
|
47
|
-
|
|
48
|
-
**Goal:** [One sentence describing what this builds]
|
|
49
|
-
|
|
50
|
-
**Architecture:** [2-3 sentences about approach]
|
|
51
|
-
|
|
52
|
-
**Tech Stack:** [Key technologies/libraries]
|
|
53
|
-
|
|
54
|
-
---
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## Task Structure
|
|
58
|
-
|
|
59
|
-
````markdown
|
|
60
|
-
### Task N: [Component Name]
|
|
61
|
-
|
|
62
|
-
**Files:**
|
|
63
|
-
- Create: `exact/path/to/file.py`
|
|
64
|
-
- Modify: `exact/path/to/existing.py:123-145`
|
|
65
|
-
- Test: `tests/exact/path/to/test.py`
|
|
66
|
-
|
|
67
|
-
**Step 1: Write the failing test**
|
|
68
|
-
|
|
69
|
-
```python
|
|
70
|
-
def test_specific_behavior():
|
|
71
|
-
result = function(input)
|
|
72
|
-
assert result == expected
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
**Step 2: Run test to verify it fails**
|
|
76
|
-
|
|
77
|
-
Run: `pytest tests/path/test.py::test_name -v`
|
|
78
|
-
Expected: FAIL with "function not defined"
|
|
79
|
-
|
|
80
|
-
**Step 3: Write minimal implementation**
|
|
81
|
-
|
|
82
|
-
```python
|
|
83
|
-
def function(input):
|
|
84
|
-
return expected
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
**Step 4: Run test to verify it passes**
|
|
88
|
-
|
|
89
|
-
Run: `pytest tests/path/test.py::test_name -v`
|
|
90
|
-
Expected: PASS
|
|
91
|
-
|
|
92
|
-
**Step 5: Commit**
|
|
93
|
-
|
|
94
|
-
```bash
|
|
95
|
-
git add tests/path/test.py src/path/file.py
|
|
96
|
-
git commit -m "feat: add specific feature"
|
|
97
|
-
```
|
|
98
|
-
````
|
|
99
|
-
|
|
100
|
-
## Remember
|
|
101
|
-
- Exact file paths always
|
|
102
|
-
- Complete code in plan (not "add validation")
|
|
103
|
-
- Exact commands with expected output
|
|
104
|
-
- Reference relevant skills with @ syntax
|
|
105
|
-
- DRY, YAGNI, TDD, frequent commits
|
|
106
|
-
|
|
107
|
-
## Execution Handoff
|
|
108
|
-
|
|
109
|
-
After saving the plan, offer execution choice:
|
|
110
|
-
|
|
111
|
-
**"Plan complete and saved to `docs/plans/<filename>.md`. Two execution options:**
|
|
112
|
-
|
|
113
|
-
**1. Subagent-Driven (this session)** - I dispatch fresh subagent per task, review between tasks, fast iteration
|
|
114
|
-
|
|
115
|
-
**2. Parallel Session (separate)** - Open new session with executing-plans, batch execution with checkpoints
|
|
116
|
-
|
|
117
|
-
**Which approach?"**
|
|
118
|
-
|
|
119
|
-
**If Subagent-Driven chosen:**
|
|
120
|
-
- Spawn a fresh subagent for each task; code-review the result before merging
|
|
121
|
-
- Stay in this session
|
|
122
|
-
- Pair with whatever subagent-orchestration skill your runtime provides (e.g., the Obra Superpowers plugin ships one if you have that plugin installed)
|
|
123
|
-
|
|
124
|
-
**If Parallel Session chosen:**
|
|
125
|
-
- Guide them to open new session in worktree
|
|
126
|
-
- **REQUIRED SUB-SKILL:** New session uses superpowers:executing-plans
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
|
|
2
|
-
# Package-time projection of a canonical skill; regenerated every build.
|
|
3
|
-
name: "writing-plans"
|
|
4
|
-
version: "0.5.6"
|
|
5
|
-
taxonomy: "skills"
|
|
6
|
-
purpose: "Use when you have a spec or requirements for a multi-step task, before touching code"
|
|
7
|
-
files:
|
|
8
|
-
- path: "SKILL.md"
|
|
9
|
-
role: "instruction"
|
|
10
|
-
summary: "Use when you have a spec or requirements for a multi-step task, before touching code"
|
|
11
|
-
- path: "OPENRIG.md"
|
|
12
|
-
role: "reference"
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
skill: brainstorming
|
|
3
|
-
openrig-relationship: vendored-modified
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# OpenRig and this skill
|
|
7
|
-
|
|
8
|
-
## Origin
|
|
9
|
-
|
|
10
|
-
- **Upstream**: Obra Superpowers (https://github.com/obra/superpowers)
|
|
11
|
-
- **Vendoring pattern**: `modify-the-file`
|
|
12
|
-
- **Last upstream check**: 2026-05-13 (diff against plugin source pulled 2026-05-11)
|
|
13
|
-
|
|
14
|
-
## How OpenRig uses this skill
|
|
15
|
-
|
|
16
|
-
`brainstorming` is the "intent → design" front of the OpenRig planning chain. Agents use it before any creative or implementation work — to refine user intent into a shareable design doc that downstream skills (`writing-plans`, then `executing-plans`) consume.
|
|
17
|
-
|
|
18
|
-
## OpenRig-specific modifications
|
|
19
|
-
|
|
20
|
-
| Surface | Upstream | OpenRig |
|
|
21
|
-
|---|---|---|
|
|
22
|
-
| Visual Companion offer step | Standalone step #2 in the flow — "offer Visual Companion in its own message before clarifying questions" | **Removed.** OpenRig agents typically operate without a separate visual-companion mode; visual design work routes through dedicated design-pod seats. |
|
|
23
|
-
| Spec self-review step | Step #7 — inline self-review for placeholders/contradictions/scope | **Removed.** Self-review is handled at the rig/orchestration layer (driver/guard pattern + review-lead). |
|
|
24
|
-
| User reviews written spec | Step #8 — pause for user to review the spec file | **Removed.** OpenRig's the operator-walk and orchestration gates already cover this checkpoint at a higher level. |
|
|
25
|
-
| Spec save path | `docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md` | `docs/plans/YYYY-MM-DD-<topic>-design.md` (matches OpenRig's `docs/plans/` convention) |
|
|
26
|
-
| Process flow diagram | Includes Visual Companion + Spec self-review nodes | Simplified to remove those nodes; edges rewired |
|
|
27
|
-
|
|
28
|
-
## Why these modifications (inferred)
|
|
29
|
-
|
|
30
|
-
- **Multi-platform / multi-step gates removed**: OpenRig's rig-level orchestration (driver → guard → qa, the operator-walks) already provides the checkpoint structure that the upstream skill builds inline. Keeping those steps inside the skill double-gates the work.
|
|
31
|
-
- **`docs/plans/` path**: OpenRig's project structure uses `docs/plans/` as the canonical home for design + implementation plan documents (matches `writing-plans` modification — both are co-ordinated).
|
|
32
|
-
|
|
33
|
-
## Companion files
|
|
34
|
-
|
|
35
|
-
None.
|
|
36
|
-
|
|
37
|
-
## When to re-sync upstream
|
|
38
|
-
|
|
39
|
-
Watch upstream for:
|
|
40
|
-
|
|
41
|
-
- New phases or checkpoints in the brainstorming flow that OpenRig might want to adopt (rare; the skill is structurally stable in upstream).
|
|
42
|
-
- Changes to the brainstorming-to-writing-plans handoff (must stay coordinated with the `writing-plans` modifications).
|
|
43
|
-
|
|
44
|
-
When upstream changes:
|
|
45
|
-
|
|
46
|
-
1. Pull non-conflicting changes into the OpenRig copy.
|
|
47
|
-
2. Preserve the simplified 6-step flow and the `docs/plans/` save path unless operator direction reverses.
|
|
48
|
-
3. Bump `last_upstream_check` in `SKILL.md` frontmatter.
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: brainstorming
|
|
3
|
-
description: "You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation."
|
|
4
|
-
metadata:
|
|
5
|
-
openrig:
|
|
6
|
-
vendored_from: "Obra Superpowers (https://github.com/obra/superpowers)"
|
|
7
|
-
vendoring_pattern: modify-the-file
|
|
8
|
-
last_upstream_check: "2026-05-13 (diff against plugin source pulled 2026-05-11)"
|
|
9
|
-
divergence_notes: |
|
|
10
|
-
Simplified the process flow. Removed the Visual Companion offer step,
|
|
11
|
-
the Spec self-review step, and the User-reviews-spec step (those gates
|
|
12
|
-
are handled at the rig/orchestration layer in OpenRig). Changed plan-
|
|
13
|
-
doc save path from docs/superpowers/specs/ to docs/plans/.
|
|
14
|
-
See OPENRIG.md for full divergence details.
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
# Brainstorming Ideas Into Designs
|
|
18
|
-
|
|
19
|
-
## Overview
|
|
20
|
-
|
|
21
|
-
Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
|
|
22
|
-
|
|
23
|
-
Start by understanding the current project context, then ask questions one at a time to refine the idea. Once you understand what you're building, present the design and get user approval.
|
|
24
|
-
|
|
25
|
-
<HARD-GATE>
|
|
26
|
-
Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action until you have presented a design and the user has approved it. This applies to EVERY project regardless of perceived simplicity.
|
|
27
|
-
</HARD-GATE>
|
|
28
|
-
|
|
29
|
-
## Anti-Pattern: "This Is Too Simple To Need A Design"
|
|
30
|
-
|
|
31
|
-
Every project goes through this process. A todo list, a single-function utility, a config change — all of them. "Simple" projects are where unexamined assumptions cause the most wasted work. The design can be short (a few sentences for truly simple projects), but you MUST present it and get approval.
|
|
32
|
-
|
|
33
|
-
## Checklist
|
|
34
|
-
|
|
35
|
-
You MUST create a task for each of these items and complete them in order:
|
|
36
|
-
|
|
37
|
-
1. **Explore project context** — check files, docs, recent commits
|
|
38
|
-
2. **Ask clarifying questions** — one at a time, understand purpose/constraints/success criteria
|
|
39
|
-
3. **Propose 2-3 approaches** — with trade-offs and your recommendation
|
|
40
|
-
4. **Present design** — in sections scaled to their complexity, get user approval after each section
|
|
41
|
-
5. **Write design doc** — save to `docs/plans/YYYY-MM-DD-<topic>-design.md` and commit
|
|
42
|
-
6. **Transition to implementation** — invoke writing-plans skill to create implementation plan
|
|
43
|
-
|
|
44
|
-
## Process Flow
|
|
45
|
-
|
|
46
|
-
```dot
|
|
47
|
-
digraph brainstorming {
|
|
48
|
-
"Explore project context" [shape=box];
|
|
49
|
-
"Ask clarifying questions" [shape=box];
|
|
50
|
-
"Propose 2-3 approaches" [shape=box];
|
|
51
|
-
"Present design sections" [shape=box];
|
|
52
|
-
"User approves design?" [shape=diamond];
|
|
53
|
-
"Write design doc" [shape=box];
|
|
54
|
-
"Invoke writing-plans skill" [shape=doublecircle];
|
|
55
|
-
|
|
56
|
-
"Explore project context" -> "Ask clarifying questions";
|
|
57
|
-
"Ask clarifying questions" -> "Propose 2-3 approaches";
|
|
58
|
-
"Propose 2-3 approaches" -> "Present design sections";
|
|
59
|
-
"Present design sections" -> "User approves design?";
|
|
60
|
-
"User approves design?" -> "Present design sections" [label="no, revise"];
|
|
61
|
-
"User approves design?" -> "Write design doc" [label="yes"];
|
|
62
|
-
"Write design doc" -> "Invoke writing-plans skill";
|
|
63
|
-
}
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
**The terminal state is invoking writing-plans.** Do NOT invoke frontend-design, mcp-builder, or any other implementation skill. The ONLY skill you invoke after brainstorming is writing-plans.
|
|
67
|
-
|
|
68
|
-
## The Process
|
|
69
|
-
|
|
70
|
-
**Understanding the idea:**
|
|
71
|
-
- Check out the current project state first (files, docs, recent commits)
|
|
72
|
-
- Ask questions one at a time to refine the idea
|
|
73
|
-
- Prefer multiple choice questions when possible, but open-ended is fine too
|
|
74
|
-
- Only one question per message - if a topic needs more exploration, break it into multiple questions
|
|
75
|
-
- Focus on understanding: purpose, constraints, success criteria
|
|
76
|
-
|
|
77
|
-
**Exploring approaches:**
|
|
78
|
-
- Propose 2-3 different approaches with trade-offs
|
|
79
|
-
- Present options conversationally with your recommendation and reasoning
|
|
80
|
-
- Lead with your recommended option and explain why
|
|
81
|
-
|
|
82
|
-
**Presenting the design:**
|
|
83
|
-
- Once you believe you understand what you're building, present the design
|
|
84
|
-
- Scale each section to its complexity: a few sentences if straightforward, up to 200-300 words if nuanced
|
|
85
|
-
- Ask after each section whether it looks right so far
|
|
86
|
-
- Cover: architecture, components, data flow, error handling, testing
|
|
87
|
-
- Be ready to go back and clarify if something doesn't make sense
|
|
88
|
-
|
|
89
|
-
## After the Design
|
|
90
|
-
|
|
91
|
-
**Documentation:**
|
|
92
|
-
- Write the validated design to `docs/plans/YYYY-MM-DD-<topic>-design.md`
|
|
93
|
-
- Use elements-of-style:writing-clearly-and-concisely skill if available
|
|
94
|
-
- Commit the design document to git
|
|
95
|
-
|
|
96
|
-
**Implementation:**
|
|
97
|
-
- Invoke the writing-plans skill to create a detailed implementation plan
|
|
98
|
-
- Do NOT invoke any other skill. writing-plans is the next step.
|
|
99
|
-
|
|
100
|
-
## Key Principles
|
|
101
|
-
|
|
102
|
-
- **One question at a time** - Don't overwhelm with multiple questions
|
|
103
|
-
- **Multiple choice preferred** - Easier to answer than open-ended when possible
|
|
104
|
-
- **YAGNI ruthlessly** - Remove unnecessary features from all designs
|
|
105
|
-
- **Explore alternatives** - Always propose 2-3 approaches before settling
|
|
106
|
-
- **Incremental validation** - Present design, get approval before moving on
|
|
107
|
-
- **Be flexible** - Go back and clarify when something doesn't make sense
|