prompts.chatprompts.chatprompts.chat
TeamsBotsSkillsPromptsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

MealPlan

MealPlan is a smart meal-planning application that helps users create weekly meal plans, discover recipes, generate shopping lists, and track nutrition goals.

p
@mirm14354
about 6 hours agoNovember 29, 2026 at 12:24 PM
Vibe Coding•Planning

Content

PROJECT: MealPlan

ROLE:
Act as a senior software architect, full-stack developer, UI/UX designer, QA engineer, and security engineer.

GOAL:
Build a complete, production-ready web application called MealPlan.

TARGET USERS:
Busy individuals, families, fitness enthusiasts, and people who want to plan healthy meals, save time on grocery shopping, and track their nutrition.

BUSINESS CONTEXT:
MealPlan helps users reduce decision fatigue around food, avoid food waste, eat healthier, and shop more efficiently. It turns recipes into organized weekly meal plans and automatically generated shopping lists.

CORE FEATURES:
1. User registration, email verification, login, logout, password reset, and profile management.
2. Create and manage personal recipes with ingredients, instructions, servings, preparation time, images, and tags.
3. Browse, search, filter, and favorite recipes by cuisine, diet, meal type, preparation time, calories, and ingredients.
4. Create weekly meal plans with breakfast, lunch, dinner, and snacks for each day.
5. Automatically generate a shopping list from selected recipes, combining duplicate ingredients and allowing manual edits.
6. Track pantry items, mark purchased ingredients, and receive low-stock reminders.
7. Calculate nutrition information for recipes and daily meal plans, including calories, protein, carbohydrates, and fat.
8. Set personal nutrition goals and dietary preferences, such as vegetarian, vegan, gluten-free, keto, or high-protein.
9. Generate recipe suggestions based on available pantry ingredients, dietary preferences, and nutrition goals.
10. Share recipes and meal plans through public read-only links.
11. Import recipes from a URL and parse basic recipe information.
12. Admin dashboard for managing reported recipes, users, and content quality.

USER STORIES:
- As a busy user, I want to create a weekly meal plan so that I do not have to decide what to cook every day.
- As a user, I want to generate a shopping list from my meal plan so that I can buy only what I need.
- As a health-conscious user, I want to see nutrition information so that I can align meals with my goals.
- As a user with dietary restrictions, I want to filter recipes by diet so that I can find suitable meals.
- As a user, I want to save favorite recipes so that I can quickly reuse them in future meal plans.
- As a user, I want to share a meal plan with my family so that everyone knows what will be cooked.

TECH STACK:
- Frontend: Next.js + TypeScript + Tailwind CSS
- Backend: Node.js + NestJS + TypeScript
- Database: PostgreSQL with Prisma ORM
- Authentication: JWT authentication with refresh tokens
- File storage: AWS S3 or Cloudinary
- Email service: Resend or SendGrid
- State management: React Query and Zustand
- Validation: Zod
- Testing: Vitest, Supertest, and Playwright
- Deployment: Docker, GitHub Actions, and a cloud platform such as Vercel, Railway, or Render

ARCHITECTURE:
- Use a clean, modular, scalable architecture.
- Separate UI, application/business logic, data access, domain models, and external integrations.
- Use a clear folder structure and consistent naming conventions.
- Use typed models, DTOs, validation schemas, and centralized error handling.
- Design REST APIs with clear request and response contracts.
- Use database transactions for multi-step operations.
- Make the application maintainable, testable, and production-ready.

USER INTERFACE:
- Build a modern, clean, responsive, and accessible UI.
- Include desktop, tablet, and mobile layouts.
- Create a dashboard with today’s meals, weekly plan overview, nutrition progress, and quick actions.
- Build a recipe library with cards, filters, search, ratings, tags, and favorites.
- Build a weekly calendar view for meal planning with drag-and-drop recipe assignment.
- Build a shopping-list page with categories, checkboxes, quantities, and editable items.
- Build a recipe detail page with ingredients, steps, nutrition facts, servings, and related recipes.
- Include modals, toast notifications, empty states, loading states, and error states.
- Support dark mode and light mode.
- Ensure keyboard navigation, screen-reader support, and accessible color contrast.

SECURITY & PRIVACY:
- Never hardcode API keys, passwords, tokens, or secrets.
- Use environment variables and provide a .env.example file.
- Validate and sanitize all user input on both client and server.
- Protect against SQL injection, XSS, CSRF, clickjacking, and insecure file uploads.
- Hash passwords using bcrypt or Argon2.
- Implement role-based access control and server-side authorization checks.
- Require explicit confirmation before deleting recipes, meal plans, shopping lists, or account data.
- Do not expose sensitive data, stack traces, tokens, or internal errors in logs or API responses.
- Apply rate limiting to authentication, recipe import, and public sharing endpoints.
- Use secure cookies, token expiration, and refresh-token rotation.

DATA MODEL:
- User: id, name, email, passwordHash, avatarUrl, dietaryPreferences, nutritionGoals, emailVerified, createdAt, updatedAt.
- Recipe: id, ownerId, title, description, imageUrl, servings, preparationTime, cookingTime, instructions, isPublic, createdAt, updatedAt.
- Ingredient: id, name, category, defaultUnit, nutritionPer100g.
- RecipeIngredient: id, recipeId, ingredientId, quantity, unit, optional.
- Tag: id, name, type.
- RecipeTag: id, recipeId, tagId.
- MealPlan: id, ownerId, title, startDate, endDate, isPublic, createdAt, updatedAt.
- MealPlanEntry: id, mealPlanId, date, mealType, recipeId, servings.
- ShoppingList: id, mealPlanId, ownerId, title, status, createdAt, updatedAt.
- ShoppingListItem: id, shoppingListId, ingredientId, name, quantity, unit, category, isPurchased, notes.
- PantryItem: id, userId, ingredientId, quantity, unit, expirationDate, createdAt, updatedAt.
- NutritionLog: id, userId, date, calories, protein, carbohydrates, fat, createdAt.
- ShareLink: id, resourceType, resourceId, slug, createdBy, expiresAt, viewCount, createdAt.

TESTING & QUALITY:
- Write unit tests for shopping-list generation, ingredient merging, nutrition calculations, meal-plan validation, and recipe search.
- Write integration tests for authentication, recipe CRUD, meal-plan CRUD, shopping lists, pantry items, and sharing.
- Write end-to-end tests for registration, login, recipe creation, meal-plan creation, shopping-list generation, sharing, and deletion.
- Include tests for invalid input, unauthorized access, expired share links, duplicate ingredients, and destructive actions.
- Ensure the project passes linting, type checking, build, and all tests.

DELIVERABLES:
- Complete source code with no placeholders or unfinished features.
- README with project overview, setup, environment variables, database setup, run commands, and deployment instructions.
- Configuration files for development, testing, and production.
- Database migrations and optional seed data.
- API documentation or endpoint reference.
- Docker and docker-compose configuration.
- CI/CD pipeline or deployment instructions.
- Test suite and instructions to run tests.

IMPLEMENTATION RULES:
- Build real working features, not mockups or placeholder code.
- Implement every required feature completely.
- Handle errors gracefully with meaningful user-facing messages.
- Use clean, modular, maintainable, and well-organized code.
- Avoid deprecated libraries, insecure patterns, and unnecessary dependencies.
- If information is missing, state assumptions clearly before implementing.
- Do not claim that a feature works unless it is implemented and verified through tests or a runnable flow.
- If the task is too large for one response, create a phased implementation plan first, then implement phase by phase.

OUTPUT:
1. Start with a short architecture plan, technology decisions, and project structure.
2. Then implement the application phase by phase.
3. After each phase, summarize what was completed and what remains.
4. At the end, provide:
   - Completed features
   - Files created
   - Database schema
   - API endpoints
   - Tests run
   - Setup instructions
   - Known limitations
   - Recommended next improvements

Comments (0)

Related Skills

Grocery Meal Plan Cost Estimator

Skill

Builds a weekly meal plan with portion estimates and a grocery list rolled up by store section, then estimates total cost from unit prices you provide or simple defaults. Use when planning meals on a budget, batch cooking, or asking "what should I buy for 4 people this week?". Includes a stdlib Python cost estimator with --self-test.

F@f
0

Running Training Plan Load Checker

Skill

Builds and reviews 5K to marathon running plans: a tested script checks weekly volume jumps, long run share and progression, hard and back-to-back days, rest and cutback weeks, peak timing, and taper, then the skill explains the risks in plain language and proposes a safer week-by-week plan.

F@f
0

Household Chore Rotation Planner

Skill

Plans a fair, rotating weekly chore schedule for a household: weighs each chore by minutes and frequency, respects capacity shares and "cannot do" limits, rotates jobs week to week, and reports each person's load against a fair target. Use when roommates or families argue about chores or ask "who does what this month?". Includes a stdlib Python planner with --self-test.

F@f
1

Meal Prep Storage and Use-By Planner

Skill

Plans where every batch-cooked portion lives after a meal prep session: which stay in the fridge, which go in the freezer on prep day, when to move each to the fridge to thaw, and what goes on the labels, using conservative USDA fridge and freezer times. Flags meals planned past the use-by date, foods that do not freeze, shortfalls, leftovers and a full fridge. Includes a stdlib Python planner with --self-test.

F@f
0

Related Bots

Weekly Batch Cook Planner

Bot

Plans a Sunday batch cook that covers the week with one shopping list.

1 scheduled routine
F@f0

Meal Planner & Pantry

Bot

Plans the week's meals around what is already in your pantry, your diet and your schedule, writes the shopping list, and suggests what to cook tonight with what's left.

2 scheduled routines
F@f0

Accelerator Application Coach

Bot

Helps founders find the right startup accelerators, track their deadlines, write clear and honest application answers, and prepare for the video and interview rounds.

1 scheduled routine1 event trigger
F

Kids Clothes Size Tracker

Bot

Keeps each child's current clothing and shoe sizes, knows what still fits and what is missing for the next season, plans hand-me-downs and builds a simple shopping list within your budget.

1 scheduled routine1 event trigger
F@f
@f
0
0