doordash-allergy-shield

Vets DoorDash CLI carts against a persistent dietary profile before checkout.

30.5k|3.5k|Updated Jul 4, 2025
One-click install
npx skills add https://github.com/davila7/claude-code-templates --skill doordash-allergy-shield
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doordash-allergy-shield
Source: https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/doordash/doordash-allergy-shield
Command: npx skills add https://github.com/davila7/claude-code-templates --skill doordash-allergy-shield

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Claude has no cross-session memory, so dietary restrictions mentioned once are forgotten in the next session, risking allergen-containing items being added to DoorDash orders. This Skill persists a household dietary profile and enforces mandatory cart vetting with a deterministic hook that re-checks anaphylaxis-severity allergens before any checkout URL is emitted.

Core Features & Use Cases

  • Persistent Dietary Profile: Stores per-person allergens with severity tiers (anaphylaxis, avoid, preference), diets, and dislikes in a JSON profile managed via the /doordash-profile command.
  • Mandatory Cart Vetting: After every cart mutation, runs dd-cli cart show, checks items against the profile and a hidden-allergen synonyms table (satay→peanut, aioli→egg), and writes a vetted-cart dump as an audit artifact.
  • Deterministic Checkout Gate: A PreToolUse hook greps the vetted dump against anaphylaxis-tier keywords and blocks checkout URLs if the dump is missing, stale, or contains a match.
  • Use Case: Ordering lunch for yourself (peanut anaphylaxis) and a friend (egg avoidance) — the Skill flags pad thai and aioli items, removes or requires acknowledgment, and blocks checkout until the cart is re-vetted.

Quick Start

Tell the assistant your allergies and dietary restrictions so it can create your dietary profile, then ask it to order food through dd-cli and it will vet every cart before checkout.

Frequently Asked Questions about doordash-allergy-shield

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make Claude remember my food allergies when ordering DoorDash?

Create a dietary profile via the /doordash-profile command, which stores allergens with severity tiers in ~/.claude/doordash-profile/dietary.json. The Skill reads this profile each session and vets every cart against it before checkout.

How does the DoorDash allergy checkout gate work?

After each cart mutation, the Skill saves the full cart show output to a vetted dump file. A PreToolUse hook greps that dump for anaphylaxis-severity allergen keywords and blocks the checkout URL if the dump is missing, stale, or contains a match.

Can this detect hidden allergens in menu item names?

Yes, it uses a synonyms lookup table mapping dish names to hidden allergens, such as satay to peanut, aioli to egg, and ponzu to soy and fish. Items too opaque to judge are marked UNVERIFIED and require explicit user sign-off.

Is the DoorDash allergy shield a medical-grade safety tool?

No, it is a heuristic tripwire against agent mistakes, not a medical device. Matching is substring-based on item names and descriptions, cannot see full ingredient lists or cross-contamination, and the DoorDash payment page remains the final human check.

What happens if the checkout hook blocks my order?

The block means the vetted dump is missing, outdated, or contains an anaphylaxis-tier keyword. Fix the cart by removing the flagged item, re-run the vetting step to write a fresh dump, and then retry checkout.