Stefano Fiorini
|
f5161f584d
|
feat(do-task): add opencode variant SKILL.md + template (M5)
Ports the claude-code canonical to OpenCode conventions:
- Phase 1 adds Bootstrap Superpowers Context step — uses OpenCode's
native skill tool to list + verify superpowers/brainstorming,
superpowers/test-driven-development,
superpowers/verification-before-completion, and
superpowers/finishing-a-development-branch before any other phase.
- All sub-skill invocations swapped to OpenCode native skill tool
with superpowers/<skill> (slash) path format.
- Helper paths swapped to ~/.config/opencode/skills/reviewer-runtime/
and ~/.config/opencode/skills/do-task/templates/.
- Plan-mode guard removed (OpenCode has no plan-mode concept).
- Prerequisite Check adds opencode --version + Superpowers symlink
at ~/.config/opencode/skills/superpowers verification.
- Opencode reviewer branch (from M1 research) uses
`opencode run -m <provider>/<model> --agent plan --format json`
with fresh-call default and documented opt-in -s <id> resume path.
- Added Required Skill Invocation Rules, Variant Hardening Notes
— OpenCode, Common Mistakes, and Red Flags sections.
- Template runtime field = opencode; guardrail line updated.
Core-section schema identical across all 4 variants (14 sections).
Reviewer: codex / gpt-5.4. Approved round 1 (0 P0/P1/P2/P3).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-04-22 14:30:25 -05:00 |
|