Skip to content
Agentic AI Builder's Guide

Search every lesson, prompt, glossary term and troubleshooting topic. Use ↑ ↓ to move and Enter to open.

Prompt Library

Complete, copyable prompts for planning, sprint generation, implementation, reviews, bug fixes, deployment and enhancements.

Full printable guide

Every prompt below is complete and ready to copy. Each one states which AI tool it is for, its purpose, when to use it and which placeholders to replace. Placeholders appear in square brackets, such as [REPOSITORY NAME].

How to use these prompts

Use the search box and filters to find a prompt by keyword, target tool (ChatGPT, Claude Code or Other — meaning any capable AI assistant) and development phase. Bookmark the prompts you use often; they appear under Bookmarked only and on your My Learning page. Placeholders are highlighted inside each prompt.

  1. Read the purpose and when-to-use notes.
  2. Copy the prompt with the Copy prompt button.
  3. Paste it into the intended tool — ChatGPT or Claude Code.
  4. Replace every bracketed placeholder with your details. Delete placeholders that do not apply.
  5. Never paste real secrets into a prompt. Use [REDACTED] instead.

Showing 13 of 13 prompts

Claude CodeSetup

GitHub Repository Initialization

Purpose
Initialize Git in the current project folder, create a private GitHub repository and push the first commit.
When to use
Once, right after creating and opening a new empty project directory in VS Code.
Replace these placeholders: [REPOSITORY NAME][SHORT PROJECT DESCRIPTION]
## Operating instructions
Use LOW GAS throughout this task.
Minimize token consumption, unnecessary analysis, repetitive audits, readiness checks and intermediate reports. Consolidate related implementation activities. Do not create additional planning phases or request approval for routine implementation decisions.
Run essential tests, type checking and production builds. Do not compromise security or functionality to reduce model usage.

## Task
Set up source control for this project.

1. Initialize the current directory as a Git repository with "main" as the default branch, if it is not already a repository.
2. Create an appropriate .gitignore for a [SHORT PROJECT DESCRIPTION] project. Always exclude .env files, secrets, dependency folders, build output and operating system files.
3. Create a minimal README.md containing the project name "[REPOSITORY NAME]" and a one-paragraph description.
4. Using the authenticated GitHub CLI (gh), create a PRIVATE GitHub repository named [REPOSITORY NAME] if it does not already exist, and set it as the "origin" remote.
5. Create the initial commit and push the main branch.

## Rules
- Do not overwrite an existing repository and never force-push.
- Never commit credentials, API keys or .env files.
- If GitHub CLI authentication is unavailable, stop and give me the exact commands to authenticate (gh auth login) and to finish the setup manually.

## Completion report
Report the repository URL, branch, commit hash and any manual actions required.
ChatGPTPlanning

Application Planning

Purpose
Turn a raw idea into a complete, implementation-ready application plan.
When to use
At the very start of a project, before any code is written. Reuse it whenever you start a new application.
Replace these placeholders: [APPLICATION IDEA][TARGET USERS][PROBLEM BEING SOLVED][MUST-HAVE FEATURES][CONSTRAINTS: budget, timeline, compliance, preferred technologies][HOSTING: Railway]
Act as an experienced product manager and software architect. Help me plan a web application that I will build with Claude Code (an AI coding agent) and deploy to [HOSTING: Railway] from a private GitHub repository.

## My idea
[APPLICATION IDEA]

## Target users
[TARGET USERS]

## Problem being solved
[PROBLEM BEING SOLVED]

## Must-have features
[MUST-HAVE FEATURES]

## Constraints
[CONSTRAINTS: budget, timeline, compliance, preferred technologies]

