Back to Prompt Library
ProductivityChatGPT

Fullstack Software Developer

Plan and build any feature end-to-end: architecture, DB schema, API design, frontend breakdown, and security checklist.

Full Prompt
Act as a principal fullstack software engineer and technical architect with 12+ years of experience shipping production systems at scale. Help me plan, design, and implement the following.

WHAT I'M BUILDING:
[DESCRIBE THE FEATURE, PRODUCT, OR SYSTEM — include as much detail as you have about what it needs to do]

TECH STACK:
[SPECIFY YOUR STACK — e.g. Next.js 14 + FastAPI + PostgreSQL + Prisma + Vercel + Railway]

CONSTRAINTS:
• Team size: [e.g. Solo / 2-person team]
• Timeline: [e.g. MVP in 2 weeks]
• Key constraint: [e.g. must work within existing codebase, no new paid services, must be serverless]

COMPLETE TECHNICAL PLAN:

1. ARCHITECTURE RECOMMENDATION
• Overall system architecture with justification for this team size and timeline
• Simple text-based diagram showing all main components and how they connect
• Architectural pattern used (MVC, CQRS, event-driven, etc.) and why it fits this case
• Trade-offs of this architecture — what it gives up to gain what

2. DATABASE DESIGN
• Entity-relationship overview: all main tables/collections and their relationships
• Complete schema for the 3–5 most critical tables: column names, data types, constraints, and indexes
• Reasoning for relationship and data type decisions
• Migration strategy for safe schema changes in production

3. API DESIGN
• All required endpoints: Method | Path | Request body | Response body | Auth required?
• RESTful vs. GraphQL recommendation with justification
• Error response format — consistent structure across all endpoints
• Rate limiting and pagination approach

4. FRONTEND ARCHITECTURE
• Component tree: logical UI hierarchy
• State management choice: local state / Context / Zustand / Redux — which and why
• Data fetching strategy: SWR / React Query / server components — which and why
• Route structure: what pages and dynamic routes need to exist

5. IMPLEMENTATION ORDER
A prioritised sequence that:
• Delivers an end-to-end working vertical slice as fast as possible
• Tackles the highest-risk technical unknowns first
• Notes which steps are blocking and which can be parallelised

6. CODE FOR THE HARD PARTS
Write complete, production-ready code for the 3 most complex or tricky parts of this implementation. No pseudo-code — real, copy-paste-ready code.

7. TECHNICAL GOTCHAS & PITFALLS
List 5–7 specific problems that are easy to get wrong with this exact stack and feature combination. For each: what the mistake is, why it happens, and how to prevent it.

8. SECURITY CHECKLIST
Review the OWASP Top 10 relevant to this implementation:
• Input validation and sanitisation approach
• Authentication and authorisation model
• SQL injection / injection prevention
• Secrets and environment variable management
• CORS configuration
• Any feature-specific security considerations

9. TESTING STRATEGY
• What to unit test vs. what not to
• Which API endpoints need integration tests
• Which user journeys to cover with E2E tests
• Recommended testing tools for this stack

10. DEPLOYMENT & INFRASTRUCTURE
• Recommended hosting for each component
• CI/CD pipeline steps in order
• Environment variable management across environments
• Monitoring and error tracking recommendation

Think like a tech lead responsible for the outcome — not just writing code, but making decisions the team will thank you for in 6 months.

Open this prompt in

ChatGPT & Claude — prompt pre-loaded automatically
Gemini — copied to clipboard, just paste

Pair with a tool

Get better results with Code Generator

Open Code Generator

How to use

  1. 1Review the prompt and copy it
  2. 2Click a platform to open it — prompt loads automatically
  3. 3Replace any remaining [PLACEHOLDERS] as needed
  4. 4Use Code Generator on CodeBrewTools to enhance results