dasdigitalemomentum/opencode-processing-skills/execute-work-package

Claude Code and agent skill by dasdigitalemomentum/opencode-processing-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Execute a bounded implementation unit from authoritative plan references or an inline gated brief using a stateful subagent loop (steps -> gate -> execute -> digest) without creating new persistent artifacts.

Install

npx vskill@latest install dasdigitalemomentum/opencode-processing-skills/execute-work-package

SKILL.md

Skill: Execute Work Package

This skill standardizes execution/implementation once planning is gated.

It is a small, repeatable protocol:

1) BLUEPRINT: Subagent returns an Execution Blueprint (step list) 2) GATE: Primary approves (primary-internal) 3) EXECUTE: Subagent implements and verifies (same task_id) 4) DIGEST: Subagent returns a compact digest (no raw logs/diffs)

This skill deliberately does not create new persistent artifacts in docs/ or plans/.


When to Use

Use this skill when:

  • A plan/phase (or a major slice of a phase) already has a clear DoD and verification approach; or
  • A self-contained work package has an inline gated brief with its task, DoD, constraints, and approved broad/full final verification.
  • You want to offload implementation to a subagent without causing primary context bloat.
  • You want predictable, reviewable execution with a single explicit gate.

If persistent phase work has a vague or unverified implementation plan, run author-and-verify-implementation-plan first. Do not create a persistent plan solely because a bounded inline work package is significant or non-trivial.

Multi-phase ordering: When a plan has multiple phases, create all implementation plans first (via author-and-verify-implementation-plan), then execute phases sequentially — one at a time. Do not alternate between planning and executing per phase; the cross-phase view catches conflicts early and sequential execution avoids errors from interdependencies.

Do not use this skill to:

  • (Re-)do planning (scope, risks, alternatives) — that is Primary work.
  • Generate documentation/planning artifacts — use generate-docs, create-plan, update-plan, update-docs.

Execution Model

Roles
  • Primary (maintainer)
  • Owns scope/DoD/risk decisions and gating.
  • Chooses the work package (phase, significant phase slice, or self-contained inline brief).
  • Owns Git operations (stage/commit/PR) unless explicitly delegated.
  • Updates plan/todo via update-plan as needed when a persistent plan exists.
  • Subagent (implementer)
  • Does execution only for exactly one phase/work package in a fresh session.
  • First returns a step list.
  • May add a concise optional Package Sizing Note when natural execution slices exist, but never splits scope or chooses a slice; the Primary decides whether to approve the full package or issue a smaller fresh package.
  • After approval, executes those steps and returns a digest.
  • Uses retriever by default for separable evidence collection while retaining ownership of the Blueprint, edits, and verification.
  • Directly reads scoped source and compact targeted evidence, but keeps uncurated bulk evidence out of its context. It uses reliable focused filtering when sufficient and retriever for complete raw or coherent multi-file evidence.
  • BLUEPRINT remains command-free. In EXECUTE, potentially verbose output is spooled to a predictable path under /tmp/opencode/; the immediate context receives only path, command, exit status, and compact metadata/evidence.
  • Retires after the digest, subject only to the same-package review-fix exception under Statefulness; another phase/work package starts with a fresh implementer.
  • Does not do Git operations.
  • Checkpoints after approved Blueprint steps or bounded parts of a large step, consulting the latest possibly lagged telemetry before deliberately starting another context-heavy unit.
  • Uses browser-walkthrough for approved automated browser acceptance; agent-observed walkthroughs belong to a Delegate, while user-attended walkthroughs remain Primary-coordinated and may use a retained Delegate session for bounded browser segments.

