Skip to content

Instantly share code, notes, and snippets.

@phpfour
Last active July 2, 2026 04:05
Show Gist options
  • Select an option

  • Save phpfour/cd64646809d9d88b7d71ce6ebcd2970a to your computer and use it in GitHub Desktop.

Select an option

Save phpfour/cd64646809d9d88b7d71ce6ebcd2970a to your computer and use it in GitHub Desktop.
Database Modeling Prompt

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.

@phpfour

phpfour commented Jun 28, 2026

Copy link
Copy Markdown
Author

We share this kind of prompt, tools, resources, and experiences in our Agentic Engineering private community.

To join, visit here: https://ai-engineering.co/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment