lambda-workflow
One lifecycle for Lambda repos: choose a bd task, start work, land the PR, and watch GitHub via Dumbwaiter MCP until it merges.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
One lifecycle for Lambda repos: choose a bd task, start work, land the PR, and watch GitHub via Dumbwaiter MCP until it merges.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | lambda-workflow |
| description | One lifecycle for Lambda repos: choose a bd task, start work, land the PR, and watch GitHub via Dumbwaiter MCP until it merges. |
Use this skill whenever you touch delivery end-to-end—from grabbing a bd issue through merge/closure. Each phase builds on the last; do not skip ahead unless a human explicitly says so.
.beads/beads.db is missing (fresh clone, new worktree, etc.), run bd init --json from the repo root so the local database hydrates from .beads/issues.jsonl before listing work.bd ready --json -n 0 before asking for work; respect blockers/dependencies, pick the first ready task and claim it. bd update <id> --status in_progress --notes "Starting work on ${task description}"..beads/issues.jsonl. Again, push these changes (and only these changes) directly to main.git fetch --all and git pull --rebase origin main.main, stop and escalate instead of piling on.git checkout -b <short-task-name>). Never work directly on main.gh auth status (or equivalent) so PR automation works later.gh pr create --draft --title "..." --body-file body.md. Be wary of quoting issues, it's easy to end up with "\n" characters in the PR.git status -sb clean; commit coherent checkpoints and push often so the draft PR reflects reality. Pull and rebase over origin/main before pushing each time.proptest! or integration coverage when stateful sh loops).dbg!, println!, temporary flags) before moving to landing.Quality gates
Repo hygiene
.gitignore keeps artifacts out.main, squash/reorder into meaningful commits, and confirm no stray stashes remain (git stash list). Make sure you only squash/reorder your commits! Commits must all be rebased on top of origin/main.PR
gh pr ready once all our tests pass, and we think the acceptance criteria are met. Close the bd task now, update bd notes with the PR URL, testing evidence, and any deviations from the original plan, and push.@codex review; reply inline to every Codex comment with the commit hash that fixes it.Tracking
Once the PR is Ready, hand monitoring to the Dumbwaiter MCP so you don’t poll GitHub manually.
Start a wait (via MCP tools or mcp__dumbwaiter__wait.start):
{
"provider": "github",
"selector": { "owner": "ORG", "repo": "REPO", "pr": 123 },
"condition": "checks_succeeded"
}
Capture the returned wait_id.
Await completion
wait.await with that wait_id to stream progress notifications (check statuses, workflow runs, etc.).pr_merged, checks_failed, comment_received (plus filters), changes_requested, or workflow_completed.wait.status on an interval; cancel via wait.cancel if superseded.React to outcomes
wait_id back to bd/PR notes.condition: "comment_received" with filters.since so every new review/comment notifies you in real time.Background durability
DUMBWAITER_DB and DUMBWAITER_WATCHER=1 if you need waits to survive process restarts. Always log the wait_id in bd so another agent can resume with wait.status.pr_merged, archive local branches/stashes so the next effort starts clean.Following this workflow keeps the entire Lambda lifecycle observable: bd reflects intent, GitHub shows work-in-progress via draft PRs, Ready PRs meet the landing checklist, and Dumbwaiter MCP watches the PR until it merges.