doordash-playbook
Manage saved DoorDash order playbooks (list, add from order history, remove, inspect) stored in ~/.claude/dd-cli/playbooks.json
وصف مستورد لم يراجعه محرر بعد
جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.
التنزيل
التثبيت
بعد التنزيل، شغّل الأمر في الطرفية. يسأل unzip قبل أن يستبدل أي ملف موجود.
لهذا المشروع
يوضع في: .claude/commands/
mkdir -p .claude/commands && unzip ~/Downloads/doordash-playbook.zip -d .claude/commandsلحسابك على الجهاز كله
يوضع في: ~/.claude/commands/
mkdir -p ~/.claude/commands && unzip ~/Downloads/doordash-playbook.zip -d ~/.claude/commands
التعليمات
DoorDash Playbook Manager
Manage saved order playbooks: $ARGUMENTS
State file: ~/.claude/dd-cli/playbooks.json (create with mkdir -p ~/.claude/dd-cli if missing).
Current State
- Playbooks file: !
cat ~/.claude/dd-cli/playbooks.json 2>/dev/null || echo "(no playbooks yet)" - dd-cli available: !
command -v dd-cli || echo "dd-cli NOT on PATH"
Task
Parse $ARGUMENTS and run the matching subcommand:
list (default when no arguments)
Render a table of playbooks: name, restaurant, baseline subtotal, contexts, last used, times used. If empty, explain how to add one.
add <name>
- Run
dd-cli order historyand show the recent orders. - Ask the user which order to save under
<name>(never guess). - Ask for optional context words (e.g. "post-gym, workout").
- Write the playbook entry:
order_uuid,restaurant,items_summary(name/qty/price per item as shown by history or the lastcart show),baseline_total,tolerance_pct: 10,contexts,last_used: today,times_used: 0.
rm <name>
Show the entry, confirm with the user, then delete it from the JSON.
show <name>
Pretty-print the full entry, including stored items and baseline, and when it was last used.
Rules
- Keep the JSON valid — read-modify-write the whole file, never append text.
order_uuidvalues come only from realdd-cli order historyoutput.- This command only manages the state file; actual ordering/recall flows are
handled by the
doordash-order-playbooksskill (install it alongside). - If dd-cli is missing or logged out, say so and stop — don't fabricate history entries.
الملفات
- LICENSE1 ك.ب
- doordash-playbook.md1.9 ك.ب
التعليقات (0)
لا تعليقات بعد. كن أول من يعلّق.
سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).