Đang tải…
Đang tải…
Manage the dietary profile (allergens with severity tiers, diets, dislikes) used by doordash-allergy-shield to vet DoorDash carts
npx claude-code-templates@latest --command doordash/doordash-profileManage the doordash-allergy-shield dietary profile: $ARGUMENTS
State: ~/.claude/doordash-profile/dietary.json. This command is the sanctioned
way to edit it — the vetting flows treat the profile as human-confirmed
input, so every change here must be explicitly confirmed by the user.
cat ~/.claude/doordash-profile/dietary.json 2>/dev/null || echo "(no profile yet)"Parse $ARGUMENTS and run the matching subcommand:
show (default when no arguments)Render the profile as a table per person: allergens (with severity), diets, dislikes. Explain the severity tiers:
anaphylaxis — hook-enforced at checkout, never overridable in-sessionavoid — conflicts require explicit acknowledgmentpreference — mentioned, not gatedadd <person>Interview the user for the new person:
edit <person>Show the person's current entry, ask what to change, confirm the final
entry before writing. Severity downgrades of an anaphylaxis entry require
the user to type the allergen name back explicitly — make deliberate
friction for the dangerous direction.
rm <person>Show the entry, confirm, remove.
people.<name>.allergens[].{name,severity}, diets[], dislikes[]) —
the checkout-gate hook parses this file.