doordash-group-orders
できること
このスキルは、チームのための1つのグループ注文をDoorDashで行わせます。毎日数人分の昼食や夕食を注文し、代金を分ける必要がある人向けです。
使う場面
- ✓チーム全員の昼食や夕食を、1つのカートでまとめて注文したいとき。
- ✓各自の食事を本人に割り当て、費用を精算のために分けたいとき。
- ✓チェックアウトの前に、グループのアレルギーや食事の制限を確認させたいとき。
スキルのリンク
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/doordash/doordash-group-orders/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“チームのために昼食をDoorDashで注文してください。各自の食事は分け、費用は分担してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはチームの好みの名簿を管理し、全員の選択を1つのカートにまとめます。どの商品が誰のものかを記録し、手数料を含めて各自の負担額を計算します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
DoorDash Group Orders
Coordinating N people's food is exactly the cross-session state Claude drops: who's vegetarian, who hates cilantro, which cart line is Bob's, whose turn it is to pay. This skill keeps a roster, attributes every cart line to its eater, splits costs with fees prorated, and remembers payer history.
Unofficial community skill built on DoorDash's
doordash-oss/doordash-cli. Note: dd-cli orders under ONE account — the account owner pays DoorDash; the split is for reimbursement (Venmo/transfer), not split payment.
State
team-food.json(project dir or~/.claude/dd-cli/— committable if the team shares a repo): the roster.
{
"members": {
"dani": { "hard": ["vegetarian"], "allergens": [{ "name": "peanut", "severity": "anaphylaxis" }], "favorites": ["Veggie burrito bowl"], "dislikes": ["cilantro"] },
"bob": { "hard": [], "allergens": [], "favorites": ["Spicy chicken sandwich"], "dislikes": [] }
}
}
.dd/round-<date>.json— the active round's ledger:
{
"date": "2026-07-19",
"cart_uuid": "...",
"restaurant": "...",
"orders": {
"dani": [{ "item": "Veggie bowl", "cart_item_id": "41", "price": 12.5 }],
"bob": [{ "item": "Spicy chicken sandwich", "cart_item_id": "42", "price": 11.0 }]
}
}
.dd/rounds.jsonl— history, one line per completed round:{"date": "...", "order_uuid": "...", "payer": "dani", "split": {"dani": 14.1, "bob": 12.4}}
Flow 1 — Build a round
"Order lunch for the team":
- Roster check: load
team-food.json; missing members → quick interview (hard constraints, allergens + severity, a favorite, dislikes). - Restaurant: intersect hard constraints (a vegetarian on the roster =
only places with real vegetarian options).
dd-cli search --query "..."→ shortlist of 2-3 → let the human pick. - Per-member choice: use their
favoriteswhen the restaurant matches; otherwise ask ONE question per member (or take answers from a pasted thread — Flow 2). Never guess for someone with allergens. - Build the cart:
dd-cli cart add-items ...per member's items (via the dd-guard wrapper when doordash-spend-guard is installed). After each add, rundd-cli cart show --cart-uuid <X>and record which cart-item-id belongs to whom in.dd/round-<date>.json. This ledger is what makes "quita lo de Bob" resolvable later. - Review: show the cart grouped by person with per-person subtotals.
- Checkout: emit the checkout URL (through dd-guard if installed). The group gate hook independently re-checks allergens (see below).
- Close the round: after the human confirms they ordered, pull the
order_uuid from
dd-cli order history, compute the split, append to.dd/rounds.jsonl, and print a share-ready split table.
Flow 2 — Paste-a-thread intake
The user pastes a Slack/chat thread ("who wants what"). Parse it into the round file: person → requested items. Unknown people → ask if they should join the roster. Ambiguous requests ("something spicy") → one clarifying question, or their favorite if the restaurant matches. Then continue Flow 1 from step 4.
Flow 3 — Edits by person
"Bob canceló" / "cambia lo de Sam": look up the person's cart_item_ids in
the round ledger, dd-cli cart remove-item --cart-uuid X --cart-item-id N
for each, update the ledger, re-show the grouped cart.
Cost split
- Item subtotals per person from the round ledger.
- Fees/tip/tax are only final on the payment page: split the known subtotal now, and offer the post-payment fallback — "tell me the final total and I'll prorate the difference by each person's share."
split= per-person items + prorated share of (final_total − subtotal) when provided.
/whose-turn
Read .dd/rounds.jsonl: sum what each member has paid vs. consumed across
rounds; the next payer is the member with the largest (consumed − paid)
balance. Show the balances so the answer explains itself.
Rules
- Anyone with an
anaphylaxisallergen gets the same vetting the doordash-allergy-shield skill applies — check their items against hidden-source synonyms, and never guess their order. - cart-item-ids come only from real
cart showoutput. - The round ledger is the source of truth for attribution — keep it updated on every cart mutation, or person-level edits break.
- Add
.dd/to.gitignoreunless the team explicitly wants round history committed (it reveals eating habits).
よくある質問
DoorDashの支払いは誰がしますか?
アカウントの所有者が支払います。CLIは1つのアカウントで注文するためです。分担金は、後で振込などで精算します。
チームの名簿はどこに保存されますか?
プロジェクトのフォルダーか、Claudeの設定フォルダーにあるチーム用の食事ファイルに保存されます。チームが1つのリポジトリを使う場合は共有できます。
前回の支払い担当を覚えていますか?
はい。完了した注文の履歴を残すので、支払い担当を公平に交代できます。
詳細
作者による元の説明
Group food ordering through the DoorDash CLI (dd-cli) from a persistent team roster. One request (\"lunch for the team\") fans out into a single merged cart with every line attributed to its eater via a person-to-cart-item-id ledger, per-person cost split with fee proration, payer rotation history, and a checkout gate that re-derives allergen conflicts against the roster live. Use when ordering for multiple people — team lunch, incident-response food, \"collect orders from the thread\" — or for /whose-turn payer rotation questions. Handles paste-a-thread intake: paste a Slack/chat thread and i
人気
- GitHubのスター
- 33k
- ランキング
- #8825
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
owasp-security
33kエージェントがWebアプリ、API、モバイル、コンテナ、AIエージェント向けの OWASP のセキュリティ指針を理解し、よくある弱点を見つけて修正案を出せるよう支援します。
agent-management
33kエージェントが、AI Maestro のコマンドラインを使って AI エージェントを作成、一覧表示、休止、再開、名前変更、削除できるよう支援します。各エージェントのライフサイクルを管理します。
agent-messaging
33kエージェントが、主に自分のマシン上で Agent Messaging Protocol を使い、AIエージェント同士の署名付きメッセージを送信、受信、返信できるよう支援します。
docs-search
33kエージェントが、自動生成されたコードのドキュメントから関数の署名、クラスの定義、コメントを検索できるよう支援します。コードを変更する前に、実際のAPIを確認できます。