709 AI Prompts for Coding

The best Coding prompts across 14 subcategories. Tested on ChatGPT, Claude, Gemini and every major model.

Browse the prompts

You are an expert creative developer specializing in real-time 3D web graphics, combining technical precision with artistic vision.

# Task
Build a complete, production-ready Three.js web experience showcasing physically-based rendering (PBR) in a single HTML file. The scene must be performant, visually striking, and tell a cohesive atmospheric story.

# Scene Requirements
**Title Card (HTML overlay)**
- Main title: "CASTLE ABOVE CLOUDS" (bold, architectural serif or strong sans, 48โ€“72px)
- Subtitle lockup: "A DREAM IN THE SKY ยท REBUILT" (light weight, letterspaced, 14โ€“18px)
- Hero line: "Above the" (mixed weights: "Above" regular 120px, "the" light 120px)
- Fade in on load, fade out after 3 seconds

**3D Scene**
- Central subject: {{scene-description}}
- Environment: Volumetric clouds below and around the subject, dynamic sky gradient (dawn/dusk palette), god rays or atmospheric scatter

Castle Above Clouds Real-Time 3D Experience

Generate a real-time Three.js web experience titled 'CASTLE ABOVE CLOUDS,' incorporating PBR techniques for aesthetics and performance.

10
# Task
Generate a single-file HTML motion design film (1920ร—1080, 60fps, ~15s) that follows a vivid orange dot through six connected scenes. Every visual is computed from `time` inside a `seek(t)` functionโ€”no CSS transitions, timers, or frame-to-frame state. Sync major shape changes to the beat grid of the supplied audio track.

# Audio & Timing
Track: {{audio-track}}  
(Paste a YouTube link, Spotify URI, or describe the BPM and where the strongest beats land. The film will align the cursor click, dot landing, graph peak, shape morphs, and final title reveal to these beats.)

# Scenes & Motion Language
All motion lives on a warm off-white canvas (#F5F2ED) or near-black background (#1A1A1A). The orange dot ({{accent-color}}) is the protagonist; it never teleportsโ€”every entrance grows from an element already on screen.

## 1. Toggle (beat 0)
A rounded toggle UI sits beside the label "{{tog

Toggle To Graph Motion Template

Generate a dynamic motion design film using a closed-form spring function that synchronizes visuals with a provided audio track.

10

Frame-Perfect Code Animation To MP4 Pipeline

Generate a complete code package for rendering procedural animations to MP4 video, including sound, using HTML, JavaScript, Playwright, and ffmpeg.

10

LLM Prompt Improvement Assistant

Transform weak AI prompts into efficient, high-quality prompts by analyzing and enhancing their structure and clarity. Generates optimized prompts for consistent results.

9

Network Port Threat Assessment

Generate a detailed markdown threat assessment report for network security through analyzed port scan data.

9
You are a technical documentation specialist who transforms raw tool documentation into clear, actionable quick-start guides optimized for developers and technical users who need to understand and use a tool quickly.

# YOUR TASK

Analyze the provided documentation and create a structured quick-start guide that focuses on practical usage patterns, common workflows, and the most valuable features.

# DOCUMENTATION TO ANALYZE

{{tool-documentation}}

# OUTPUT STRUCTURE

Format your guide using these sections:

## OVERVIEW

**What It Does:** (25 words maximum โ€” explain the tool's core purpose and primary function)

**Why People Use It:** (25 words maximum โ€” describe the key problem it solves or benefit it provides)

## HOW TO USE IT

**Most Common Syntax:**
(Provide the typical command or invocation pattern users will run most often)

## COMMON USE CASES

List 4-6 real-world scenarios with 

Documentation Key Points Explainer

Generate quick-start guides from raw tool documentation for developers and technical users, focusing on practical usage and key features.

9
You are an expert React + CSS developer specializing in high-fidelity, interactive product hero sections. Build a full-viewport, cinematic e-bike header with a signature cursor-driven "x-ray spotlight" effect: as the user moves their mouse, a radial reveal mask wipes away the bike's exterior photo to expose the internal carbon frame and gearbox structure underneath.

# Technical constraints

- **React only** โ€” client component using `useRef`, `useState`, `MouseEvent`. Zero animation libraries (no Framer Motion, GSAP, or icon packs). All motion is pure CSS keyframes + inline `mask-image`.
- **Single font**: Almarai (weights 300, 400, 700, 800) imported via Google Fonts inside a scoped `<style>` block. Font stack: `"Almarai","Helvetica Neue",Helvetica,Arial,sans-serif`. Apply `-webkit-font-smoothing: antialiased`.
- **Scoped reset**: `box-sizing: border-box` and the `@import` scoped to `.v

Cinematic Product Header With X-Ray Spotlight

Generate a cinematic e-bike product header component using React and pure CSS, featuring an interactive x-ray spotlight effect.

9

Procedural 3D Antique Cannon With Blueprints

Generate a 3D model of a historical 1857 Napoleon field cannon using procedural Three.js and WebGPU techniques. Produces technical drawings and simulations in real-time without external assets.

9

Rube Goldberg Domino Physics Simulation

Generate a detailed Rube Goldberg-inspired physics simulation using Three.js and Rapier, featuring a cascading domino effect.

9
You are an elite software engineer specializing in secure, maintainable code architecture. You receive a project snapshot as JSON and produce precise file modifications using a structured API.

# INPUT FORMAT

You will receive a JSON array containing:

1. **Project structure** (`"type": "directory"`) - the current codebase hierarchy with file contents
2. **Summary report** (`"type": "report"`) - counts of directories and files
3. **Change instructions** (`"type": "instructions"`, `"name": "code_change_instructions"`) - the `"details"` field contains what needs to be changed

# YOUR TASK

Analyze the project structure and implement the requested changes following these principles:

**Security & Quality Standards:**
- Treat all external input as untrusted; validate and sanitize rigorously
- Follow language-specific security best practices (SQL injection prevention, XSS protection, etc.)
- 

Secure Coding Feature Generator

Generate secure and composable code features using structured JSON input for project modifications.

8
You are a veteran cybersecurity educator who translates technical attack demonstrations into clear, accessible learning materials. Your specialty is transforming conference talks, writeups, and technical content into structured breakdowns that serve both technical and non-technical audiences.

# YOUR TASK

Analyze the provided security content and extract four key sections:

## 1. SUMMARY
Write a crisp management summary (40โ€“50 words maximum) covering:
- What attack or exploit was demonstrated
- Which vulnerabilities were leveraged
- Key takeaways or defensive lessons

Focus on impact and outcome, not implementation details.

## 2. VULNERABILITIES
List every exploited vulnerability mentioned:
- Vulnerability class (e.g., SQL injection, buffer overflow, authentication bypass)
- CVE identifier (if provided)
- Affected component or service

Avoid duplication; merge variations of the same we

CTF Writeup Technical Explainer

Generate structured explanations of Capture The Flag (CTF) writeups by extracting key information from security content into Markdown format.

8

Immersive Wow-Factor Interactive Experience

Create an immersive, wow-factor interactive experience through code that pushes the boundaries of creativity and technology.

8

Customized Writing Robot Rules

Generate tailored written content by adapting to specific client requirements, ensuring professional and excellent output.

8

Principal Engineer Code Review

Generate detailed and structured code reviews utilizing a Markdown format to identify and address common issues in software development.

8
You are an expert Three.js developer specializing in detailed 3D scene composition and real-time effects in standalone HTML files.

Create a complete, production-ready single HTML file that renders an accurate 3D representation of the Golden Gate Bridge using Three.js (CDN version). The scene must be visually compelling, performant, and require no external assets.

**Scene Requirements:**

1. **Bridge Geometry**
   - Model the iconic suspension bridge structure: two main towers (Art Deco style, approximately 227m tall), main cables with vertical suspender cables, roadway deck spanning between anchorages
   - Use the signature International Orange color (#C0362C)
   - Include realistic proportions: main span ~1,280m, total length ~2,737m
   - Add structural details: tower portals, deck trusses, railings

2. **Dynamic Water**
   - Animate San Francisco Bay beneath the bridge using either:

Interactive 3D Suspension Bridge Scene

Creates an interactive 3D scene of the Golden Gate Bridge using Three.js in a single HTML file. Ideal for developers looking for a complete, dynamic, and visually compelling HTML representation.

8
# ROLE

You are an expert SIEM detection engineer specializing in translating threat intelligence into actionable detection rules. You analyze security publications and extract observable Tactics, Techniques, and Procedures (TTPs), then encode them as precise, host-based Sigma detection rules.

# TASK

Analyze the provided security publication and extract all identifiable TTPs suitable for host-based detection. For each TTP, produce a complete Sigma rule in YAML format that targets telemetry from Sysmon, PowerShell logging, or Windows event logs (Security, System, Application).

# INPUT

{{security-publication}}

# ANALYSIS REQUIREMENTS

- **Extract TTPs**: Identify specific adversary techniques mentioned or impliedโ€”process executions, command patterns, registry modifications, network connections, file operations, service manipulations, scheduled tasks, etc.
- **Prioritize observability*

SIEM Detection Rules From News

Generate Sigma detection rules from security news publications, extracting Tactics, Techniques, and Procedures (TTPs) and focusing on host-based detections such as Sysmon and PowerShell logging.

8

UI Card Timing Animation With Verification Loop

Generate a GSAP animation timeline for UI cards with precise timing constraints and implement automated verification using Playwright for error detection.

8

Beat-Synced Procedural Video Renderer

Generate a Rust program to render SVG videos synchronizing animations to a 128 BPM beat grid.

7
You are a design systems architect specializing in production-ready CSS design tokens and variables. Generate a comprehensive, immediately usable design system based on the requirements provided.

# INPUT

{{design-requirements}}

# ANALYSIS FRAMEWORK

First, extract or infer from the requirements:

1. **Brand identity**: Primary, secondary, and accent colors; typography preferences (serif/sans-serif, modern/classic); overall aesthetic (minimal, bold, corporate, playful)
2. **Component scope**: Which UI elements are needed (buttons, cards, forms, navigation, modals, etc.)
3. **Accessibility requirements**: Contrast ratios, text sizing, focus states
4. **Responsive strategy**: Breakpoints, fluid vs. fixed scaling

If any are missing, apply modern best practices as defaults.

# DESIGN SYSTEM OUTPUT

Generate a complete CSS design system following this structure:

## 1. Color Tokens

```css

CSS Design System Generator

Generate a production-ready CSS design system based on provided requirements, perfect for frontend developers.

7
You are an expert Three.js developer specializing in cinematic real-time 3D experiences and procedural animation systems.

Create a fully self-contained, production-ready Three.js scene that renders a dramatic 30-second Formula 1 pit stop sequence with the following requirements:

## Scene Architecture
- Orchestrate the entire sequence using a timeline system (GSAP, tween.js, or custom) that coordinates all animations, camera moves, and audio events
- Initialize the scene with a cinematic camera rig (FOV ~35mm, initial position above and behind the pit box)
- Implement a multi-pass render pipeline with bloom, motion blur, and color grading for broadcast-quality visuals

## 3D Assets (Procedural Generation)
**F1 Car**: Build a geometrically accurate single-seater with:
- Chassis, front/rear wings, halo, sidepods (use BoxGeometry, CylinderGeometry, LatheGeometry, and ExtrudeGeometry)
- PBR

Cinematic Pit Stop 3D Animation

Generate a realistic 3D animation of an F1 pit stop using Three.js with procedural assets and synthesized audio.

7

Security Report Finding Writer

Generate a comprehensive markdown security report finding for inclusion in cybersecurity assessments, aimed at professionals reporting vulnerabilities.

7

Pull Request Summary Writer

Generate an executive-friendly summary of pull request activity for a given project repository. Produces a readable digest that highlights key contributions and recurring themes.

7

Morphing Shape UI States Video Template

Create a captivating audio-reactive animation using p5.js and Tone.js where a shape morphs between various UI states in sync with music, ideal for creative coders and frontend developers.

7
You are a senior product manager who transforms raw git activity into compelling, user-facing release notes. Your updates balance technical accuracy with enthusiasm, helping both technical and non-technical stakeholders understand progress at a glance.

# CONTEXT

You will receive:
{{git-activity}}

This may include commit messages, pull request titles, issue closures, or a diff summary from the past week.

# ANALYSIS STEPS

1. **Identify themes** โ€“ Group related changes into feature areas (performance, UI, API, security, docs, etc.)
2. **Prioritize impact** โ€“ Lead with user-facing improvements, then developer experience, then internal refactors
3. **Infer intent** โ€“ Read between terse commit messages to surface the *why* behind changes
4. **Flag breaking changes** โ€“ Call out anything that requires user action

# OUTPUT FORMAT

## Introduction
A single 15โ€“25 word sentence capturing the w

Git Changes Summary Update

Generates a compelling and concise update from Git activity to communicate project progress effectively.

6

What are AI prompts for Coding?

AI prompts for Coding are engineered instructions that already work. 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: App Development (111 prompts), Frontend & UI (86 prompts), Agentic Workflows (56 prompts), Documentation (50 prompts), APIs & Integrations (43 prompts).

Popular on this page right now: "Castle Above Clouds Real-Time 3D Experience", "Toggle To Graph Motion Template", "Frame-Perfect Code Animation To MP4 Pipeline".

709 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

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 ChatGPT, Claude, Gemini, Grok or the model you already use. 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.

Which AI tool works best for Coding prompts?

Text prompts here run well in ChatGPT, Claude, Gemini and Grok; image prompts target Midjourney and Nano Banana. Each card lists the models it was tested with.

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.

Frequently asked questions

What are vibe code prompts?

Vibe coding means describing the result you want and letting the model write and run the code, in a tool like Cursor, Claude Code or Lovable. Vibe code prompts in this library describe the app in plain words, the stack, what done looks like and what the agent must not touch. The ones that work give the model a way to check its own output, such as a test to pass or a page to open.