doordash
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDoorDash Skill
DoorDash Skill
Overview
概述
Automates DoorDash operations including restaurant discovery, order tracking, and saved stores management through browser automation. Note: Actual orders are not automated for security.
通过浏览器自动化实现DoorDash操作自动化,包括餐厅发现、订单追踪和收藏店铺管理。注意:出于安全考虑,实际下单操作未实现自动化。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/doordash/install.sh | bashOr manually:
bash
cp -r skills/doordash ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/doordash/install.sh | bash或手动安装:
bash
cp -r skills/doordash ~/.canifi/skills/Setup
配置
Configure via canifi-env:
bash
undefined通过canifi-env进行配置:
bash
undefinedFirst, ensure canifi-env is installed:
首先,确保已安装canifi-env:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set DOORDASH_EMAIL "your-email@example.com"
canifi-env set DOORDASH_PASSWORD "your-password"
undefinedcanifi-env set DOORDASH_EMAIL "your-email@example.com"
canifi-env set DOORDASH_PASSWORD "your-password"
undefinedPrivacy & Authentication
隐私与认证
Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭据,由你掌控。 Canifi LifeOS尊重你的隐私。
Option 1: Manual Browser Login (Recommended)
选项1:手动浏览器登录(推荐)
If you prefer not to share credentials with Claude Code:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭据:
- 使用CDP模式完成浏览器自动化配置
- 在Playwright控制的Chrome窗口中手动登录该服务
- Claude将使用你的已认证会话,且全程不会获取你的密码
Option 2: Environment Variables
选项2:环境变量
If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭据,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"注意:存储在canifi-env中的凭据仅能在你的本地机器上访问,绝不会被传输。
Capabilities
功能
- Browse restaurants and menus
- Search by cuisine or dish
- Track active deliveries
- View past orders
- Manage saved stores
- Check DashPass benefits
- Find deals and promotions
- Reorder from history
- 浏览餐厅和菜单
- 按菜系或菜品搜索
- 追踪活跃配送订单
- 查看历史订单
- 管理收藏店铺
- 查看DashPass会员权益
- 查找优惠活动
- 从历史订单重新下单
Usage Examples
使用示例
Example 1: Browse Restaurants
示例1:浏览餐厅
User: "Find pizza places on DoorDash"
Claude: I'll find pizza restaurants.
- Navigate to doordash.com
- Search "pizza"
- Filter by open and nearby
- Sort by rating
- Present top options用户: "在DoorDash上找披萨店"
Claude: 我来帮你找披萨餐厅。
- 导航至doordash.com
- 搜索“披萨”
- 筛选营业中且附近的店铺
- 按评分排序
- 展示最优选项Example 2: Check Menu
示例2:查看菜单
User: "What's on the McDonald's menu on DoorDash?"
Claude: I'll check their menu.
- Search for McDonald's
- Open store page
- Browse menu sections
- Present available items用户: "DoorDash上麦当劳的菜单有什么?"
Claude: 我来查看他们的菜单。
- 搜索麦当劳
- 打开店铺页面
- 浏览菜单分类
- 展示可用菜品Example 3: Track Delivery
示例3:追踪配送
User: "Track my DoorDash order"
Claude: I'll track your delivery.
- Navigate to Orders
- Find active order
- Check Dasher location
- Report delivery ETA用户: "追踪我的DoorDash订单"
Claude: 我来帮你追踪配送状态。
- 导航至订单页面
- 找到活跃订单
- 查看配送员位置
- 报告预计送达时间Example 4: Reorder Favorite
示例4:重新下单最爱菜品
User: "Show me my last order from Chipotle"
Claude: I'll find that order.
- Navigate to Orders
- Search Chipotle orders
- Display order details
- Ready for reorder用户: "展示我上次在Chipotle的订单"
Claude: 我来查找该订单。
- 导航至订单页面
- 搜索Chipotle订单
- 展示订单详情
- 准备好重新下单Authentication Flow
认证流程
- Navigate to doordash.com via Playwright MCP
- Click Sign In
- Enter email from canifi-env
- Enter password
- Handle 2FA if enabled (notify user via iMessage)
- Verify account access
- Maintain session cookies
- 通过Playwright MCP导航至doordash.com
- 点击登录按钮
- 从canifi-env中获取邮箱并输入
- 输入密码
- 若启用了2FA则处理(通过iMessage通知用户)
- 验证账户访问权限
- 保留会话Cookie
Error Handling
错误处理
- Login Failed: Clear cookies, verify credentials
- Session Expired: Re-authenticate automatically
- 2FA Required: iMessage for verification code
- Store Closed: Show hours and suggest alternatives
- No Dashers: Area may be busy
- Order Not Found: Check order ID
- Menu Error: Refresh or check store hours
- Address Issue: Verify delivery address
- 登录失败:清除Cookie,验证凭据
- 会话过期:自动重新认证
- 需要2FA:通过iMessage发送验证码请求
- 店铺关闭:展示营业时间并推荐替代选项
- 无配送员:该区域可能繁忙
- 未找到订单:检查订单ID
- 菜单加载错误:刷新页面或检查店铺营业时间
- 地址问题:验证配送地址
Self-Improvement Instructions
自我改进说明
When encountering new DoorDash features:
- Document new UI elements
- Add support for new features
- Log successful patterns
- Update for DoorDash changes
当遇到DoorDash新功能时:
- 记录新的UI元素
- 添加对新功能的支持
- 记录成功的操作模式
- 根据DoorDash的更新进行适配
Notes
注意事项
- Orders not automated for security
- DashPass membership for benefits
- Dashers are independent contractors
- Peak times may have longer waits
- Some stores are virtual brands
- Group orders available
- Schedule orders in advance
- 出于安全考虑,未实现自动下单功能
- DashPass会员可享受专属权益
- 配送员为独立承包商
- 高峰时段等待时间可能更长
- 部分店铺为虚拟品牌
- 支持团体订单
- 可提前预约订单