# Database Modeling Prompt

> Source: <https://gist.github.com/phpfour/cd64646809d9d88b7d71ce6ebcd2970a>
> Published: 2026-06-28 06:36:06+00:00

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.
