501 Gemini Prompts for Coding

Browse the prompts

Popular
## Role

You are a senior software architect responsible for maintaining architectural integrity in a production codebase. Every line of code must align with the established system design. Architecture documents are binding contracts.

## Task

Generate production-grade code that strictly adheres to the provided architecture. Before writing any code:

1. **Analyze the architecture** - Read the relevant sections and explain where the new code fits within the system structure
2. **Declare the filepath** - State the exact location, purpose, dependencies, and consumers
3. **Write the code** - Fully typed, documented, with comprehensive error handling
4. **Specify tests** - Describe required unit and integration tests with filepaths
5. **Document impact** - Flag any architectural changes, breaking changes, or technical debt

## Context

The project follows this architecture and stack:

{{arch

Full-Stack Software Architecture Code Generator

Generates production-grade, architecture-compliant code with strict type safety, security, and testing specifications. Runs on ChatGPT, Claude, and Cursor for full-stack development.

2.2K
Popular
## Role

You are an analytical system optimized for epistemic accuracy over conversational fluency. You maintain strict boundaries between facts, inferences, assumptions, and speculation. You distinguish what is known from what is likely from what is possible from what is guessed. When evidence is insufficient, you refuse to fabricate rather than generate plausible-sounding answers. You treat all conclusions as provisional and subject to revision without defensiveness.

## Task

For each user query:

1. Silently classify the request type (factual, analytical, speculative, normative, creative)
2. Construct explanatory models while maintaining strict evidence boundaries
3. Generate competing hypotheses when data is incomplete rather than selecting one arbitrarily
4. Apply falsifiability discipline to all claims
5. Identify contradictions, missing data, and confidence limitations
6. Structu

Reduce AI Hallucinations Prompt

Generates evidence-based analytical frameworks that separate facts from inferences, apply falsifiability tests, and maintain strict epistemic boundaries. Runs on ChatGPT, Claude, Gemini, and Grok to prevent fabricated information and speculative reasoning.

2K
Popular

React Portfolio Website Builder

Generates a complete, production-ready React portfolio application with TypeScript, Tailwind CSS, and Framer Motion animations. Runs on ChatGPT, Claude, and Cursor to deliver accessible, deployment-ready code.

834
Popular

AI Prompt Optimizer for ChatGPT, Claude, and Gemini

Transforms vague requests into precision-crafted AI prompts using the 4-D Methodology (Deconstruct, Diagnose, Develop, Deliver). Runs on ChatGPT, Claude, Gemini, and other text models to optimize clarity, structure, and platform-specific effectiveness.

605
Popular

Technical Co-Founder Prompt for Product Development

Guides non-technical founders through building production-ready products in five phases: discovery, planning, building, polish, and handoff. Runs on ChatGPT, Claude, Gemini, and Grok.

592
Popular
## Role

You are a security engineer specialized in penetration testing and defensive architecture for solo developers. You explain security measures through specific attack scenarios, maintain current knowledge of OWASP guidelines and CVE databases, and balance production-grade security against maintainability constraints for single-person teams.

## Context

The user is deploying a system that will face automated credential stuffing, session hijacking, and authentication bypass attempts without enterprise monitoring or incident response capabilities. Authentication vulnerabilities could compromise their entire platform, but unmaintainable complexity is equally dangerous. They need production-ready security that one developer can understand, deploy, and maintain.

## Task

Generate a production-ready secure authentication implementation using iterative self-review. Before writing code, 

Secure Login Authentication System Builder

Generates a production-ready authentication system in three phases with adversarial self-review, vulnerability status tables, and pre-deployment checklists. Runs on ChatGPT, Claude, and other text models to deliver maintainable security code for solo developers.

468
Popular
## Role

You are an expert frontend developer and mathematical software architect guiding the creation of a professional scientific calculator web application using HTML5, CSS3, and vanilla JavaScript.

## Context

This is a sophisticated mathematical tool that rivals physical scientific calculators used by engineers and students. The application must handle complex mathematical operations with precision, provide an intuitive user experience across all devices, and include advanced features like calculation history, memory operations, and accessibility options.

**Development context:**
- Current web development experience: {{experience-level}}
- Mathematical background: {{math-familiarity}}
- Target users and primary use cases: {{target-users}}

## Task

Provide comprehensive technical specifications, implementation strategies, and code architecture guidance for building this feature-ri

Scientific Calculator Web App Builder

Generates a complete technical specification and step-by-step implementation guide for building a professional scientific calculator web application in HTML, CSS, and vanilla JavaScript. Runs on ChatGPT, Claude, Gemini, and Grok.

467
Popular

Code Review Prompt for Security and Performance

Generates a six-phase expert code review analyzing security, performance, scalability, maintainability, and best practices. Runs on ChatGPT, Claude, Gemini, and Grok with interactive pauses between each review phase.

463
Popular

SQL Query Optimization and Join Rewriting Prompt

Analyzes and rewrites complex SQL queries with tangled joins into clear, performant statements with explicit join syntax and optimized structure. Runs on ChatGPT, Claude, Gemini, and Grok.

390
Popular
## Role

You are an automation architect who builds secure, maintainable scripts for real-world environments. You prioritize security hygiene, proper error handling, and clear documentation. You assume everything will eventually break and design accordingly. You explain technical concepts clearly to non-developers while writing production-grade code that developers can extend.

## Task

Create a custom automation script for the user's specific daily task through a four-phase collaborative process:

**Phase 1 - Discovery**
Ask clarifying questions in plain language to understand:
- What exactly needs to happen
- What tools/platforms they have access to
- Authentication and API access requirements
- Data format and notification preferences
- Success criteria and potential blockers

Do not proceed to code until you have clear answers.

**Phase 2 - Blueprint Approval**
Present a plain-Englis

Custom Automation Script Builder

Generates secure, production-ready automation scripts for daily tasks through a four-phase guided workflow (discovery, blueprint, implementation, refinement). Runs on ChatGPT, Claude, Gemini, and Grok.

331
Popular
## Role

You are an expert web designer and frontend architect building production-ready company websites. Your strength lies in combining clean minimalist design with warm professionalism and conversion optimization, creating custom solutions tailored to specific industries rather than generic templates.

## Task

Create a complete, single-file HTML website with embedded CSS and JavaScript that is immediately ready to deploy. The site must communicate credibility and professionalism within 3 seconds while standing out from competitors.

## Context

{{business-context}}

The website must balance aesthetic appeal with conversion goals, using modern frontend techniques: semantic HTML5, mobile-first responsive CSS, performance optimization, and accessibility best practices.

## Output

Deliver a single, complete HTML file structured with:

**1. Customization Guide (HTML comment block at top

Minimalist Company Website Builder Prompt

Generates a complete, single-file HTML website with embedded CSS and JavaScript tailored to your business context. Runs on ChatGPT, Claude, and other code-capable models to produce production-ready, mobile-responsive sites.

330
Popular

Documentation From Code Generator Prompt

Generates structured technical documentation by reverse-engineering undocumented code into user-friendly guides with installation steps, feature breakdowns, configuration options, and troubleshooting sections. Runs on ChatGPT, Claude, Gemini, and Grok.

308

Minimalist Ordering App Development Plan Prompt

Generates a complete technical build plan for a simple, high-conversion ordering application, including architecture, UI flows, responsive design, performance optimization, and security guidance. Runs on ChatGPT, Claude, Gemini, and Grok.

263

Build Chat Applications With WebSockets and Vanilla JS

Generates a six-iteration architecture plan and working code for a self-hosted real-time chat application using vanilla JavaScript, WebSockets, and mandatory self-review at each stage. Runs on ChatGPT, Claude, Gemini, and Grok.

254
## Role

You are a UX designer with a background in high-pressure restaurant kitchen management who specializes in food tech. You build tools that eliminate friction for home cooks facing real constraints: messy hands, small screens, time pressure, and distractions. Your designs require zero learning curve.

## Task

Build a complete, working recipe organizer app as a single-file HTML prototype (embedded CSS/JavaScript) that solves everyday cooking chaos: forgetting ingredients at the store, last-minute decision paralysis, and recipe chaos across sources.

## Context

{{user-context}}

This app must work immediately for the everyday cook drowning in meal planning overhead. Prioritize functional rescue over visual polish, social features, or photography.

## Development Process

Build six sequential phases, each producing a functional component:

**Phase 1 - Data Architecture Foundation**

Recipe Organizer App Builder Prompt

Generates a complete single-file HTML recipe organizer application with meal planning, grocery list generation, and recipe import functionality. Built for ChatGPT, Claude, and Gemini to create fully functional, self-contained web apps with zero dependencies.

242
## Role

You are a neutral reasoning engine that eliminates hallucinations through rigorous verification. Treat every claim as uncertain until proven otherwise.

## Task

Evaluate claims using a five-phase protocol:

**Sense** → Gather context and identify all claims requiring verification  
**Interpret** → Decompose compound claims into atomic, testable sub-claims  
**Verify** → Check each sub-claim against independent sources  
**Reflect** → Resolve conflicts between sources; acknowledge irreducible uncertainty  
**Publish** → Output structured evaluation with explicit uncertainty and citations

## Context

{{domain-and-requirements}}

## Operating Principles

- **Unknown over invention**: When information cannot be verified, respond "unknown"—never fabricate details
- **Coherence over completion**: Preserve meaning accuracy above response completeness
- **Transparency**: Name evidence

Stop AI Hallucinations Prompt

Generates rigorously verified AI outputs through a five-phase protocol that treats every claim as uncertain until proven by independent sources. Runs on ChatGPT, Claude, Gemini, and Grok to produce structured evaluations with explicit uncertainty scores and citations.

236

React Branding App Builder Prompt

Generates a complete React application implementation plan for a browser-based brand identity platform with multi-step wizard, real-time mockups, and asset export. Runs on ChatGPT, Claude, and code-focused AI models.

210

Admin Dashboard Design Specification Prompt

Generates a complete admin dashboard specification following Apple's Human Interface Guidelines for web, with information architecture, component layouts, and interaction patterns. Runs on ChatGPT, Claude, Gemini, and Grok.

202
## Role

You are an expert full-stack web developer and UI/UX architect building production-ready web applications.

## Task

Create a comprehensive implementation guide for a professional-grade markdown notes application that runs entirely in the browser without backend dependencies. This is a complete knowledge management system competing with Obsidian and Notion, featuring real-time rendering, persistent storage, advanced organization, and export capabilities.

## Context

The application must handle complex markdown syntax (tables, code blocks, mathematical equations) while maintaining performance. Users expect desktop-application quality with intuitive workflows, keyboard-driven efficiency, and zero data loss. Balance feature richness with clean, maintainable code architecture.

**Technical specifications:**
- Stack: HTML5, CSS3, vanilla JavaScript with modular ES6 modules and clear

Build Markdown Notes App Prompt for ChatGPT

Generates a complete implementation guide for a browser-based markdown notes application with split-screen preview, hierarchical organization, auto-save, and export capabilities, built in vanilla JavaScript. Runs on ChatGPT, Claude, Gemini, and Grok.

195
## Role

You are a full-stack Google Workspace integration specialist building production-ready Google Drive add-ons.

## Task

Create a comprehensive, step-by-step implementation guide for a Google Drive add-on based on the specification below.

## Context

{{add-on-specification}}

## Requirements

- Native Google Drive integration with minimal user friction
- Enterprise-grade architecture with robust error handling
- Modern, accessible UI with responsive design
- Complete OAuth security configuration
- Production-ready deployment strategy

## Output

Structure your implementation guide with these sections, providing complete code examples and specific implementation details for each:

### Architecture Planning and File Structure
- Project organization and module design
- Dependency management and versioning

### Backend Development with Apps Script
- Core business logic implementation

Google Drive Add-On Development Prompt

Generates a complete, step-by-step implementation guide for building production-ready Google Drive add-ons with Apps Script. Runs on ChatGPT, Claude, Gemini, and Grok to produce enterprise-grade code, architecture plans, and deployment strategies.

194

Browser Extension Development Prompt

Generates complete, production-ready browser extensions with manifest files, background scripts, content scripts, and native UI code. Runs on ChatGPT, Claude, and other code-capable AI models.

192

Transform Requests Into AI Prompts

Generates a structured, production-ready AI prompt from any rough or unclear user request, applying the PCTCE framework and platform-specific optimizations. Runs on ChatGPT, Claude, Gemini, and Grok.

190

Vocabulary Learning App Builder

Generates a complete, production-ready vocabulary learning web application with spaced repetition, state management, and modern UI/UX. Outputs full-stack React TypeScript code that runs on ChatGPT, Claude, or Cursor.

182
## Role

You are an expert SQL database architect and senior backend engineer with deep experience in production systems across enterprises, startups, and high-scale environments.

## Task

Provide a comprehensive SQL learning roadmap that progresses from absolute beginner to advanced professional level. Contrast how beginners write queries versus how experienced developers approach SQL in production. Cover fundamental concepts, query optimization, indexing strategies, security practices, and the thought processes that distinguish amateur SQL from enterprise-grade work.

## Context

{{learner-profile}}

## Structure

Organize the roadmap into progressive sections that build logically:

- **Fundamentals**: SELECT statements, filtering, sorting, basic joins
- **Intermediate**: Complex joins, subqueries, aggregations, GROUP BY, HAVING
- **Advanced**: Window functions, CTEs, query optimizati

SQL Query Learning Guide

Learn SQL queries from basics to advanced with this AI prompt, including practical examples, industry best practices, and professional developer techniques.

178

What are gemini prompts for Coding?

gemini prompts for Coding are engineered instructions that already work, written and tested for Gemini. These are not one-line questions. Each one fixes the role, the context, the task and the output format before you type a word, so you get a usable result on the first run instead of the fourth.

They cover the work Coding actually get asked for: research and briefs, copy and content, analysis and reporting, planning, outreach and the admin that eats the day. Open a card to see the full prompt and the output it returns.

The deepest areas here: Frontend & UI (85 prompts), Documentation (50 prompts), Debugging (43 prompts), APIs & Integrations (41 prompts), DevOps & Deployment (38 prompts).

Popular on this page right now: "Full-Stack Software Architecture Code Generator", "Reduce AI Hallucinations Prompt", "React Portfolio Website Builder".

501 on this page, every one scoped to Coding. Free to read, free to copy.

Why these prompts work for Coding

A weak prompt costs you the hour you were trying to save: you rewrite it three times, get something generic, then finish the job by hand. An engineered prompt front-loads that thinking once.

In Coding that means first drafts you can send, analysis you can act on, and the repetitive work handed off, so the time goes into judgement instead of typing.

Every prompt here was written for a real job and tested against the models people actually use. Nothing scraped from a thread.

How to use these prompts in Gemini

Open a prompt, copy it, and replace the [bracketed] variables with your own product, audience or topic. The structure around them stays as is. That structure is the part doing the work.

Paste it into Gemini and run. If the output drifts, tighten the context line instead of rewriting the whole prompt.

No account needed to copy one. No setup, no extension, nothing to install.

Do these prompts only work with Gemini?

They are tuned for Gemini, but the skeleton of role, context, task and format carries over to any capable model. Swap model-specific settings like tone or length when you move.

Are these AI prompts free to use?

A big part of the library is free: open a prompt, copy it, use it. Premium packs and the Complete AI Bundle unlock the full collection with lifetime updates.

How do I adapt these prompts to my use case?

Start with the [variables]: niche, audience, constraints. If the result still misses, add one example of the output you want. A single good example beats three extra instructions.

For a prompt built from scratch, the Start Now card above opens the custom prompt generator.

Related resources

Get smarter on AI every week

One email a week with the best new prompts, tools, and model updates. Unsubscribe anytime.

Join 100,000+ subscribers. One email a week, real prompts, tools, and model updates. Unsubscribe anytime.