## Produce the following plan
1. Product summary and value proposition (one paragraph).
2. Business requirements as a numbered list.
3. Target user personas and their primary goals.
4. Core use cases written as "As a [user], I want to [action] so that [outcome]".
5. MVP scope: what is IN the first release and what is explicitly OUT.
6. Recommended technology stack with a short justification for each choice. Prefer mainstream, well-documented, stable technologies that an AI coding agent handles reliably. Avoid unnecessary services.
7. Application architecture: components, how they communicate and where they are hosted.
8. Data model: entities, key fields and relationships. State clearly if no database is needed.
9. Database recommendation (none, PostgreSQL, MongoDB, Redis) with reasoning.
10. User experience: main screens, navigation and key user flows.
11. Security requirements: authentication, authorization, input validation, secret management and data protection.
12. Environment variables the application will need (names and purpose only, never real values).
13. Testing approach: what must be covered by automated tests and what must be validated manually.
14. Measurable acceptance criteria for the MVP.
15. Risks, assumptions and open questions I need to decide.
16. Things to deliberately avoid so we do not overengineer the MVP.

Ask me up to five clarifying questions first if anything critical is ambiguous. Otherwise, produce the plan directly. Keep it concise, specific and practical.
ChatGPTPlanning

Sprint Planning and Claude Code Prompt Generation

Purpose
Convert an approved plan into a small number of consolidated, implementation-ready Claude Code sprint prompts.
When to use
After you have reviewed and approved the application plan, in the same ChatGPT conversation.
Replace these placeholders: [NUMBER OF SPRINTS, e.g. 2 to 4][REPOSITORY NAME]
Using the approved application plan above, generate implementation-ready prompts for Claude Code, an AI coding agent that works directly in my local project directory.

## Requirements for the sprint plan
- Organize all work into [NUMBER OF SPRINTS, e.g. 2 to 4] logical development sprints. Minimize the number of prompts.
- Consolidate related activities into the same sprint. Do not create separate prompts for small tasks.
- Avoid repetitive readiness checks, audits, verification-only prompts and intermediate reports.
- Sprint 1 must produce a working, runnable foundation that can be committed and pushed.
- Each sprint must leave the application in a working, testable state.

## Requirements for EVERY Claude Code prompt
1. Begin with this exact "Operating instructions" section:
   "Use LOW GAS throughout this task. Minimize token consumption, unnecessary analysis, repetitive audits, readiness checks and intermediate reports. Consolidate related implementation activities. Do not create additional planning phases or request approval for routine implementation decisions. Run essential tests, type checking and production builds. Do not compromise security or functionality to reduce model usage."
2. State the sprint goal and the full scope in specific, testable terms.
3. Specify the technology stack and any constraints from the plan.
4. List acceptance criteria for the sprint.
5. Require relevant automated tests, type checking and a production build.
6. Require that secrets are never committed and that environment variables are documented in a .env.example file without real values.
7. Require committing and pushing validated changes to the private GitHub repository [REPOSITORY NAME] on the main branch, without force-pushing.
8. End with a request for a concise completion report covering: features implemented, files changed, test, typecheck and build results, how to run the app locally, commit hash, known defects or limitations, manual actions required and remaining work.
9. Include "Do not proceed to the next sprint until instructed."

Output each sprint prompt in its own code block so I can copy it directly into Claude Code. Before the prompts, give a one-line summary of each sprint.
Claude CodeDevelopment

Claude Code Implementation

Purpose
A general-purpose template for a consolidated implementation sprint when you write the prompt yourself.
When to use
When you need a sprint prompt and are not generating it in ChatGPT, or to check that a generated prompt is complete.
Replace these placeholders: [SPRINT NUMBER][SPRINT GOAL][FEATURES IN SCOPE][TECHNOLOGY STACK][ACCEPTANCE CRITERIA][REPOSITORY NAME]
# Sprint [SPRINT NUMBER] — [SPRINT GOAL]

## Operating instructions
Use LOW GAS throughout this task.
Minimize token consumption, unnecessary analysis, repetitive audits, readiness checks and intermediate reports. Consolidate related implementation activities. Do not create additional planning phases or request approval for routine implementation decisions.
Run essential tests, type checking and production builds. Do not compromise security or functionality to reduce model usage.

