Adds a new item to the bakery's menu, such as a seasonal loaf, with its price, allergens, label and test. Use when asked to add an item to the menu or put one on it. Not for changing an existing price, fixing an order total or changing how the back office looks.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of I Capstone?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/wesammustafa-i-capstone)
---
name: add-menu-item
description: Adds a new item to the bakery's menu, such as a seasonal loaf, with its price, allergens, label and test. Use when asked to add an item to the menu or put one on it. Not for changing an existing price, fixing an order total or changing how the back office looks.
argument-hint: "<item name>"
---
# Add a menu item
1. If the till connection is available, look the item up with `get_stock`, so you know the till sells it under the same name. If the connection is down, say so, carry on from the recipe sheet, and list "not checked against the till" as an open item in your reply.
2. Find the item in `brief/recipe-sheet.md`. If the sheet gives no allergens for it, stop and ask Nadia. Never add an item without its allergens. An item made of other items, such as a gift box, follows step 3 instead.
3. If the item is made of other items, such as a gift box, every item it holds must already be on the menu with its allergens; if one isn't, stop and ask Nadia. Give it a `contains` list of what it holds, each entry an item id and its quantity, such as `{ "id": "butter-croissant", "quantity": 2 }`. Give it no `price` and no `allergens` of its own: `lib/menu.js` works out both from what it holds, so they can't drift from the items inside. Give it every other field from step 4.
4. Add it to `menu.json`, after the last item in its section, with every field: an id in kebab case, its name, its section, its price in whole pence, a description from what's in it, its allergens exactly as the recipe sheet lists them, in lower case, and `keepsDays`. Never work an allergen out from what's in it.
5. Add a test in `test/`, named after the item, that checks its price and that its label lists every allergen in it.
6. Run `npm test`, then read the new label as `back-office/labels.js` prints it from `menu.json`.
7. Hand the diff to the `back-office-reviewer` agent: run `git diff` and give it what that prints, since the reviewer can't run commands. Treat what it reports as leads: open the line it cites before you change anything.