| name | backlog-execute |
| description | Autonomous execution skill for tickets (backlog). Use when implementing a ticket (TASK-xxx). |
Execute one ticket: $0
Instructions:
- View the task:
backlog task $0 --plain
- Claim the task (if not already In Progress):
backlog task edit $0 -s "In Progress" -a @ralph
- Execute the work described in the task and its acceptance criteria
- If you discover new work, create a follow-up ticket. If that follow-up
blocks the current ticket (i.e., $0 cannot proceed until the new
ticket is done), revert $0 back to To Do so it is not treated as
actively in progress:
backlog task edit $0 -s "To Do", then
exit — do not continue executing a blocked ticket.
- Mark acceptance criteria complete as you go
- Add implementation notes:
backlog task edit $0 --append-notes "..."
- Add a final summary:
backlog task edit $0 --final-summary "..."
- Commit ALL changes (this is mandatory — never skip the commit step). Do this
BEFORE marking the ticket Done — see step 10 for why:
a. If you made changes inside sportsbook-bff/: cd into it, stage the changed files,
and commit there FIRST (the pre-commit hook must pass).
b. If you made changes inside penn-core/: cd into it, stage the changed files,
and commit there FIRST.
c. Back in the root repo, stage any changed files (including submodule pointer
updates for sportsbook-bff and/or penn-core if you committed inside them,
plus backlog task files). Commit with an informative but concise message.
d. All commits must include the Co-Authored-By trailer.
- Mark the ticket done:
backlog task edit $0 -s Done
- Fold that status change into the commit from step 8 instead of leaving it
separate: stage the updated ticket file and
git commit --amend --no-edit.
Committing the code first and folding the Done flip in afterward means an
interruption between steps 8-10 (e.g. this process being killed) never
leaves a ticket marked Done with its work uncommitted — worst case is a
ticket that's already-committed but still shows its prior status, which a
future run can safely re-check rather than silently losing finished work.
- Print a summary of what you did and exit
Do NOT start work on multiple tickets. Complete exactly ONE ticket then exit.
Additional Information: $ARGUMENTS