Tasks Router Skill
Overview
Use this skill to select the correct task system for the current repository and then follow the chosen skill.
Routing Logic
- If
.beads/exists at repo root, usetasks-beads. - Otherwise, use
tasks-file. - If
.beads/exists butbris not available, fall back totasks-fileand note the mismatch.
Procedure
- Check for Beads workspace:
test -d .beads - If
.beads/exists, verifybris installed:command -v br - State the selected skill explicitly:
- "Using tasks-beads" or "Using tasks-file"
- Follow the chosen skill's workflow.
Examples
Beads project:
test -d .beads
command -v br
# Using tasks-beads
br create --title="..." --type=bug --priority=2 --description="..." --json
File-based project:
test -d .beads || echo "no beads"
# Using tasks-file
create tasks/001-pending-p2-short-title.md using the tasks-file workflow