## Context
Read CLAUDE.md and README.md for project context before starting.

## Technology stack
[TECHNOLOGY STACK]

## Scope
Implement the following completely:
[FEATURES IN SCOPE]

## Requirements
- Follow existing project structure and conventions.
- Validate all user input on the server.
- Never hard-code or commit secrets. Add any new environment variables to .env.example with placeholder values and document them in README.md.
- Add or update automated tests for the core logic you change.
- Keep CLAUDE.md and README.md accurate if architecture or commands change.

## Acceptance criteria
[ACCEPTANCE CRITERIA]

## Validation
Run the test suite, type checking and the production build. Fix failures before finishing.

## Completion
Commit validated changes with a descriptive message and push to the main branch of [REPOSITORY NAME]. Do not force-push.

Provide a concise completion report:
1. Features implemented
2. Files created or changed
3. Test, typecheck and build results
4. How to run the application locally
5. Commit hash
6. Known defects or limitations
7. Manual actions required
8. Remaining work

Do not proceed to the next sprint until instructed.
ChatGPTQuality

Completion Report Review

Purpose
Have ChatGPT check a Claude Code completion report against the plan and produce the next or corrective prompt.
When to use
Every time Claude Code finishes a sprint or fix. Paste the full completion report.
Replace these placeholders: [SPRINT NUMBER][PASTE COMPLETION REPORT][MY OWN TEST OBSERVATIONS]
Claude Code has completed Sprint [SPRINT NUMBER]. Review its completion report below against the approved plan and the Sprint [SPRINT NUMBER] prompt in this conversation.

## Completion report
[PASTE COMPLETION REPORT]

## My own local testing observations
[MY OWN TEST OBSERVATIONS]

## Please provide
1. A short verdict: complete, complete with minor gaps, or incomplete.
2. Material gaps between the requirements and the report. Ignore cosmetic issues unless they affect usability.
3. Risks or claims in the report that I should verify manually, and exactly how to verify them.
4. Any security concerns, especially around secrets, authentication and input validation.
5. The next prompt for Claude Code:
   - If material gaps exist, one consolidated corrective prompt that fixes all of them.
   - Otherwise, the next sprint prompt.

The prompt must start with the LOW GAS operating instructions, require tests, type checking and a production build, require committing and pushing without force-pushing, and end with a request for a concise completion report. Put the prompt in a single code block.
Claude CodeQuality

Bug Fixing

Purpose
Give Claude Code a precise, evidence-based defect report so it fixes the root cause instead of guessing.
When to use
When you find a defect during local testing or in production logs.
Replace these placeholders: [SHORT DEFECT TITLE][STEPS TO REPRODUCE][EXPECTED RESULT][ACTUAL RESULT][ERROR MESSAGES OR LOG EXCERPTS][ENVIRONMENT: local or production, browser, device]
# Defect fix — [SHORT DEFECT TITLE]

## Operating instructions
Use LOW GAS throughout this task.
Minimize token consumption, unnecessary analysis, repetitive audits, readiness checks and intermediate reports. Consolidate related implementation activities. Do not create additional planning phases or request approval for routine implementation decisions.
Run essential tests, type checking and production builds. Do not compromise security or functionality to reduce model usage.

## Steps to reproduce
[STEPS TO REPRODUCE]

## Expected result
[EXPECTED RESULT]

## Actual result
[ACTUAL RESULT]

## Error messages or log excerpts
```
[ERROR MESSAGES OR LOG EXCERPTS]
```

## Environment
[ENVIRONMENT: local or production, browser, device]

## Instructions
1. Identify the root cause. Do not mask the symptom (for example, do not silence errors or remove validation).
2. Implement the smallest correct fix.
3. Add a regression test that fails before the fix and passes after it, where practical.
4. Check for the same defect pattern elsewhere in the codebase and fix it if present.
5. Run tests, type checking and the production build.
6. Commit and push to main without force-pushing.

