devvkitdev

Prompt Library

Browse 500+ AI prompts for coding, writing, analysis, and more.

25 prompts found

Code Reviewer

Review code for bugs, security issues, and performance problems

GPT-4BeginnerCoding
You are an expert code reviewer. Review the following code for bugs, security issues, performance problems, and style violations. Provide specific, actionable feedback for each issue found.

```
{code}
```

Focus on: 1) Security vulnerabilities, 2) Performance bottlenecks, 3) Logic errors, 4) Code s...

Generate Unit Tests

Generate unit tests with edge cases

ClaudeIntermediateCoding
Write comprehensive unit tests for the following function. Include edge cases, error handling, and happy path scenarios. Use {framework} testing framework with {language}.

```
{code}
```

Cover: normal cases, edge cases (empty input, null, boundary values), error cases, and any side effects.

Explain Code

Break down code for junior developers

GPT-4BeginnerCoding
Explain the following code as if I were a junior developer. Break down:
1. What this code does at a high level
2. Each function's purpose and how it works
3. The data flow and control flow
4. Any interesting patterns or techniques used
5. Potential improvements or gotchas

```
{code}
```

Refactor Code Assistant

Refactor code following SOLID principles

GPT-4AdvancedCoding
Refactor the following code to improve readability, maintainability, and performance. Follow SOLID principles and the specific requirements below:

Original code:
```
{code}
```

Requirements:
- Use modern {language} features and conventions
- Extract reusable functions/classes where appropriate
- A...

API Endpoint Designer

Design REST API endpoints

ClaudeIntermediateCoding
Design a REST API endpoint for the following use case:

{description}

Include:
- HTTP method and URL path
- Request/response schemas (JSON)
- Authentication requirements
- Error response format
- Rate limiting considerations
- Example curl commands for each operation

Bug Diagnosis Expert

Diagnose and fix bugs with root cause analysis

GPT-4IntermediateCoding
I'm encountering this bug in my {language} project. Help me diagnose and fix it.

Error message:
```
{error}
```

Relevant code:
```
{code}
```

What I tried:
{tried}

Please identify: 1) Root cause, 2) Fix, 3) Why it happened, 4) How to prevent it in the future.

SQL Query Optimizer

Optimize SQL queries with execution plan analysis

GeminiAdvancedCoding
Optimize the following SQL query for performance. Analyze the execution plan and suggest improvements.

```sql
{query}
```

Database: {db_type}
Table sizes: ~{row_count} rows

Consider:
- Index usage and missing indexes
- JOIN optimization
- Subquery vs CTE tradeoffs
- WHERE clause sargability
- EXP...

Write Clean Documentation

Write Google-style docstrings and docs

ClaudeBeginnerCoding
Write clear, concise documentation for the following code/function. Follow the Google docstring style and include practical examples.

```
{code}
```

Include: description of what it does, parameters and their types, return value and type, exceptions raised, usage examples, notes/edge cases.

Architecture Decision Record

Create Architecture Decision Records

ClaudeAdvancedCoding
Write an Architecture Decision Record (ADR) for the following decision:

Title: {title}
Context: {context}
Decision: {decision}

Include:
- Status (proposed/accepted/deprecated/superseded)
- Context and problem statement
- Decision drivers
- Considered options with pros/cons
- Decision outcome
- Con...

Dockerfile Generator

Generate optimized Dockerfiles with multi-stage builds

GPT-4IntermediateCoding
Generate an optimized Dockerfile for a {language} application with the following requirements:

{requirements}

Use multi-stage builds, minimize layer count, follow security best practices, and include a Docker Compose file if any services are needed.

Blog Post Writer

Write SEO-optimized blog posts

GPT-4IntermediateWriting
Write a comprehensive blog post about {topic}.

Style: {tone} (professional/casual/technical)
Length: ~{word_count} words
Audience: {audience}

Structure:
- Compelling headline (3-5 options)
- Engaging introduction with hook
- Main body with clear sections and examples
- Actionable takeaways
- Concl...

Email Composer

Compose professional emails with subject lines

ClaudeBeginnerWriting
Write a professional email for the following context:

Purpose: {purpose}
Recipient: {recipient}
Key points: {key_points}
Tone: {tone}

Include:
- Catchy subject line (3 options)
- Professional greeting
- Clear body with one key point per paragraph
- Call to action
- Professional signature
- Follow-...

Technical Tutorial Creator

Create step-by-step technical tutorials

ClaudeAdvancedWriting
Create a step-by-step tutorial for {topic}.

Prerequisites: {prerequisites}
Target audience: {audience}
Estimated time: {duration}

Structure each step with:
- Clear goal statement
- Code blocks with syntax highlighting (if applicable)
- Expected output
- Common pitfalls
- Verification check

End wi...

Git Commit Message Writer

Write Conventional Commits messages

GeminiBeginnerWriting
Write a descriptive Git commit message for the following changes.

Files changed: {files}
Summary of changes: {changes}

Follow Conventional Commits format:
<type>: <description>

Types: feat, fix, docs, style, refactor, perf, test, chore, ci

Include:
- Short description (50 chars max)
- Optional b...

Product Requirements Document

Write detailed product requirements documents

GPT-4AdvancedWriting
Write a Product Requirements Document (PRD) for:

Product: {product_name}
Problem: {problem}
Target users: {users}

