Programming · Building & coding
code-execution
/code-execution
Use when a subtask is ready to implement and has a subtask JSON file with acceptance criteria and deliverables.
For whom
- Author
- darrenhinde ↗
- Repository
- OpenAgentsControl ↗
- Licence
- MIT
- Last repository change
- 19.10.2026
Assessment and security
100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
Deprecation
No signals detected. Repository changed on 19.10.2026, without references to retired models or APIs.
Licence
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when a subtask is ready to implement and has a subtask JSON file with acceptance criteria and deliverables.
Original author description
Use when a subtask is ready to implement and has a subtask JSON file with acceptance criteria and deliverables.
How it works
- Overview
- The Process
- Error Handling
- Red Flags
- Common Rationalizations
- Remember
- Related
Original SKILL.md headings · 168 lines, 602 words
SKILL.md preview
---
name: code-execution
description: Use when a subtask is ready to implement and has a subtask JSON file with acceptance criteria and deliverables.
context: fork
agent: coder-agent
---
# Code Execution
## Overview
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]."
## The Process
### Step 1: Read Subtask JSON
Load the subtask file specified in $ARGUMENTS:
```bash
Read: .tmp/tasks/{feature}/subtask_{seq}.json
```
Extract:
- `title` — What to implement
- `acceptance_criteria` — What defines success
- `deliverables` — Files/endpoints to create
- `context_files` — Standards to apply
- `reference_files` — Existing code to study
### Step 2: Load Context Files
Read each file in `context_files`:
```bash
Read: .opencode/context/core/standards/code-quality.md
Read: .opencode/context/core/standards/security-patterns.md
```
Understand:
- Project coding standards
- Naming conventions
- Security patterns
- Code quality requirements
### Step 3: Load Reference Files
Read each file in `reference_files`:
```bash
Read: src/middleware/auth.middleware.ts
```
Study:
- Existing patterns
- Code structure
- Conventions in use
### Step 4: Update Status to In Progress
Edit subtask JSON:
```json
"status": "in_progress",
"agent_id": "coder-agent",
"started_at": "2026-02-16T00:00:00Z"
```
### Step 5: Implement Deliverables
For each deliverable:
- Create or modify the specified file
- Follow acceptance criteria EXACTLY
- Apply standards from context_files
- Use patterns from reference_files
- Write clean, modular, functional code
### Step 6: Run Self-Review (MANDATORY)
**Type & Import Validation:**
- ✅ Function signatures match usage
- ✅ All imports/exports exist
- ✅ No missing type annotations
- ✅ No circular dependencies
**Anti-Pattern Scan:**
```bash
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:**
- Re-read `acceptance_criteria` array
- Confirm EACH criterion met
- Fix unmet criteria before proceeding
### Step 7: Mark Complete
Update subtask status:
```bash
bash .opencode/skills/task-management/router.sh complete {feature} {seq} "{summary}"
```
Verify:
```bash
bash .opencode/skills/task-management/router.sh status {feature}
```
### Step 8: Return Report
```
✅ 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
```
## Error Handling
**Missing subtask JSON:**
- Main agent must create subtask before invoking this skill
**Context files not found:**
- Main agent must run `/context-discovery` first
**Acceptance criteria unmet:**
- DO NOT mark complete—fix issues first
## Red Flags
If you think any of these, STOP and re-read this skill:
- "I know the pattern, I don't need to read the context files"
- "I'll do the self-review quickly at the end"
- "The acceptance criteria are obvious, I don't need to check them"
- "I'll mark it done and fix the edge cases later"
## Common Rationalizations
| 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. |
## Remember
- Context FIRST, code SECOND—always read context_files before implementing
- One subtask at a time—complete fully before moving on
- Self-review is MANDATORY—quality gate before marking done
- Functional, declarative, modular—clean code patterns only
- Return results to main agent—report completion for orchestration
## Related
- context-discovery
- task-breakdown
- test-generation
- code-review
---
**Task**: Execute coding subtask: **$ARGUMENTS**
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · darrenhinde/OpenAgentsControl | 100 | MIT |
| latestaiagents/agent-skills | 100 | MIT |
| beita6969/scienceclaw | 100 | MIT |
| mhattingpete/claude-skills-marketplace | 100 | Apache-2.0 |
Database snapshot: 13.11.2026 · package version 167b3565dfc0 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90developer-workflow
Use when implementing a frozen subtask, staying inside assigned files, or reviewing Technical Architect-owned code as the Developer. - 100ask-codex
Use when a Claude Code agent needs to delegate a question, subtask, or review to a local Codex instance. - 90run-reviewable-subtask-loop
Deliver a multi-subtask plan as sequential reviewed and verified commits with one aggregate publication path. Use only when the user invokes this skill by name; subtasks do not authorize subagents. - 95subtask
Parallel task orchestration CLI that dispatches work to AI workers (via Claude Code) in isolated git workspaces. Use when the user wants to draft, create, run, or manage tasks, delegate tasks to workers/subagents, or mentions subtask or Subtask. - 100ralph-tui-create-json
Convert PRDs to prd.json format for ralph-tui execution. Creates JSON task files with user stories, acceptance criteria, and dependencies. Triggers on: create prd.json, convert to json, ralph json, create json tasks. - 100review
Use when code changes need review for security, cost, architecture, or acceptance criteria verification. Triggers on /review, after implementation, pre-merge.