## Completion report
Root cause, fix summary, files changed, test results, commit hash and anything I must verify manually.
Claude CodeDevelopment

User Interface Improvements

Purpose
Improve the look, usability and accessibility of existing screens without changing behavior.
When to use
After core functionality works and you have specific visual or usability feedback, ideally with screenshots.
Replace these placeholders: [SCREENS OR PAGES][SPECIFIC PROBLEMS OBSERVED][DESIRED LOOK AND FEEL][ATTACH OR DESCRIBE SCREENSHOTS]
# User interface improvements

## Operating instructions
Use LOW GAS throughout this task.
Minimize token consumption, unnecessary analysis, repetitive audits, readiness checks and intermediate reports. Consolidate related implementation activities. Do not create additional planning phases or request approval for routine implementation decisions.
Run essential tests, type checking and production builds. Do not compromise security or functionality to reduce model usage.

## Screens in scope
[SCREENS OR PAGES]

## Problems observed
[SPECIFIC PROBLEMS OBSERVED]

## Screenshots
[ATTACH OR DESCRIBE SCREENSHOTS]

## Desired look and feel
[DESIRED LOOK AND FEEL]

## Requirements
- Do not change business logic, data handling or API behavior.
- Keep the layout responsive on mobile (375px wide), tablet and desktop.
- Maintain consistent spacing, typography and colors using the existing design system or styling approach.
- Meet basic accessibility: sufficient color contrast, visible focus states, labelled form fields and keyboard navigation.
- Support both light and dark themes if the application has them.
- Avoid excessive animation and decorative clutter.

## Validation
Run tests, type checking and the production build. Commit and push to main without force-pushing.

## Completion report
Summarize visual changes per screen, files changed, results, commit hash and anything I should review visually.
ChatGPTDeployment

Railway Deployment Configuration

Purpose
Determine exactly how to configure Railway for your application before the first deployment.
When to use
When the application runs locally and is pushed to GitHub, before creating the Railway project.
Replace these placeholders: [PASTE README.md AND package.json OR EQUIVALENT][DATABASE: none, PostgreSQL, MongoDB, Redis][PASTE .env.example][CUSTOM DOMAIN, if any]
I am deploying my application to Railway from a private GitHub repository. Help me configure it correctly.

## Project details
[PASTE README.md AND package.json OR EQUIVALENT]

## Database
[DATABASE: none, PostgreSQL, MongoDB, Redis]

## Environment variables required (.env.example — names and placeholders only)
[PASTE .env.example]

## Custom domain
[CUSTOM DOMAIN, if any]

## Please provide
1. The Railway services I need and how to create them, step by step.
2. Every environment variable to set on the application service, including which ones should use Railway reference variables (for example a database URL referencing the database service) and which ones I must generate myself. Explain how to generate secure secret values. Never invent real secret values.
3. The build command and start command, and whether Railway can detect them automatically.
4. How the application must listen on the PORT variable that Railway provides.
5. Database migration procedure and where to run it (for example a pre-deploy command).
6. Whether private networking should be used between services.
7. A health check path, if appropriate.
8. Any changes the source code needs before deployment. If changes are needed, write a single consolidated Claude Code prompt that starts with LOW GAS operating instructions, requires tests and a production build, and requires committing and pushing without force-pushing.
9. A post-deployment validation checklist.

Note that Railway's interface may differ from your training data. Tell me what to look for rather than claiming exact button positions.
ChatGPTDeployment

Railway Deployment Troubleshooting

Purpose
Diagnose a failed or unhealthy Railway deployment from its logs and get a targeted fix.
When to use
When a Railway build fails, the deployment crashes, the health check fails or the application returns errors.
Replace these placeholders: [BUILD OR RUNTIME][PASTE RELEVANT LOG LINES][VARIABLE NAMES SET, NOT VALUES][WHAT CHANGED SINCE THE LAST SUCCESSFUL DEPLOYMENT]
My Railway deployment is failing. Help me find the root cause.

