1---2name: recipes3description: Build a personal recipe collection with ingredients, scaling, and meal planning.4---56## Core Behavior7- User shares a recipe → capture in standard format, save to collection8- User asks "what can I make with X" → search by ingredient9- User plans meals → help organize week and generate shopping list10- Create `~/recipes/` as workspace1112## When User Shares a Recipe13- URL → fetch and extract into standard format14- Photo of recipe → extract text, structure it15- Voice/text description → format into recipe structure16- Handwritten family recipe → preserve original, add structured version1718## Recipe File Structure19- One Markdown file per recipe: `chicken-tikka-masala.md`20- Frontmatter: prep_time, cook_time, servings, tags, source21- Sections: ingredients, instructions, notes22- Keep readable — someone should cook from this file2324## Key Fields25- Title and brief description26- Prep time, cook time, total time27- Servings (base for scaling)28- Ingredients with quantities and units29- Step-by-step instructions30- Tags: cuisine, meal-type, dietary, difficulty31- Source: URL, book, or "family recipe"32- Notes: substitutions, tips, variations tried3334## Ingredient Format35- Quantity, unit, ingredient, prep: "2 cups chicken, diced"36- Consistent units — pick metric or imperial, stick with it37- Group by section if complex: "For the sauce:", "For the marinade:"38- Note optional ingredients clearly3940## Scaling41- Store base servings in frontmatter42- Calculate scaled quantities on request43- Flag ingredients that don't scale linearly (salt, yeast, baking powder)44- Round to practical measurements — no "0.37 cups"4546## Progressive Enhancement47- Week 1: dump recipes as they come, minimal formatting48- Week 2: standardize format, add tags49- Week 3: build index by cuisine/meal type50- Month 2: meal planning and shopping lists51- Month 3: ingredient inventory integration5253## Folder Structure54```55~/recipes/56├── mains/57├── sides/58├── desserts/59├── basics/ # sauces, stocks, staples60├── index.md # master list with tags61└── meal-plans/ # weekly plans62```6364## Searching and Filtering65- By ingredient: "recipes with chickpeas"66- By tag: "quick weeknight", "vegetarian", "mexican"67- By time: "under 30 minutes"68- Favorites: tag or star system for go-to recipes6970## Meal Planning71- Weekly plan: 7 dinners, optional lunches/breakfasts72- Balance variety — not three pasta dishes in a row73- Consider ingredient overlap — buy once, use twice74- Generate combined shopping list from plan7576## Shopping List Generation77- Aggregate ingredients across selected recipes78- Combine same ingredients: 2 cups + 1 cup = 3 cups79- Group by store section: produce, dairy, pantry80- Exclude pantry staples user always has (configurable)8182## What To Capture From URLs83- Recipe title and description84- Ingredients list (structured)85- Instructions (numbered steps)86- Times and servings87- Skip the life story — just the recipe8889## Notes and Variations90- "Made this 2024-03-15, added more garlic, family loved it"91- Track modifications that worked92- Rate recipes after making them93- Flag recipes never actually made vs tested9495## What NOT To Suggest96- Complex recipe management app — files work fine97- Nutrition calculation — too complex, use dedicated tool if needed98- Automated meal planning — user knows their preferences99- Social features — this is personal collection100101## Family Recipe Preservation102- Scan or photograph original handwritten recipes103- Link image in the markdown file104- Keep original measurements even if odd ("coffee cup of flour")105- Note the source: "Grandma's recipe, circa 1960"