bd-next
Use this skill when the user wants to start working on the next Beads ticket.
Usage
Run the script to get the next ready ticket and instructions:
bash
{baseDir}/scripts/bd-next [ticket_id]
- •If no ticket ID is provided, it fetches the first ready ticket from
bd ready --json - •If a ticket ID is provided, it uses that specific ticket
The script outputs a prompt that instructs Amp to:
- •Start a new thread for the ticket
- •Show the ticket details with
bd show <id> --json - •Restate acceptance criteria
- •Execute the work
- •Commit changes
- •Close the ticket with
bd close <id> - •Single amend to capture both pre-commit hook changes and beads state