Sync TASKS.md current phase and in-progress checklist from the active PLAN.md phase to keep sprint execution aligned.
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.
PLAN.md (phase with **Status: IN PROGRESS**)### Work sectionTASKS.md### In progress tasksTASKS.md to match plan phase + work itemsRequired:
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 (report or apply, default: report)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
0 when report/apply completes1 on invalid inputs, missing sections, or no active phasereport mode: prints missing/extra task drift, no file changesapply mode: updates Current phase + replaces In progress list for the target project sectionZIP package — ready to use