implement
Full implementation mode - end-to-end feature implementation with parallel agent orchestration
$ Installieren
git clone https://github.com/thoreinstein/opencode-config /tmp/opencode-config && cp -r /tmp/opencode-config/skill/implement ~/.claude/skills/opencode-config// tip: Run this command in your terminal to install the skill
name: implement description: Full implementation mode - end-to-end feature implementation with parallel agent orchestration
IMPLEMENTATION MODE
Current Time: !date
Go Version: !go version
Execute a complete feature implementation using coordinated agent swarms.
MANDATORY: Roadmap Plugin Usage (NON-NEGOTIABLE)
You MUST use the roadmap plugin (createroadmap, readroadmap, updateroadmap) to:
- Define all phases BEFORE any implementation work begins
- Track phase status โ mark
in_progresswhen starting,completedwhen done - Gate phase transitions โ do NOT proceed to next phase until current phase is committed
- Archive roadmap โ delete/archive when implementation is complete
Phase Execution Loop (NON-NEGOTIABLE)
Every phase follows this exact sequence:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ PHASE EXECUTION LOOP โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ 1. PLAN โ Define work for this phase โ
โ Call: updateroadmap(status="in_progress") โ
โ โ
โ 2. WORK โ Execute the phase work โ
โ Delegate to appropriate specialists โ
โ โ
โ 3. VERIFY โ Run verification checklist โ
โ Tests pass, lints clean, build succeeds โ
โ โ
โ 4. COMMIT โ Invoke commit skill โ
โ /commit (or load commit skill) โ
โ Call: updateroadmap(status="completed") โ
โ โ
โ 5. PROCEED โ Only after commit succeeds โ
โ Move to next phase โ
โ โ
โ โ ๏ธ DO NOT PROCEED TO NEXT PHASE UNTIL COMMIT SUCCEEDS โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Implementation Protocol
Phase 1: Requirements Analysis
PLAN: Gather context and define scope.
- Gather Context
background_task(agent="explore", prompt="Find existing patterns for...")
background_task(agent="explore", prompt="Find related code that might be affected...")
background_task(agent="librarian", prompt="Research best practices for...")
- Clarify Requirements
- What exactly needs to be built?
- What are the acceptance criteria?
- What constraints exist?
- What patterns should be followed?
- Create Roadmap (MANDATORY)
Use createroadmap to define ALL phases with actions:
createroadmap(
feature="Feature Name",
spec="High-level specification...",
features=[
{ number: "1", title: "Phase 1", description: "...", actions: [...] },
{ number: "2", title: "Phase 2", description: "...", actions: [...] },
...
]
)
Each phase MUST include a final action for commit:
{ number: "X.99", description: "Commit phase X changes via commit skill", status: "pending" }
WORK: N/A for this phase (planning only).
VERIFY: Roadmap created, requirements clear.
COMMIT: Use commit skill to commit any planning artifacts.
PROCEED: Only after commit succeeds.
Phase 2: Architecture Decision (If Needed)
PLAN: Mark phase in_progress via updateroadmap.
WORK: For significant features, consult:
@architect Design the architecture for:
- [Feature description]
- Constraints: [list]
- Expected scale: [numbers]
Or for simpler decisions:
@principal Quick architecture gut check:
- [Approach description]
- [Alternative considered]
VERIFY: Architecture documented, decisions recorded.
COMMIT: Use commit skill to commit architecture docs/decisions.
PROCEED: Only after commit succeeds.
Phase 3: Parallel Implementation
PLAN: Mark phase in_progress. Identify parallel work streams.
WORK: Deploy domain specialists in parallel where independent:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ PARALLEL IMPLEMENTATION SWARM โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ BACKEND โ FRONTEND โ
โ โโ @go (Go APIs/CLIs) โ โโ @frontend (UI) โ
โ โโ @postgres (schema) โ โ
โ โโ @redis (redis) โ โ
โ โโ @gcp-dev (google apis) โ โ
โ โโ @linux (shell scripts) โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ INFRASTRUCTURE โ QUALITY โ
โ โโ @k8s (manifests) โ โโ @testing (test strategy) โ
โ โโ @terraform (IaC) โ โโ @security (security) โ
โ โโ @cicd (pipelines) โ โโ @perf (performance) โ
โ โโ @nix (Nix configs) โ โโ @sre (reliability) โ
โ โโ @finops (architecture) โ โโ @a11y (accessibility) โ
โ โโ @gcp-architect (gcp) โ โโ @chaos (experiments) โ
โ โโ @security (entsec) โ โโ @o11y (observability) โ
โ โ โโ @e2e (end to end tests) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
VERIFY: All implementation work complete, tests written.
COMMIT: Use commit skill to commit all implementation changes.
PROCEED: Only after commit succeeds.
Phase 4: Integration
PLAN: Mark phase in_progress.
WORK:
- Integrate components
- Resolve any conflicts
- Ensure consistency across modules
VERIFY: Integration tests pass, no conflicts.
COMMIT: Use commit skill to commit integration changes.
PROCEED: Only after commit succeeds.
Phase 5: Verification
PLAN: Mark phase in_progress.
WORK: Run full verification checklist:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ VERIFICATION CHECKLIST โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ [ ] lsp_diagnostics clean on all changed files โ
โ [ ] Tests pass (go test / npm test / etc.) โ
โ [ ] Linter passes (golangci-lint / eslint) โ
โ [ ] Build succeeds โ
โ [ ] Security review if needed (@security) โ
โ [ ] Performance acceptable โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
VERIFY: All checks pass.
COMMIT: Use commit skill to commit any verification fixes.
PROCEED: Only after commit succeeds.
Phase 6: Documentation & Cleanup
PLAN: Mark phase in_progress.
WORK:
- Update relevant documentation
- Clean up TODO list
- Cancel all background tasks
- Summarize what was implemented
VERIFY: Documentation complete, no orphaned tasks.
COMMIT: Use commit skill to commit documentation.
CLEANUP (MANDATORY):
- Archive or delete the roadmap file
- Mark all roadmap actions as completed via
updateroadmap - Confirm no uncommitted changes remain
Implementation Output
At completion, provide:
## Implementation Summary
### What Was Built
[Brief description of the feature]
### Files Changed
- `path/to/file.go` โ [what changed]
- `path/to/file.go` โ [what changed]
### Architecture Decisions
[Key decisions made and rationale]
### Testing
- [Tests added]
- [Coverage notes]
### Verification
- [ ] All diagnostics clean
- [ ] Tests passing
- [ ] Build succeeds
### Commits Made
- [Commit hash] โ [Phase X: description]
- [Commit hash] โ [Phase Y: description]
### Known Limitations
[Any constraints or future work]
### Next Steps
[Follow-up tasks if any]
Output
Write to Obsidian via obsidian_append_content at:
$OBSIDIAN_PATH/Implementations/YYYY-MM-DD-feature-name.md
Note:
$OBSIDIAN_PATHmust be a vault-relative path (e.g.,Projects/myapp), set per-project via direnv. Theobsidian_append_contenttool expects paths relative to the vault root.
Document Structure
Use this template for the Obsidian document:
@~/.config/opencode/templates/implementation-summary.md
Implement
$ARGUMENTS
Repository
