doordash-order-playbooks
Skill này làm gì
Skill này lưu các đơn DoorDash bạn hay đặt dưới tên bạn chọn, để bạn đặt lại bằng tên. Skill dành cho người lặp lại các bữa ăn giống nhau và muốn đặt lại nhanh, an toàn.
Khi nào nên dùng
- ✓Khi bạn yêu cầu đặt lại một bữa ăn đã lưu, chẳng hạn món thường ăn hoặc mì ramen thứ Sáu.
- ✓Khi bạn vừa đặt xong một đơn và muốn lưu nó thành một playbook có tên.
- ✓Khi bạn muốn liệt kê hoặc xóa các đơn đã lưu.
Liên kết skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/doordash/doordash-order-playbooks/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
“Đặt lại tô cơm post-gym của tôi trên DoorDash, nhưng báo cho tôi trước nếu giá hoặc các món đã thay đổi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent lưu các món và tổng tiền của đơn làm mốc chuẩn. Trước khi hiển thị liên kết thanh toán, agent so sánh giỏ hàng hiện tại với mốc chuẩn và đánh dấu các món thay thế hoặc thay đổi giá lớn.
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 Order Playbooks
Saved orders with names and contexts, recalled safely. A playbook maps a
human name ("post-gym", "late-night deploy", "Friday ramen") to a concrete
DoorDash order that can be rebuilt with dd-cli order reorder — plus enough
stored detail to detect drift (menu changes, price hikes, substitutions)
before the user is ever handed a checkout link.
Unofficial community skill built on DoorDash's
doordash-oss/doordash-cli.dd-climust be installed, on PATH, and logged in (dd-cli login).
Why this exists
dd-cli order history already lists past orders — but Claude has no
cross-session memory of which order is "the post-gym one", and plain
reordering silently accepts whatever the restaurant's menu says today:
substituted items, missing items, higher prices. This skill stores the
mapping AND makes a cart-diff against the stored baseline mandatory
before emitting any checkout URL. Silent drift becomes a caught event.
State
Single JSON file: ~/.claude/dd-cli/playbooks.json
{
"playbooks": {
"post-gym": {
"order_uuid": "<uuid from dd-cli order history>",
"restaurant": "Sweetgreen",
"items_summary": [
{ "name": "Harvest Bowl", "qty": 1, "price": 13.95 },
{ "name": "Lemonade", "qty": 1, "price": 3.5 }
],
"baseline_total": 17.45,
"tolerance_pct": 10,
"contexts": ["post-gym", "gym", "workout"],
"last_used": "2026-07-19",
"times_used": 4
}
},
"preflight": { "verified": false, "notes": "" }
}
Create the directory and file on first use (mkdir -p ~/.claude/dd-cli).
Prices are pre-fee subtotals — say so when presenting totals.
Preflight (first use only — REQUIRED)
This skill assumes dd-cli order reorder --order-uuid Y returns a cart-uuid
that cart show and order checkout-url accept. That handoff is
load-bearing and must be verified empirically once per install:
- Run
dd-cli order reorder --helpanddd-cli order checkout-url --helpto confirm flags. - On the first real recall, after running
reorder, confirm the output contains a cart-uuid and thatdd-cli cart show --cart-uuid <it>works. - Record the outcome in
preflight.verified(+ any format notes inpreflight.notes) so future sessions skip this step.
If the handoff does NOT work as assumed, fall back to rebuilding the cart
manually (dd-cli search → cart add-items) and record that in
preflight.notes.
Flow 1 — Recall (the main flow)
User says something like "order my post-gym bowl" / "the usual after the gym":
Match: fuzzy-match the request against playbook names and
contexts. Ambiguous → ask. No match → offer Flow 2 (capture) instead.Rebuild:
dd-cli order reorder --order-uuid <stored uuid>. Capture the cart-uuid from the output.MANDATORY diff: run
dd-cli cart show --cart-uuid <cart-uuid>and compare against the storeditems_summary+baseline_total:Stored Current Harvest Bowl $13.95 $14.95 ⬆ Lemonade $3.50 ❌ missing Subtotal $17.45 $14.95 Present the diff table to the user. Never skip this step, even when everything matches — say "matches your baseline" explicitly.
Gate: if items are missing/substituted, or the subtotal exceeds
baseline_totalby more thantolerance_pct, STOP and ask the user how to proceed (accept, edit cart viacart remove-item/cart add-items, or abort). Do NOT hand over a checkout link silently.Checkout: only after the diff is shown (and approved when the gate tripped):
dd-cli order checkout-url --cart-uuid <cart-uuid>. Hand the URL to the user — payment always happens on the DoorDash page, by the human.Update: bump
last_used/times_used; if the user accepted new prices, offer to refreshitems_summaryandbaseline_total.
Flow 2 — Capture
After ANY completed order (via playbook or bespoke), offer once — don't nag: "Want to save this as a playbook?" If yes:
dd-cli order history— take the most recent order's uuid.- Ask for a name and optional context words ("when should I suggest this?").
- Write the entry with
items_summaryandbaseline_totalfrom the cart that was just built (or from the history entry if it shows detail). - Default
tolerance_pct: 10.
Flow 3 — Staleness / self-heal
When order reorder fails or the diff shows the restaurant no longer
Câu hỏi thường gặp
Tại sao phải so sánh với đơn cũ?
Thực đơn thay đổi, nên cùng một đơn có thể về với món thay thế, thiếu món hoặc giá cao hơn. Việc so sánh giúp bắt được những điều đó trước khi bạn thanh toán.
Các đơn đã lưu được giữ ở đâu?
Trong một file playbook, nằm ở thư mục cài đặt DoorDash của Claude trên máy bạn.
Giá thay đổi có dừng đơn hàng không?
Skill dùng một ngưỡng phần trăm sai số, nên thay đổi nhỏ được bỏ qua còn thay đổi lớn sẽ được đánh dấu để bạn quyết định.
Chi tiết
Mô tả gốc của tác giả
Named, context-bound saved DoorDash orders ("post-gym", "late-night deploy") recalled through the DoorDash CLI (dd-cli) with a mandatory cart-diff before any checkout link is handed over. Use when the user names a saved order ("order my post-gym bowl", "the usual", "my Friday ramen"), wants to save the order they just placed as a playbook, or asks to list/remove saved orders. Persists name→order-uuid playbooks across sessions, catches silent menu/price drift on every recall, and self-heals stale playbooks when a restaurant's menu changes. Requires dd-cli (macOS Apple Silicon, waitlist-gated).
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #8827
- 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.