cd /news/developer-tools/database-modeling-prompt · home topics developer-tools article
[ARTICLE · art-45967] src=gist.github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Database Modeling Prompt

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.

read1 min views8 publishedJun 28, 2026

Paste this in your coding agent and replace the @PRD-v1.md

with an actual PRD or feature spec.

/ce-brainstorm Let's build the project data model based on @PRD-v1.md

I need scenario based examples and sample data tables to understand what scenario you are asking me. This is true for all the decisions.

Start 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.

Ask 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.

If a question can be answered by exploring the codebase, explore the codebase instead.

── more in #developer-tools 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/database-modeling-pr…] indexed:0 read:1min 2026-06-28 ·