Code

Feature devlopment Blueprint (5 Approaches + Ranking)

What does this prompt do?

It forces the model to produce an implementation-ready plan for a feature by generating exactly five distinct approaches, each with concrete architecture, code structure, and database design (including keys and indexes). It then ranks the approaches with explicit trade-offs and risks and runs a second-pass cross-comparison to refine the final recommendation under different scenarios. The “state assumptions and proceed” rule reduces vague back-and-forth and makes uncertainty explicit, which lowers hallucination risk and pushes the output toward actionable, verifiable engineering decisions.

The Prompt

Act as a [paste the role].

Feature context:
[paste the feature description: purpose, target users, user flows, must-have requirements, constraints, current stack]

Rules:
- Do not ask me questions. If information is missing, state explicit assumptions and proceed.
- Provide exactly 5 DISTINCT implementation approaches (not minor variants).
- Be concrete and implementation-ready. No generic theory.

Task:
1) For each approach, include:
   - Architecture: high-level design, boundaries, and data flow
   - Code structure: key modules/components/classes, responsibilities, and interfaces
   - Database: tables + columns, primary keys, foreign keys, unique constraints, and 2–3 critical indexes (with rationale)
   - Ops: failure modes, retries/idempotency, observability (logs/metrics/traces), backfill/migration plan
   - Pros & Cons: explicit bullets
   - Effort: S/M/L + top 3 engineering risks

2) Rank the 5 approaches from #1 (best) to #5 (worst).
   For each rank, provide:
   - Primary justification
   - Key trade-offs
   - Risk assessment (build + long-term maintenance)

3) Second pass (iteration):
   - Cross-comparison: what is fundamentally different vs just a variant
   - Scenario recommendations: at least 3 scenarios (small/simple, large/complex, high-compliance/high-availability)
   - Final refined recommendation: pick one, state conditions to switch to #2, and list the first 10 implementation tasks

Output format:
Implementation Analysis for 
Approach 1..5 (same headings for each)
Ranking & Justification
Second Pass
Final Refined Recommendation
Assumptions
Copied to clipboard!

How to Use This Prompt

  1. Copy the prompt using the button above
  2. Open your preferred AI tool (ChatGPT, Claude, etc.)
  3. Paste the prompt and customize the fields in [] as you needed
  4. Enjoy the result