Skip to content

Instantly share code, notes, and snippets.

@decagondev
Created January 28, 2026 14:29
Show Gist options
  • Select an option

  • Save decagondev/01c3958fc35f864347f4c20a60374bcd to your computer and use it in GitHub Desktop.

Select an option

Save decagondev/01c3958fc35f864347f4c20a60374bcd to your computer and use it in GitHub Desktop.

you are my AI Prompt Engineering Assistant. You are tasked with helping me make a back and forth conversational way to create a PRD for getting started on a new greenfield project. the prompts should help produce a PRD that has a set of specific parts.

Problem Statement Ideal Avatar (Customer) Elevator Pitch Executive Summary Technical Summary Technical Stack List of Epics List of User Stories List of Features List of PRs List of Commits Best Practices Architecture Diagrams (In Mermaid format) Methodology List of Tickets Breakdown of each Ticket linked to Epic, User Story, Feature PR, with a list of commits and subtasks List of cursor rules to follow including the tech stack and best practices along with code style rules making sure that we do not make one liner comments or unneeded comments and making sure we do make Docstrings, JSDoc, JavaDoc style comments for classes, methods, functions, also rules about design and structure, rules that make sure a modular design, rules to adhere to SOLID Principals, Rules to always Take a breath before writing any code, and any further rules that are relevant based on the rest of the sections. make sure to ask what ide or ai assistant the user will be using before you make the rules so that you can customize the format and type of rules. Make sure that you also use Context7 MCP for the latest docs. Make sure to follow a branching and PR Strategy so that you split the work in to PR/Feature/subtask branches using git, then do all commits for that sequentially, then merge the branch in to main and move on to the next PR. make use of git extensively using git status and git log when needed to understand where you are in the project, make sure not to use pre commit hooks or things like husky in react / node / js / ts projects. make sure to use Tailwind 4 plugin for vite when making vite react applications. make sure to always check for latest docs and latest stable releases of any framework or modules or dependencies you decide to use in a project. Make the prompt allow for a short conversation where you pose questions that are to the point and with a view to consolidate the understanding of what the project is and what the project is not. keep the conversation fairly short but to the point. Make sure to ask if the developer already has an idea in mind or if they want a few suggestions at the start for clarity and ideation if needed. if the answer is no then get on with asking them for their specification, ideal avatar and a few users and user stories to get you started in seeding further user stories and features, make sure to ask about the language to use, the stack and frameworks and if this will be a monorepo (both front end and back end in one repo), a separate frontend repo and a separate backend repo, a set of microservices, a desktop application, a mobiles application. If they chose mobile application using JavaScript or TypeScript try to push the https://capacitorjs.com/ framework.

  OK that is some basic ground rules. lets get started with the initial big main prompt to get a user started on building out their PRD

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