doordash-group-orders
Skill này làm gì
Skill này giúp agent của bạn đặt một đơn đồ ăn nhóm trên DoorDash cho cả đội. Skill dành cho người thường xuyên đặt bữa trưa hoặc bữa tối cho nhiều người và cần chia tiền.
Khi nào nên dùng
- ✓Khi bạn muốn đặt bữa trưa hoặc bữa tối cho cả đội trong một giỏ hàng.
- ✓Khi bạn cần gắn món ăn của từng người với họ và chia chi phí để hoàn tiền.
- ✓Khi bạn muốn agent kiểm tra dị ứng và chế độ ăn của cả nhóm trước khi thanh toán.
Liên kết skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/doordash/doordash-group-orders/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Giúp tôi đặt bữa trưa cho cả đội trên DoorDash, giữ phần ăn của mỗi người riêng và chia đều chi phí.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent giữ danh sách sở thích của đội, gộp lựa chọn của mọi người vào một giỏ hàng, ghi lại món nào thuộc về ai, rồi tính phần tiền của từng người, kể cả phí.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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).
Câu hỏi thường gặp
Ai là người trả tiền cho DoorDash?
Chủ tài khoản trả tiền, vì CLI đặt hàng bằng một tài khoản duy nhất. Việc chia tiền chỉ để hoàn lại cho mọi người bằng chuyển khoản sau đó.
Danh sách đội được lưu ở đâu?
Trong một file về đồ ăn của đội, nằm ở thư mục dự án hoặc thư mục cài đặt Claude của bạn. File này có thể chia sẻ nếu cả đội dùng chung một repo.
Nó có nhớ lần trước ai đã trả tiền không?
Có. Skill giữ lịch sử các lượt đã hoàn tất, để việc luân phiên người trả tiền được công bằng.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #8825
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
owasp-security
33kDạy agent hướng dẫn bảo mật OWASP cho ứng dụng web, API, di động, container và agent AI, để nhận ra các điểm yếu phổ biến và gợi ý cách sửa.
agent-management
33kCho phép agent của bạn tạo, liệt kê, cho ngủ đông, đánh thức, đổi tên và xóa các agent AI bằng dòng lệnh AI Maestro, quản lý vòng đời của từng agent.
agent-messaging
33kCho phép agent của bạn gửi, nhận và trả lời tin nhắn có chữ ký giữa các agent AI, dùng Agent Messaging Protocol, chủ yếu trên máy của bạn.
docs-search
33kCho phép agent của bạn tìm trong tài liệu code được tạo tự động, như chữ ký hàm, định nghĩa lớp và chú thích, để kiểm tra API thật trước khi sửa code.
Skill tương tự
knowledge-automation
394kGiúp agent của bạn thiết lập tác vụ định kỳ đưa nội dung mới vào kho Knowledge theo lịch, rồi kiểm tra tác vụ có chạy không.
knowledge-source-ingest
394kGiúp agent của bạn cập nhật Knowledge vault với các mục mới từ kênh chat, nguồn tin hoặc hộp thư, mà không thêm lại những gì đã có.
benchmark
280kGiúp agent của bạn đo tốc độ và hiệu suất của code, hữu ích để đảm bảo mọi thứ nhanh và tìm ra những chỗ chậm.