Tasks.md Sprint Sync
Use this skill to keep a project's TASKS.md section aligned with whatever phase is marked IN PROGRESS in that project's PLAN.md.
What this skill does
- Reads the active phase from
PLAN.md(phase with**Status: IN PROGRESS**) - Extracts bullets from that phase's
### Worksection - Finds the target project section in
TASKS.md - Reports drift between plan work items and
### In progresstasks - Optionally updates
TASKS.mdto match plan phase + work items
Inputs
Required:
PROJECT_NAME(the exact heading in TASKS.md, e.g.ClawHub Skills)
Optional:
PLAN_FILE(default:PLAN.md)TASKS_FILE(default:TASKS.md)SYNC_MODE(reportorapply, default:report)
Run
Dry-run drift report:
PROJECT_NAME="ClawHub Skills" \
PLAN_FILE=projects/clawhub-skills/PLAN.md \
TASKS_FILE=TASKS.md \
bash skills/tasks-md-sprint-sync/scripts/sync-tasks-phase.sh
Apply sync to TASKS.md:
PROJECT_NAME="ClawHub Skills" \
PLAN_FILE=projects/clawhub-skills/PLAN.md \
TASKS_FILE=TASKS.md \
SYNC_MODE=apply \
bash skills/tasks-md-sprint-sync/scripts/sync-tasks-phase.sh
Run against included fixtures:
PROJECT_NAME="Demo Project" \
PLAN_FILE=skills/tasks-md-sprint-sync/fixtures/PLAN.sample.md \
TASKS_FILE=skills/tasks-md-sprint-sync/fixtures/TASKS.sample.md \
SYNC_MODE=apply \
bash skills/tasks-md-sprint-sync/scripts/sync-tasks-phase.sh
Output contract
- Exit
0when report/apply completes - Exit
1on invalid inputs, missing sections, or no active phase - In
reportmode: prints missing/extra task drift, no file changes - In
applymode: updatesCurrent phase+ replacesIn progresslist for the target project section