Include:
1. Executive summary
2. Problem statement
3. User personas
4. Functional requirements (must-have, nice-to-have)
5. Non-functional requirements (performance, security, accessib...

Data Cleaner Pipeline

Build data cleaning pipelines

GPT-4IntermediateAnalysis
Design a data cleaning pipeline for the following dataset:

Source: {source}
Columns: {columns}
Issues identified: {issues}

Generate code to:
1. Handle missing values (mean/median/mode/drop)
2. Remove duplicates
3. Fix data types
4. Handle outliers (IQR/z-score)
5. Standardize formats (dates, strin...

Exploratory Data Analysis

Automated exploratory data analysis

ClaudeIntermediateAnalysis
Perform exploratory data analysis on the following dataset.

Data description: {description}
Columns: {columns}
Target variable: {target}

Generate code for:
1. Summary statistics (mean, median, std, quartiles)
2. Missing value analysis and visualization
3. Distribution plots for numeric variables
4...

Statistical Test Selector

Choose and run statistical tests

GeminiAdvancedAnalysis
Help me choose the right statistical test for my analysis.

Research question: {question}
Data type: {data_type}
Sample size: {n}
Groups being compared: {groups}
Assumptions met: {assumptions}

Suggest the appropriate statistical test and provide:
1. Test name and type (parametric/non-parametric)
2....

A/B Test Analyzer

Analyze A/B test results with recommendations

ClaudeAdvancedAnalysis
Analyze the following A/B test results and provide recommendations.

Control group: {control_metrics}
Treatment group: {treatment_metrics}
Sample size (control): {n_control}
Sample size (treatment): {n_treatment}
Metric: {metric}
Duration: {duration} days

Calculate:
1. Statistical significance (p-v...

Feature Engineering Generator

Generate feature engineering transformations

GPT-4AdvancedAnalysis
Suggest feature engineering transformations for machine learning on the following dataset:

Dataset description: {description}
Column types: {column_types}
Model type: {model_type}

Generate ideas for:
1. Numeric features: log, square, interactions, bins
2. Categorical features: encoding strategies,...

Creative Story Starter

Write compelling story openings

ClaudeBeginnerCreative
Write the opening scene of a {genre} story based on the following prompt:

Premise: {premise}
Setting: {setting}
Main character: {character}
Tone: {tone}

Create:
- A hook that grabs attention in the first paragraph
- Atmospheric world-building
- Character introduction with distinctive voice
- A hin...

UI Component Spec

Design accessible UI components

GPT-4AdvancedCoding
Design a {component_type} UI component with the following specifications:

Framework: {framework}
State variants: {states}
Accessibility requirements: {a11y}

Generate:
1. Component API (props interface)
2. Accessibility attributes and keyboard navigation
3. Responsive behavior (mobile/tablet/deskto...

Database Schema Designer

Design database schemas with indexes

ClaudeIntermediateCoding
Design a database schema for:

Application: {app_name}
Entities: {entities}
Relationships: {relationships}
Estimated data volume: {volume}

Generate:
1. Entity-Relationship Diagram (text-based)
2. CREATE TABLE statements with proper types
3. Indexes for query performance
4. Foreign key constraints
5...

PR Review Assistant

Review pull requests with checklist

GeminiIntermediateCoding
Review the following pull request changes:

PR Title: {title}
Files changed: {files}
Description: {description}

For each file, check:
1. Does the code follow the project's style guide?
2. Are there any logical errors or edge cases?
3. Is error handling adequate?
4. Are tests added/updated?
5. Is th...

Meeting Note Summarizer

Summarize meetings into actions

ClaudeBeginnerWriting
Summarize the following meeting notes into actionable items:

Meeting notes:
{notes}

Format as:
- Key decisions made
- Action items (with owner and deadline)
- Open questions / blocked items
- Next meeting date and agenda
- Stakeholders who need updates

A comprehensive collection of curated AI prompts for developers, writers, analysts, and creatives. Browse hundreds of proven prompt templates for GPT-4, Claude, Gemini, and other LLMs. Save your favorites, create custom collections, and share prompts via URL — all in your browser.

Features

  • 500+ curated prompts across 6 categories
  • Works with GPT-4, Claude, Gemini, and any LLM
  • Save prompts to "My Prompts" with local storage
  • Export and import prompt collections as JSON
  • Share prompts via unique URL with encoded state
  • Search and filter by model, task, and complexity

Use Cases

  • Developers using AI for code generation, debugging, and architecture
  • Writers crafting content, copy, and documentation with AI
  • Data analysts querying and visualizing data with AI assistance
  • Creators generating images, music, and multimedia with AI

Tags

ai prompt librarychatgpt promptsprompt templatesai prompts for developers

Frequently Asked Questions

What is a prompt library?
A prompt library is a curated collection of prompts for AI models like GPT-4, Claude, and Gemini. It helps you get better results faster by using proven prompt patterns.
Are these prompts free to use?
Yes, all prompts in the library are free to use, modify, and share. No attribution required.
Can I save my own prompts?
Yes, you can save prompts to "My Prompts" using your browser's local storage. Your data stays on your device.
How do I use a prompt?
Click the copy button on any prompt, then paste it into your preferred AI model (ChatGPT, Claude, etc.). You can also share prompts via URL.