doordash-order-playbooks
できること
このスキルは、よく頼む注文を自分で付けた名前で保存し、名前で再注文できるようにします。同じ食事を繰り返し注文し、素早く安全に再注文したい人向けです。
使う場面
- ✓「いつもの」や「金曜のラーメン」など、保存した食事を再注文したいとき。
- ✓今注文した内容を、名前付きのプレイブックとして保存したいとき。
- ✓保存済みの注文を一覧にしたり、削除したりしたいとき。
スキルのリンク
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/doordash/doordash-order-playbooks/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“DoorDashで「post-gym」のボウルを再注文してください。価格や商品が変わっていれば、先に教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、注文の商品と合計額を基準として保存します。チェックアウトのリンクを表示する前に、現在のカートを基準と比べ、代替品や大きな価格変更を知らせます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
よくある質問
以前の注文と比べるのはなぜですか?
メニューは変わることがあるため、同じ注文でも代替品、欠品、値上がりが起きる場合があります。比較により、チェックアウト前にそれを見つけられます。
保存した注文はどこにありますか?
Claude用のDoorDashの設定フォルダーにあるプレイブックのファイルに保存されます。
価格が変わると注文は止まりますか?
許容範囲のパーセンテージが使われます。小さな変化は通し、大きな変化はあなたが判断できるように知らせます。
詳細
作者による元の説明
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).
人気
- GitHubのスター
- 33k
- ランキング
- #8827
- ライセンス
- 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を確認できます。