← ClaudeAtlas

gsd-migrate-todoslisted

One-shot migration of .planning/todos/pending/ entries into bd issues (B12)
davdittrich/gsd-beads · ★ 1 · AI & Automation · score 65
Install: claude install-skill davdittrich/gsd-beads
**STOP -- DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by the command system. Using the Read tool on this file wastes tokens. Begin executing Step 0 immediately.** ## Step 0 -- Banner **Before ANY tool calls**, display this banner: ``` GSD > MIGRATE TODOS ``` Then proceed to Step 1. ## Step 1 -- Config Gate Check whether the beads capability is enabled by reading `.planning/config.json` directly with the Read tool. 1. Read `.planning/config.json` with the Read tool. 2. If the file exists, `config.beads` is present, and `config.beads.enabled` is explicitly the boolean `false`: display the disabled message and **STOP**. 3. Otherwise -- the file is missing, `config.beads` is absent, or `config.beads` is present with no `enabled` key -- fall through to the shipped default (`beads.enabled: true` in `capability.json`) and proceed to Step 2. **Disabled message:** ``` GSD > MIGRATE TODOS Beads sync is disabled (beads.enabled). Nothing was migrated; no todo files were touched. ``` ## Step 2 -- bd-availability gate `bd` usability is not checked here directly -- it is delegated to `sync.py`, which locates the binary and runs one cheap read command as its first action (B6/D-08). If `bd` is absent, failing, or locked, `sync.py` prints the one required notice line, appends an entry to `.planning/STATE.md` under `### Blockers/Concerns`, and exits 0 without issuing any `bd create` calls. Proceed straight to Step 3 -- do not duplica