## Failure type
[BUILD OR RUNTIME] failure

## Relevant log lines (secrets removed)
```
[PASTE RELEVANT LOG LINES]
```

## Environment variable names configured on the service (values omitted)
[VARIABLE NAMES SET, NOT VALUES]

## What changed since the last successful deployment
[WHAT CHANGED SINCE THE LAST SUCCESSFUL DEPLOYMENT]

## Please provide
1. The most likely root cause and how confident you are.
2. How to confirm it using Railway logs, variables or settings.
3. Whether the fix is a Railway configuration change or a source code change.
4. For configuration changes: exact steps and values to check, without inventing secrets.
5. For source code changes: one consolidated Claude Code corrective prompt that starts with LOW GAS operating instructions, includes the error evidence, requires a regression test where practical, requires tests and a production build, and requires committing and pushing without force-pushing.
6. How to verify the fix after redeployment.
Claude CodeQuality

Production Readiness Validation

Purpose
Have Claude Code perform a focused, one-time pre-launch review and fix material issues.
When to use
Once, before announcing a public launch or connecting a custom domain for real users.
Replace these placeholders: [PRODUCTION URL][AUTHENTICATION PROVIDER, if any][KNOWN CONCERNS]
# Production readiness validation

## Operating instructions
Use LOW GAS throughout this task.
Minimize token consumption, unnecessary analysis, repetitive audits, readiness checks and intermediate reports. Consolidate related implementation activities. Do not create additional planning phases or request approval for routine implementation decisions.
Run essential tests, type checking and production builds. Do not compromise security or functionality to reduce model usage.
Perform this review once. Do not repeat audits.

## Context
The application is deployed at [PRODUCTION URL]. Authentication: [AUTHENTICATION PROVIDER, if any]. Known concerns: [KNOWN CONCERNS].

## Review and fix material issues in these areas
1. Secrets: no credentials in source code, git history of tracked files, logs or client bundles. .env files are git-ignored. .env.example contains placeholders only.
2. Authentication and authorization: protected routes and APIs reject unauthenticated or unauthorized requests. Callback URLs are configured for the production domain.
3. Input validation and error handling: server-side validation, no stack traces or internal errors shown to users, consistent error pages.
4. Configuration: the app listens on the PORT environment variable, production settings are used, a health check endpoint exists where appropriate.
5. Database: migrations are repeatable, connection uses environment variables, failures are handled gracefully.
6. Dependencies: no known critical vulnerabilities in direct dependencies (run the package manager audit and fix only what is safe).
7. Basic security headers and HTTPS-only assumptions where applicable.
8. Mobile usability of the core workflows.

## Rules
Fix material issues directly. List anything that requires a human decision or manual action instead of guessing. Run tests, type checking and the production build. Commit and push to main without force-pushing.

## Completion report
Findings grouped as fixed, requires manual action, and accepted risk. Include results and commit hash.
Claude CodeSetup

Create Persistent CLAUDE.md Instructions

Purpose
Create or refresh CLAUDE.md so every future Claude Code session starts with accurate project context and rules.
When to use
After Sprint 1, and again whenever the architecture, commands or conventions change significantly.
Replace these placeholders: [PROJECT-SPECIFIC RULES][DEPLOYMENT TARGET: Railway]
# Create persistent project instructions

## Operating instructions
Use LOW GAS throughout this task.
Minimize token consumption, unnecessary analysis, repetitive audits, readiness checks and intermediate reports. Consolidate related implementation activities. Do not create additional planning phases or request approval for routine implementation decisions.
Run essential tests, type checking and production builds. Do not compromise security or functionality to reduce model usage.

