From oac
Implements coding subtasks from JSON specs with acceptance criteria, applies standards from context files, runs self-review scans, and updates task status via scripts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/oac:code-executionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute coding subtasks with self-review and quality validation. Runs in isolated coder-agent context with pre-loaded standards.
Execute coding subtasks with self-review and quality validation. Runs in isolated coder-agent context with pre-loaded standards.
Announce at start: "I'm using the code-execution skill to implement [subtask title]."
Load the subtask file specified in $ARGUMENTS:
Read: .tmp/tasks/{feature}/subtask_{seq}.json
Extract:
title — What to implementacceptance_criteria — What defines successdeliverables — Files/endpoints to createcontext_files — Standards to applyreference_files — Existing code to studyRead each file in context_files:
Read: .opencode/context/core/standards/code-quality.md
Read: .opencode/context/core/standards/security-patterns.md
Understand:
Read each file in reference_files:
Read: src/middleware/auth.middleware.ts
Study:
Edit subtask JSON:
"status": "in_progress",
"agent_id": "coder-agent",
"started_at": "2026-02-16T00:00:00Z"
For each deliverable:
Type & Import Validation:
Anti-Pattern Scan:
grep "console.log" deliverables # NO debug statements
grep "TODO\|FIXME" deliverables # NO unfinished work
grep "api[_-]key\|secret" deliverables # NO hardcoded secrets
Acceptance Criteria Check:
acceptance_criteria arrayUpdate subtask status:
bash .opencode/skills/task-management/router.sh complete {feature} {seq} "{summary}"
Verify:
bash .opencode/skills/task-management/router.sh status {feature}
✅ Subtask {feature}-{seq} COMPLETED
Self-Review: ✅ Types | ✅ Imports | ✅ No debug code | ✅ Criteria met
Deliverables:
- src/auth/jwt.service.ts
- src/auth/jwt.service.test.ts
Summary: JWT service with RS256 signing and 15min token expiry
Missing subtask JSON:
Context files not found:
/context-discovery firstAcceptance criteria unmet:
If you think any of these, STOP and re-read this skill:
| Excuse | Reality |
|---|---|
| "I've seen this pattern before, context files will just confirm what I know" | Projects diverge from common patterns. One wrong assumption = rework. Read the files. |
| "Self-review is just checking my own work" | Self-review catches type errors, missing imports, and debug code before the main agent sees it. |
| "The criteria are implied by the task title" | Implied criteria are unverifiable. If it's not written, it's not a gate. |
| "I'll handle edge cases in a follow-up" | Edge cases left for follow-up become bugs in production. Handle them now. |
Task: Execute coding subtask: $ARGUMENTS
npx claudepluginhub darrenhinde/openagentscontrol --plugin oacExecutes implementation plans by dispatching fresh subagents per task, with two-stage spec compliance and code quality review after each task. Supports task sizing (small/medium/large).
Executes implementation plans with independent tasks in the current session by dispatching fresh subagents per task with two-stage self-review and final global review.
Executes implementation plans by dispatching fresh subagents per task, with per-task reviews and a final branch review. Use when tasks are independent and you want fast iteration without context pollution.