Skip to main content

Reusable Contextual Prompts Library

These prompts are designed for real software engineering workflows—never generic one-liners like "Build me an app."


The Contextual Prompting Anatomy​

Every strong prompt in this library follows 7 core principles:

PrincipleWhat It DoesWhy It Matters
1. ContextPoint the agent to your Markdown docs (docs/prd.md, docs/architecture.md)Grounds AI in your actual project rules
2. ObjectiveState the single task or decision you need right nowPrevents tangled multi-feature changes
3. BoundariesTell the agent what not to touch, add, or inventStops scope creep and unapproved rewrites
4. Inspect FirstRequire reading relevant files before proposing or editing codeEliminates guessed file paths and broken imports
5. Expected OutputDefine the exact response format (plan, diff summary, diagnosis)Keeps answers concise and reviewable
6. VerificationAsk how you can independently verify the result worksReplaces blind trust with concrete checks
7. Review FirstReview each output before moving on to the next stepCatches bugs early while changes are tiny

Prompt Collections​

CollectionPhases CoveredWhat's InsideFile
Product & PlanningPhases 1–2Stress-test problem, MVP scoping, PRD/acceptance criteria, task breakdown01-product-and-planning-prompts.md
Design & ArchitecturePhases 3–4Journey/wireframe critique, design direction, tech stack comparison, folder/data model02-design-and-architecture-prompts.md
Implementation & UnderstandingPhases 5–6Starter setup, inspect-before-edit plans, backend/frontend slices, code explainer, screen/concept breakdown (Prompt 6)03-implementation-prompts.md
Debugging, Testing, Git & DeployPhases 7–9Root-cause diagnosis, security review, automated tests, PR summaries, pre-deploy smoke check04-debugging-testing-and-review-prompts.md

Mandatory Safety Reminders​

danger
  • Never paste real passwords, API keys, .env contents, or private user data into prompts.
  • Keep prompts vendor-neutral: Store your project context in repo Markdown files so any AI assistant or coding agent can pick up cleanly.