मुख्य सामग्री पर जाएँ
Skillpedia
ऑटोमेशन33k · #8824

doordash-allergy-shield

यह क्या करती है

यह स्किल आपके और आपके घर के लोगों के लिए डाइट की जानकारी सहेजती है, फिर ऑर्डर करने से पहले हर DoorDash कार्ट को उससे मिलाकर देखती है। यह उन लोगों के लिए है जो DoorDash CLI से खाना मँगवाते हैं और कुछ चीज़ों से बचना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आप DoorDash से खाना मँगवाते हैं और कुछ खास एलर्जेन से बचना होता है।
  • ✓जब आप चाहते हैं कि आपका एजेंट एक सेशन से अगले सेशन तक आपकी डाइट की ज़रूरतें याद रखे।
  • ✓जब आप चेकआउट से पहले कार्ट को नापसंद चीज़ों या डाइट नियमों के लिए जँचवाना चाहते हैं।

Skill का लिंक

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/doordash/doordash-allergy-shield/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/doordash/doordash-allergy-shield/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे लिए DoorDash से डिनर मँगवाइए, लेकिन पक्का कीजिए कि उसमें मूँगफली या शेलफ़िश न हो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट आपकी एलर्जी और डाइट दर्ज करता है और हर कार्ट के आइटम नामों व विवरणों को एलर्जेन सूची से मिलाकर जाँचता है। चेकआउट लिंक दिखाने से पहले एक hook गंभीर एलर्जी की फिर से जाँच करता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

DoorDash Allergy Shield

Claude has no cross-session memory: tell it "I'm allergic to peanuts" today and tomorrow it happily adds pad thai. This skill persists a dietary profile and makes cart vetting mandatory — with a deterministic hook double-checking the highest-severity allergens before any checkout URL is emitted.

Unofficial community skill built on DoorDash's doordash-oss/doordash-cli.

Honest limits (state these to the user on first use)

  • Matching is heuristic, against item names/descriptions from cart show output plus a synonyms table. It cannot see full ingredient lists and knows nothing about cross-contamination in the kitchen.
  • It is a tripwire against agent mistakes, not a medical device. The DoorDash payment page — where the human reviews the real order — is the documented final check.
  • False positives are accepted by design: blocking a safe ponzu bowl is cheap; the reverse is not. Hook matching is substring-based (short allergen names like "oat" can match inside "goat cheese") — annoying, never dangerous.
  • The references/allergen-synonyms.md table is intentionally broader than the compact synonym subset hardcoded in the checkout-gate hooks; adding a synonym to the reference doc alone does not change what the hooks enforce.

Components in this bundle

Piece Role
this skill vetting protocol + profile management
references/allergen-synonyms.md hidden-allergen lookup table
hook doordash/doordash-allergy-checkout-gate deterministic re-check at checkout
command /doordash-profile manage the dietary profile interactively

State

  • ~/.claude/doordash-profile/dietary.json — the profile. Structure:
{
  "people": {
    "me": {
      "allergens": [
        { "name": "peanut", "severity": "anaphylaxis" },
        { "name": "shellfish", "severity": "avoid" }
      ],
      "diets": ["vegetarian"],
      "dislikes": ["cilantro"]
    },
    "sam": { "allergens": [{ "name": "egg", "severity": "avoid" }], "diets": [], "dislikes": [] }
  }
}

Severity tiers: anaphylaxis (hook-enforced, never overridable in-session), avoid (requires explicit human acknowledgment to keep the item), preference (mention it, don't gate on it).

  • ~/.claude/doordash-profile/vetted/<cart-uuid>.json — one dump per vetted cart: the full raw cart show output plus your verdict and a timestamp. The checkout hook greps this artifact — it trusts the dump, not your claim.

Protocol

Session start

Read dietary.json. Missing → offer to create it interactively (or via /doordash-profile). If the user is ordering for others ("lunch for me and Sam"), make sure each eater exists in the profile or ask for their restrictions.

After EVERY cart mutation (add-items / remove-item / reorder)

  1. Run dd-cli cart show --cart-uuid <X> and capture the full output.
  2. Check every line against each relevant eater's profile — direct matches AND hidden sources from references/allergen-synonyms.md (satay→peanut, aioli→egg, ponzu→soy+fish, …).
  3. On a conflict:
    • anaphylaxis → remove the item (dd-cli cart remove-item) and tell the user why. Do not offer to keep it.
    • avoid → present the conflict; keep only with explicit acknowledgment.
    • preference → mention it in passing.
  4. Items whose name is too opaque to judge ("Chef's Special #3") → mark UNVERIFIED and require the user's explicit sign-off for eaters with anaphylaxis entries.
  5. Write the vetted dump: full cart show output + verdict + ISO timestamp to ~/.claude/doordash-profile/vetted/<cart-uuid>.json. Without this file the checkout hook blocks — vetting is not optional.

At checkout

Just run dd-cli order checkout-url --cart-uuid <X> (or the dd-guard wrapper when doordash-spend-guard is installed — the two gates compose). The hook independently verifies: dump exists, is newer than the last cart mutation it saw, and contains no anaphylaxis-tier keyword. If it blocks, do NOT try to work around it — fix the cart, re-vet, and explain to the user what tripped.

Rules

  • Never edit dietary.json from the shell; profile changes go through /doordash-profile (interactive, confirmed).
  • Never write a vetted dump without actually running cart show fresh — the dump IS the audit artifact.
  • When in doubt about an ingredient, doubt is a conflict.
अक्सर पूछे जाने वाले सवाल

क्या मेरा खाना पक्के तौर पर सुरक्षित होगा?

नहीं। जाँच सिर्फ़ नामों और विवरणों से मिलाती है, इसलिए वह पूरी सामग्री या रसोई में क्रॉस-कंटैमिनेशन नहीं देख सकती। असली ऑर्डर आपको खुद देखना चाहिए।

क्या यह सुरक्षित आइटम भी रोक देगी?

कभी-कभी। डिज़ाइन के अनुसार गलत अलार्म स्वीकार्य हैं, इसलिए सुरक्षित आइटम भी समीक्षा के लिए चिह्नित हो सकता है।

क्या यह बाद में मेरी एलर्जी याद रखेगी?

हाँ। प्रोफ़ाइल सहेजी जाती है, इसलिए हर आगे की कार्ट उससे मिलाकर जाँची जाएगी।

जानकारी

लेखक का मूल विवरण

Persistent dietary safety layer for DoorDash CLI (dd-cli) ordering. Stores a personal/household dietary profile (allergens with severity tiers, diets, dislikes) that every cart is vetted against before checkout, with a deterministic tripwire — the vetting step saves the full cart contents to a vetted-cart dump, and a PreToolUse hook re-greps that dump against the anaphylaxis-severity allergen list before any checkout URL is allowed. Use when the user mentions allergies or dietary restrictions, when ordering food for someone with restrictions, or on every dd-cli cart flow while this skill is in

repo: davila7/claude-code-templates

लोकप्रियता

GitHub स्टार
33k
रैंकिंग में स्थान
#8824
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

owasp-security

33k

आपके एजेंट को वेब ऐप, API, मोबाइल, कंटेनर और AI एजेंट्स के लिए OWASP सुरक्षा मार्गदर्शन सिखाती है, ताकि वह आम कमज़ोरियाँ पहचान सके और सुधार सुझा सके।

कोडिंगसिक्योरिटी

agent-management

33k

आपके एजेंट को AI Maestro कमांड-लाइन से AI एजेंट बनाने, सूची देखने, hibernate और wake करने, नाम बदलने और हटाने देती है, हर एजेंट के जीवन-चक्र को संभालते हुए।

AI और एजेंटएजेंट

agent-messaging

33k

Agent Messaging Protocol का उपयोग करके AI एजेंट्स के बीच हस्ताक्षरित संदेश भेजने, प्राप्त करने और उनका जवाब देने देती है, ज़्यादातर आपकी अपनी मशीन पर।

AI और एजेंटएजेंट

docs-search

33k

आपके एजेंट को फ़ंक्शन सिग्नेचर, क्लास परिभाषा और कमेंट के लिए ऑटो-जनरेटेड कोड डॉक्यूमेंटेशन खोजने देती है, ताकि कोड बदलने से पहले वह असली API जाँच सके।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills