{"slug": "database-modeling-prompt", "title": "Database Modeling Prompt", "summary": "A developer shared a prompt for database modeling that instructs coding agents to build a project data model based on a PRD. The prompt emphasizes scenario-based examples, step-by-step guidance, and iterative questioning to resolve design decisions. It recommends exploring the codebase when possible and asking questions one at a time.", "body_md": "Paste this in your coding agent and replace the `@PRD-v1.md`\n\nwith an actual PRD or feature spec.\n\n/ce-brainstorm Let's build the project data model based on @PRD-v1.md\n\nI need scenario based examples and sample data tables to understand what scenario you are asking me. This is true for all the decisions.\n\nStart with setting up a baseline example scenario with two customers with two projects and guide me step by step, with easy things first and gradually increasing in complexity. The entire data model should be built through interview.\n\nAsk me relentlessly about every aspect of this plan until we reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer. Ask the questions one at a time.\n\nIf a question can be answered by exploring the codebase, explore the codebase instead.", "url": "https://wpnews.pro/news/database-modeling-prompt", "canonical_source": "https://gist.github.com/phpfour/cd64646809d9d88b7d71ce6ebcd2970a", "published_at": "2026-06-28 06:36:06+00:00", "updated_at": "2026-07-01 04:48:22.301868+00:00", "lang": "en", "topics": ["developer-tools", "machine-learning"], "entities": [], "alternates": {"html": "https://wpnews.pro/news/database-modeling-prompt", "markdown": "https://wpnews.pro/news/database-modeling-prompt.md", "text": "https://wpnews.pro/news/database-modeling-prompt.txt", "jsonld": "https://wpnews.pro/news/database-modeling-prompt.jsonld"}}