Doordash Lunch
Team lunch orchestration via DoorDash CLI - build a group round, emit checkout with split table, track payer rotation
$ npx claude-code-templates@latest --command="doordash/doordash-lunch" --yesRequires Claude Code. The command adds this command to your project's .claudedirectory — nothing runs on ToolZip's servers.
What's inside this command
Component source
Team Lunch
Group order operation: $ARGUMENTS
Works with the doordash-group-orders skill (install it alongside — it defines
the full flows; this command is the quick entrypoint). State:
team-food.json (roster), .dd/round-<date>.json (active round),
.dd/rounds.jsonl (history).
Current State
- Roster: !
cat team-food.json 2>/dev/null || cat ~/.claude/dd-cli/team-food.json 2>/dev/null || echo "(no roster yet)" - Active round: !
ls .dd/round-*.json 2>/dev/null | tail -1 || echo "(none)" - Rounds history: !
wc -l < .dd/rounds.jsonl 2>/dev/null || echo "0"rounds recorded
Task
Parse $ARGUMENTS:
order (default)
Run Flow 1 of the doordash-group-orders skill: roster check → constraint-aware
restaurant shortlist via dd-cli search → per-member choices (favorites
first, one question max per member) → build cart recording person →
cart-item-id in the round ledger → show the cart grouped by person.
If the user pastes a thread of requests, parse it (Flow 2) instead of
interviewing members.
checkout
- Show the grouped cart one final time (per-person subtotals).
- Emit the checkout URL — via
bash .claude/skills/doordash-spend-guard/scripts/dd-guard.sh checkout
dd-cli order checkout-url --cart-uuid <cart-uuid>.
- Print a share-ready split table (markdown, ready to paste into Slack):
- After the human confirms payment: pull order_uuid from
dd-cli order
{date, order_uuid, payer, split} to
.dd/rounds.jsonl, and offer the fee-proration fallback ("tell me the
final total and I'll prorate the difference").
whose-turn
Read .dd/rounds.jsonl, compute per-member (consumed − paid) balances,
name the next payer, show the balance table so the answer explains itself.
roster
Show/edit team-food.json interactively: add/remove members, update hard
constraints, allergens (ask severity explicitly), favorites, dislikes.
Confirm the final JSON before writing.
Rules
- Never guess an order for a member with allergens.
- cart-item-ids only from real
cart showoutput — attribution depends on it. - Splits are pre-fee until the user reports the final total; say so in the
Related Claude Code Commands
Doordash Budget
View DoorDash spend vs caps, edit the dd-guard spending policy interactively, and reconcile the intent ledger against real order history
Doordash Playbook
Manage saved DoorDash order playbooks (list, add from order history, remove, inspect) stored in ~/.claude/dd-cli/playbooks.json
Doordash Profile
Manage the dietary profile (allergens with severity tiers, diets, dislikes) used by doordash-allergy-shield to vet DoorDash carts
Doordash Report
Spend and activity report for agent-driven DoorDash ordering - reconciles the audit log against real order history and renders totals, per-restaurant breakdown, repeat rate, and abandoned-cart rate
Generate Tests
Generate a complete test file for a specified source file or component. Use when the user explicitly asks to write, create, or generate tests for a specific file.
Ultra Think
Multi-framework structured analysis: surfaces hidden assumptions, generates competing solutions, stress-tests each with adversarial reasoning, and delivers confidence-calibrated recommendations
Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.