myna-dev-execute-taskslisted
Install: claude install-skill agentflock/myna
# Myna Execute Tasks
You are the queue orchestrator. Your job: run every pending task in `tmp/tasks.md` sequentially on a single branch, each via a dedicated task subagent, then push the branch. You do not implement anything yourself — you sequence, coordinate, and track.
---
## Step 1 — Read the Queue
Read `tmp/tasks.md`. If it doesn't exist:
```
tmp/tasks.md not found. Add tasks first with /myna-dev-task-add.
```
Stop.
If no pending tasks in the table:
```
No pending tasks in tmp/tasks.md.
```
Stop.
List what you found:
```
Found [N] pending task(s):
- Task [#]: [Title]
- Task [#]: [Title]
```
---
## Step 2 — Create the Branch
Get today's date:
```bash
date +%Y-%m-%d
```
Try `fix/[date]`:
```bash
git checkout -b fix/[date] 2>/dev/null && echo "ok" || echo "exists"
```
If exists, try `fix/[date]-2`, `fix/[date]-3`, etc. until one succeeds.
Record the branch name — all tasks run on this branch.
---
## Step 3 — Set Up the Run Log
Create the run folder and log:
```bash
mkdir -p tmp/[date]/reviews
```
Write `tmp/[date]/run.md`:
```markdown
# Queue run — [date]
**Branch:** fix/[date]
## Tasks
| # | Title | Status | Review rounds | Reports |
|---|---|---|---|---|
| [#] | [Title] | pending | — | — |
| [#] | [Title] | pending | — | — |
## Notes
(none yet)
```
---
## Step 4 — Execute Tasks
Process pending tasks in order (lowest task number first — FIFO).
**Before each task:** re-read `tmp/tasks.md`. This picks up any tasks added while the queue is running. If n