Use when a subtask is ready to implement and has a subtask JSON file with acceptance criteria and deliverables.
56
63%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./plugins/claude-code/skills/code-execution/SKILL.mdExecute 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}.jsonExtract:
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.mdUnderstand:
Read each file in reference_files:
Read: src/middleware/auth.middleware.tsStudy:
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 secretsAcceptance 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 expiryMissing 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
37ca233
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.