Routing Matrix (Who does what)

  • Writes: code files in the target repository (working tree changes) and runs verification commands.
  • Does NOT write: plans/** or docs/** artifacts.
  • Primary: owns gating/approval, Git operations, and, when a persistent plan exists, updates to plans/** (typically via update-plan).
  • implementer: execution only (blueprint → execute → digest), no Git.
  • Session boundary: one fresh implementer per phase/work package; its BLUEPRINT and EXECUTE calls share a session. Post-digest reuse is limited to the review-fix exception under Statefulness.
  • retriever: default leaf for separable evidence collection by the implementer; no edits, decisions, or artifact ownership.
  • browser walkthroughs: automated acceptance is Implementer-owned during EXECUTE, agent-observed walkthroughs route to a Delegate, and user-attended walkthroughs are Primary-coordinated with optional retained-Delegate execution; no browser-specific persona is created.
  • doc-explorer: not used for this skill (unless you explicitly want docs/plan artifacts, in which case use the appropriate planning/doc skills).
Authority and navigation
  • plans/ provides gated intent/DoD and references when the package belongs to a persistent plan lifecycle.
  • Otherwise, the inline gated work-package brief is authoritative and supplies the task, DoD, constraints, and final verification.
  • docs/ (if present) provides curated inventories (modules/features/symbols) so the subagent does not rediscover everything.
Scope and Specification Boundary

Gold-plating is work not required by an explicit user requirement, gated scope/DoD, or a concrete existing invariant necessary for the requested behavior to function. It includes invented product rules or guardrails, speculative configurability, generalized abstractions or future-proofing, and exhaustive treatment of hypothetical edge cases. Do not invent product, policy, or operational rules or guardrails, and do not implement every conceivable edge case.

Minimal means the smallest complete solution, never an incomplete implementation: the requested behavior must work, affected real paths must integrate, applicable existing invariants must be preserved, and the approved verification must pass. Functionality and correctness come first; scope discipline is not permission to omit necessary work or obstruct progress.

Stop only when missing specification creates a genuine user-owned fork that changes observable behavior, scope/DoD, policy or rules, configuration behavior, or acceptance. Resolve codebase-answerable questions and choose local, reversible technical details that do not change observable behavior. An Implementer cannot ask the user: in BLUEPRINT or EXECUTE, return the exact blocking decision to the Primary and stop before dependent work rather than fabricating a product decision. After user input changes or completes the authority, require an updated/re-approved gate as appropriate before dependent execution.

Required values that users or operators may reasonably change across environments—including URLs, addresses, ports, timeouts, and similar runtime values—belong in the project's existing configuration location or pattern, not in hidden code defaults or fallbacks. Do not invent a new configuration system or extra options unless gated scope requires them. If a required configurable value has no established project configuration location, or its behavior is a user-owned choice, return the exact decision to the Primary and stop dependent work. Fixed protocol or domain constants authorized by requirements do not become configurable merely to appear flexible.

Statefulness

The protocol relies on continuing the subagent in the same session via the same `task_id`:

  • Call 1 (task): request "Step List only" → receive Blueprint
  • Primary reviews and approves (internal gate)
  • Call 2 (task with same task_id): request "Execute approved steps" → receive Digest

This reuse remains mandatory even when a fresh lean session would normally be preferred: EXECUTE depends on the retained Blueprint inspection and explicit approval context.

The execution protocol ends with that package's digest and the Implementer retires by default. Narrow exception: the Primary may resume the same session through review-fix for explicitly accepted, evidence-backed defects of the same completed package, when its retained review/diagnosis context/output is correct and sufficient. That skill owns authorization (an explicit Primary instruction naming accepted defects and scope, not an approval token), eligibility/fallback, verification, and the one-pass digest-and-stop contract. This preserves secured evidence; it does not reopen EXECUTE or permit another phase/package or indefinite continuation. A new phase/work package always starts with a fresh Implementer.

CRITICAL: Two separate `task` calls required.
BLUEPRINT and EXECUTE are always two separate `task` tool invocations. The primary must:
1. Make Call 1 (task(subagent_type="implementer", prompt="MODE: BLUEPRINT ...")) and wait for the response.
2. Review the Blueprint, then gate/approve internally.
3. Make Call 2 (task(task_id="<from call 1>", subagent_type="implementer", prompt="MODE: EXECUTE ...")) as a new, separate tool call.
Anti-pattern (WRONG): Combining Blueprint and Execute in a single task call, or sending the Execute prompt before receiving the Blueprint response. The subagent session is still in BLUEPRINT mode until the first call completes — any Execute instructions in the same call will be ignored.
Platform-specific session resumption

The two-call pattern requires session resumption — continuing a subagent in the same conversation context. The mechanism differs by platform:

PlatformResumption mechanismNotes
OpenCodetask(task_id="<from call 1>", ...)Pass task_id from Call 1 into Call 2. Native support.
Claude Code (with Agent Teams)SendMessage(to="<agent_id>", ...)Requires CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1. The agent_id is received after Call 1 completes.
Claude Code (without Agent Teams)❌ Not supportedEach Agent call creates a fresh context. Workaround: Write the Blueprint to a temp file, then start a second Agent call that reads the Blueprint file and executes. The subagent loses conversational context but retains the step list.
Note: In Claude Code v2.1.63+, the Task tool was renamed to Agent (the old name still works as an alias). The SendMessage tool is only available when Agent Teams are enabled.

Protocol

0) Primary inputs (for any work package)

Before delegating:

  • Ensure the work package is already gated (scope/DoD decided).
  • Provide exactly one authoritative scope source:
  • Persistent plan references: an explicit task statement plus the relevant planning artifacts. The subagent reads these references itself (the primary does not paste their contents). Recommended references:
  • plans/<plan>/plan.md
  • plans/<plan>/phases/phase-N.md
  • plans/<plan>/implementation/phase-N-impl.md
  • plans/<plan>/todo.md (optional)
  • Inline gated work-package brief: task, DoD, constraints, and approved broad/full final verification. No plans/ artifact is required.
  • If project documentation exists, also provide references to it so the subagent can use the curated inventories

(symbols, modules, features) instead of rediscovering everything from scratch:

  • docs/overview.md (optional)
  • docs/modules/*.md (optional)
  • docs/features/*.md (optional)
  • Provide the approved broad/full Verify Command if one is already decided.

If not, the subagent proposes exactly one verify command in the BLUEPRINT (more only when the work package DoD genuinely requires them), to be gated by the primary.

1) MODE: BLUEPRINT (Execution Blueprint)

Primary delegates to implementer with a prompt based on tpl-implementer-preflight-prompt.md.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
60
Repository forks
3
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dasdigitalemomentum/opencode-processing-skills/execute-work-package/badge)](https://verified-skill.com/skills/dasdigitalemomentum/opencode-processing-skills/execute-work-package)

Something wrong with this skill or its page? Tell us.