## Task
Create or update CLAUDE.md in the repository root so future Claude Code sessions have accurate, concise project context. Base it on the actual code, not assumptions.

Include:
1. Project purpose in two or three sentences.
2. Technology stack and key dependencies.
3. Directory structure and where main concerns live.
4. Commands: install, develop, test, typecheck, lint, build and start.
5. Coding conventions observed in the codebase.
6. Environment variables (names and purpose only, never values) and that .env files must never be committed.
7. Deployment target: [DEPLOYMENT TARGET: Railway], including build and start commands and migration steps.
8. Standing rules:
   - Use LOW GAS: minimize unnecessary analysis, repetitive audits and intermediate reports.
   - Run tests, type checking and the production build before committing.
   - Never force-push. Never commit secrets.
   - Ask before destructive operations such as deleting data, dropping tables or rewriting git history.
   - Keep README.md and CLAUDE.md accurate when architecture changes.
9. Project-specific rules: [PROJECT-SPECIFIC RULES]

Keep CLAUDE.md under roughly 150 lines. Commit and push without force-pushing, then report the commit hash.
Claude CodeMaintenance

Application Enhancement

Purpose
Add a new feature to a live application safely, on a feature branch, without breaking existing behavior.
When to use
After launch, whenever you add or change functionality. Plan the enhancement with ChatGPT first for anything non-trivial.
Replace these placeholders: [ENHANCEMENT NAME][FEATURE DESCRIPTION AND USER STORY][ACCEPTANCE CRITERIA][DATA OR SCHEMA CHANGES][feature/short-name]
# Enhancement — [ENHANCEMENT NAME]

## Operating instructions
Use LOW GAS throughout this task.
Minimize token consumption, unnecessary analysis, repetitive audits, readiness checks and intermediate reports. Consolidate related implementation activities. Do not create additional planning phases or request approval for routine implementation decisions.
Run essential tests, type checking and production builds. Do not compromise security or functionality to reduce model usage.

## Context
This application is live in production. Read CLAUDE.md and README.md first. Existing functionality must keep working.

## Feature
[FEATURE DESCRIPTION AND USER STORY]

## Acceptance criteria
[ACCEPTANCE CRITERIA]

## Data or schema changes
[DATA OR SCHEMA CHANGES]

## Requirements
- Work on a new branch named [feature/short-name] created from main.
- Database changes must use backward-compatible migrations that do not delete existing data. Describe any migration that cannot be reversed.
- Add tests for the new behavior and keep existing tests passing.
- Add any new environment variables to .env.example with placeholder values and document them.
- Update README.md and CLAUDE.md if commands or architecture change.

## Validation
Run tests, type checking and the production build. Commit and push the feature branch. Do not merge into main and do not force-push.

## Completion report
Features implemented, files changed, migration details, results, branch name, commit hash, manual testing steps and deployment considerations.
Any AI assistantDevelopment

Plain-Language Explanation

Purpose
Understand an unfamiliar concept, error message, command or completion report before you approve or act on it.
When to use
Any time you do not fully understand something an agent produced or asked you to approve. Works in any capable AI assistant.
Replace these placeholders: [CONCEPT, ERROR, COMMAND OR TEXT][MY EXPERIENCE LEVEL][WHAT I AM TRYING TO DO]
Explain the following in plain language. My experience level is [MY EXPERIENCE LEVEL].

## What I need explained
```
[CONCEPT, ERROR, COMMAND OR TEXT]
```

## Context
I am trying to: [WHAT I AM TRYING TO DO]

## Please provide
1. A short, jargon-free explanation (define any technical term you must use).
2. Why it matters for what I am trying to do.
3. Whether it is safe, risky or destructive, and why. Flag anything that could delete data, expose secrets or change production systems.
4. What I should check or verify before proceeding.
5. One or two questions I should ask the agent that produced it, if anything is unclear.

Do not invent details you cannot see. If the text is ambiguous, say what additional information you need. I have removed any secrets from the text above.