一键导入
implement
Full implementation mode - end-to-end feature implementation with parallel agent orchestration
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Full implementation mode - end-to-end feature implementation with parallel agent orchestration
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Analyze recent changes and add test coverage for HEAD commit
Write failing unit tests for feature requirements (TDD style)
Deep analysis mode - thorough multi-phase investigation with expert consultation
Analyze test coverage gaps and report findings
Analyze service capacity, load patterns, and scaling requirements
Code review mode - comprehensive review with security, performance, and maintainability focus
| name | implement |
| description | Full implementation mode - end-to-end feature implementation with parallel agent orchestration |
Current Time: !date
Go Version: !go version
Execute a complete feature implementation using coordinated agent swarms.
You MUST use the roadmap plugin (createroadmap, readroadmap, updateroadmap) to:
in_progress when starting, completed when doneEvery 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 │
│ │
└─────────────────────────────────────────────────────────────┘
PLAN: Gather context and define scope.
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...")
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.
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.
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.
PLAN: Mark phase in_progress.
WORK:
VERIFY: Integration tests pass, no conflicts.
COMMIT: Use commit skill to commit integration changes.
PROCEED: Only after commit succeeds.
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.
PLAN: Mark phase in_progress.
WORK:
VERIFY: Documentation complete, no orphaned tasks.
COMMIT: Use commit skill to commit documentation.
CLEANUP (MANDATORY):
updateroadmapAt 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]
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.
Use this template for the Obsidian document:
@~/.config/opencode/templates/implementation-summary.md
$ARGUMENTS