Add a new recipe to the cookfolio project. Use when the user provides a recipe (as an image, description, or list of ingredients) and wants it added to the site.
Guide the user through adding a new recipe to the Cookfolio site, proposing a name and structure, confirming with the user, then implementing, verifying, and pushing the changes.
Make a todo list for all the tasks in this workflow and work on them one after another.
Read whatever the user has provided — an image, handwritten notes, or a description. Extract:
If the user mentions adapting the recipe (e.g. "we use this marinade for chicken instead"), apply that adaptation before proposing.
Read 1–2 existing recipe files from src/content/recipes/ and src/content.config.ts to confirm the current schema and naming style. Do NOT skip this — the schema evolves.
Key constraints to check:
Present the proposed recipe to the user before creating any files. Show:
Ask the user to confirm or adjust:
Use the AskUserQuestion tool to ask 1–2 targeted confirmation questions.
Read src/data/ingredient-categories.ts and check whether every ingredient in the recipe is already mapped. Note any missing ones.
Each missing ingredient needs to be added to the correct category:
vlees-vis — meat, fish, poultrygroenten-fruit — vegetables, fruit, fresh herbszuivel — dairy, eggsconserven-sauzen — condiments, sauces, canned goods, stocks, vinegarskruiden — dried spices and herbs, salt, pepperdroge-voorraad — dry goods: pasta, rice, oil, nuts, breadbakken — baking supplies: flour, sugar, chocolateoverig — fallback (water, etc.)Also check src/utils/calendar-events.ts for smart reminders. Currently:
kipfilet → triggers "Defrost Chicken" reminder the evening beforegemengd gehakt → triggers "Fetch Minced Meat" reminder the morning ofIf the recipe contains a new type of meat that should have a reminder, flag this to the user.
After user confirms, create the recipe file and add any missing category entries.
Recipe file: src/content/recipes/<slug>.md
## InstructionsCategories: add missing entries to src/data/ingredient-categories.ts in the correct section, keeping alphabetical order within each section where possible.
Run:
pnpm lint # validates Zod schema + prettier
pnpm build # confirms recipe page renders
Fix any errors before proceeding.
Stage only the new/modified files:
src/content/recipes/<slug>.mdsrc/data/ingredient-categories.ts (if changed)Commit with a clear message describing the recipe and any category additions. Push to the current feature branch.
Summarise what was done: