con un clic
code
Execute tasks from a tasks.yaml by orchestrating code-writer agents
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Execute tasks from a tasks.yaml by orchestrating code-writer agents
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
This skill should be used when the user needs to automate browser interactions, test UI workflows, verify page elements, take screenshots, upload files to forms, or interact with web applications during development and debugging. Use this skill for testing PDF upload dialogs, form interactions, dropdown selections, and visual verification of web pages.
Plan a feature using the prd-planner subagent
Break down a PRD into tasks following the task YAML spec
Manage tmux sessions, windows, and panes from the CLI — list state, read pane output, send keys/commands, create or kill sessions and windows, and inspect long-running terminal work. Use this skill whenever the user mentions tmux, asks to check what's running in another terminal, wants to start a background process in a tmux session, send a command to a running pane, capture or tail output from a tmux pane, attach context from a pane, or troubleshoot a stuck tmux process — even if they don't explicitly say "tmux command."
Plan a feature using the prd-planner subagent
Domain-Driven Design + Ports & Adapters (Hexagonal Architecture) implementation guide. Use this skill whenever the user invokes /ddd, asks to build a feature using DDD, wants to model a domain, design bounded contexts, implement hexagonal architecture, or review code for DDD compliance. Also trigger when the user mentions entities, value objects, aggregates, repositories, domain events, use cases, ports, adapters, or composition root in an architectural context.
| name | code |
| description | Execute tasks from a tasks.yaml by orchestrating code-writer agents |
| argument-hint | <path-to-tasks-yaml> [--task <task-key>] |
Execute tasks from a tasks.yaml file by orchestrating code-writer agents. Automatically handles dependency resolution, parallel execution, and status tracking.
/code <path-to-tasks-yaml> [--task <task-key>]
path-to-tasks-yaml: Path to tasks.yaml file (required)--task: Execute only a specific task key, skipping dependency resolution/code prd/auth-feature/tasks.yaml
/code ./tasks.yaml --task setup-database
/code prd/search/tasks.yaml
Load and validate tasks.yaml:
uv run ~/.claude/skills/tasks/tasks.py <path-to-tasks-yaml> summary
Report task summary:
If --task specified: Jump directly to step 5 for that task.
Find ready tasks — tasks where ALL of the following are true:
status == "open"depends have status == "done"uv run ~/.claude/skills/tasks/tasks.py <path> ready
If no ready tasks:
Determine execution strategy for ready tasks:
Parallelize (max 3 concurrent agents) when tasks touch completely separate files/domains.
Run sequentially when tasks:
For each ready task:
a. Mark in progress:
uv run ~/.claude/skills/tasks/tasks.py <path> set <task-key> progress
b. Gather context:
prd.md)details path is setc. Choose agent type:
code-writer-simplecode-writer-complexd. Invoke agent using the prompter skill with this structure:
<delegation>
<role>Senior software engineer specializing in {detected language/framework}</role>
<context>
<prd>{summary from prd.md}</prd>
<dependencies>{list of completed dependent tasks and what they built}</dependencies>
<codebase>{relevant existing files, patterns, conventions}</codebase>
</context>
<task>
<key>{task-key}</key>
<description>{task.description}</description>
<details>{contents of task detail file if exists}</details>
</task>
<constraints>
- Follow existing codebase conventions
- Ensure compatibility with completed dependent tasks
- Write production-ready code
- No new external dependencies without explicit approval
</constraints>
<verification>
1. Code compiles/runs without errors
2. Existing tests still pass
3. Implementation matches task details
</verification>
<return>
- Files created/modified with paths
- Summary of implementation
- Any issues or blockers encountered
</return>
</delegation>
e. On success, mark done:
uv run ~/.claude/skills/tasks/tasks.py <path> set <task-key> done
For parallel tasks: Launch all agents in a single tool call block.
Loop: After completing a batch, go back to step 3 to find the next ready tasks.
Final verification when all tasks report done:
uv run ~/.claude/skills/tasks/tasks.py <path> verify
| Operation | Command |
|---|---|
| Summary | uv run ~/.claude/skills/tasks/tasks.py <path> summary |
| List all tasks | uv run ~/.claude/skills/tasks/tasks.py <path> list |
| View ready tasks | uv run ~/.claude/skills/tasks/tasks.py <path> ready |
| View in progress | uv run ~/.claude/skills/tasks/tasks.py <path> list --status progress |
| Mark in progress | uv run ~/.claude/skills/tasks/tasks.py <path> set KEY progress |
| Mark done | uv run ~/.claude/skills/tasks/tasks.py <path> set KEY done |
| Verify all done | uv run ~/.claude/skills/tasks/tasks.py <path> verify |
"progress", report the error, allow user to retry✓ Loaded tasks.yaml (X tasks)
- Done: Y
- In Progress: Z
- Open: W
▶ Ready: task-name-1 (no deps)
▶ Ready: task-name-2 (no deps)
[Agents executing...]
✓ task-name-1 complete
Modified: src/foo.ts, src/bar.ts
✓ task-name-2 complete
Created: src/baz.ts
▶ Ready: task-name-3 (depends: task-name-1, task-name-2 ✓)
[...]
✓ All tasks complete!