Copy any of these straight into ChatGPT, Claude or Gemini, then swap the bracketed placeholders for your own details.
19 copy-paste prompts
Prompt builder
Pick a prompt, fill in your details, add your own material, then open it in ChatGPT, Claude or Gemini. Your text stays in your browser.
1The SQL Query Generator with Schema Context
CREATE TABLE users ( id SERIAL PRIMARY KEY, name VARCHAR(100), email VARCHAR(100) UNIQUE, created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW() ); CREATE TABLE orders ( id SERIAL PRIMARY KEY, user_id INTEGER REFERENCES users(id), amount DECIMAL(10, 2), created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW() );
Design a system like [[Twitter's timeline service]]." Your Role: 1. Start by asking me clarifying questions to scope the problem (e.g., "What are the key features?" "What is the expected scale?"). 2. As I propose components (e.g., load balancers, databases, caches), challenge my decisions. Ask about trade-offs, failure modes, and scalability bottlenecks. 3. Force me to do back-of-the-envelope calculations for storage, bandwidth, and QPS. 4. Do not give me the answers. Guide me toward a robust design by asking critical questions. 5. Conclude the interview by giving me feedback on my design, highlighting 3 strengths and 3 areas for improvement.
5The Architectural Decision Record (ADR) Generator
# ADR-001: Adopt ScyllaDB as the Primary Database Date: [[September 3, 2026]] Status: Accepted Context: *(Describe the business/technical problem we are trying to solve.)* Decision: *(State the decision clearly.)* Consequences: • Positive: • *(List the expected benefits, e.g., improved write throughput, lower read latency, horizontal scalability.)* • Negative: • *(List the downsides and risks, e.g., loss of ACID transactions, need for new developer skills, migration complexity.)* Options Considered: 1. ScyllaDB: *(Briefly describe why this was chosen.)* 2. PostgreSQL with CitusDB: *(Briefly describe why this was not chosen.)* 3. CockroachDB: *(Briefly describe why this was not chosen.)*
Acts as a senior software developer. Generate a clean, modular boilerplate for [[FEATURE NAME]] in [[PROGRAMMING LANGUAGE]] using [[FRAMEWORK]]. Include error handling, type definitions, and standard unit test stubs following clean architecture principles. Ensure code comments explain non-trivial decisions without adding unnecessary noise.
Generate a functional prototype for a mobile app called 'PlantPal'. It's for new plant owners. Key Screens: • Onboarding: A simple 3-step intro to the app's features. • Login/Sign-up: Email and password authentication. • My Plants: A dashboard showing a grid of plants the user has added. Each card should show a photo, the plant's name, and a 'Water Now' button. • Add Plant: A form to add a new plant with fields for name, species (dropdown), and a photo upload. • Plant Details: A view showing more information about a specific plant, including a watering schedule and care tips. The database should have a 'Users' table and a 'Plants' table, with a relationship between them.
Analyze the following TypeScript function. Write a complete TSDoc comment for it. Explain what the function does, describe each parameter (including its type and purpose), and describe the return value. [[Paste your code here]]
I need to refactor a React component located at src/components/OldProfile.tsx. Goal: Create a new component src/components/ProfileHeader.tsx by extracting the header logic from OldProfile.tsx. Context: • The new ProfileHeader should accept user object as a prop. The user type is defined in src/types/user.ts. • It needs to display the user's avatar, full name, and username. • It must use our existing UI components: <Avatar>, <Heading>, and <Text> from src/components/ui/. • Styling must use Tailwind CSS classes only. Task: 1. Create the new file src/components/ProfileHeader.tsx. 2. Implement the component according to the context above. 3. Remove the corresponding code from OldProfile.tsx. 4. Import and use the new ProfileHeader component within OldProfile.tsx, passing the correct props.
I have a slow PostgreSQL query. Here is the query and the EXPLAIN ANALYZE output. Query: [[Paste your slow SQL query here]] EXPLAIN ANALYZE Output: [[Paste the full EXPLAIN ANALYZE output here]] Schema: • users table: (id, name, email, created_at) • orders table: (id, user_id, amount, created_at) • The user_id column in orders is a foreign key to users.id. Task: 1. Identify the bottleneck in the query plan. 2. Suggest one or more optimized versions of the query. 3. For each suggestion, explain *why* it is more performant. 4. Recommend any database indexes that would improve the performance of the original query. Provide the exact SQL CREATE INDEX statement.
# Python, using SQLAlchemy and FastAPI # Database model (models.py): # class Item(Base): # __tablename__ = "items" # id = Column(Integer, primary_key=True, index=True) # name = Column(String, index=True) # description = Column(String) # Pydantic schema (schemas.py): # class Item(BaseModel): # id: int # name: str # description: str | None = None # # class Config: # orm_mode = True # Prompt: # Write a SQLAlchemy function get_item_by_id that takes a database session and an item_id. # It should query the Item model and return the first result. # If no item is found, it should return None.
13Prompt for GitHub Copilot: Create a Terraform HCL for an S3 Bucket
Write a Terraform configuration (HCL) to create a private S3 bucket. The bucket should have versioning enabled, server-side encryption using AWS KMS, and block all public access. Include a bucket policy that only allows access from a specific IAM role ARN.
Write comprehensive unit tests for the following [[LANGUAGE]] function: [[INSERT FUNCTION OR PASTE CODE]]. Cover typical edge cases, null input handling, and boundary conditions using the [[TESTING FRAMEWORK]] framework. Ensure mock dependencies are cleanly specified.
Act as an expert software architect. Analyze the following function in [[LANGUAGE]]: [[PASTE CODE]]. Refactor this code to improve readability, reduce time complexity, and adhere to [[STYLE GUIDE OR DESIGN PATTERN]]. Explain the performance gains and list any potential edge cases that require manual unit test coverage.
Act as a financial analyst evaluating software engineering infrastructure. Calculate the total cost of ownership over [[NUMBER OF YEARS]] years for a team of [[NUMBER OF DEVELOPERS]] engineers. Compare paying for cloud subscriptions at [[CLOUD MONTHLY RATE PER USER]] per user against purchasing local GPU hardware at [[HARDWARE COST PER WORKSTATION]] per machine, accounting for electricity, maintenance overhead, and developer setup time.
17Generate an n8n custom JavaScript node script for agent payload routing
Act as a senior software developer writing a custom code node for n8n. Create a JavaScript script that takes an incoming agent response payload containing [[JSON_PAYLOAD]], validates that the output matches the schema keys [[REQUIRED_KEYS]], and routes the payload to [[SUCCESS_BRANCH]] if valid or [[ERROR_BRANCH]] if schema validation fails. Include structural error handling and logging.
18Map codebase dependencies for multi-file refactoring
Evaluate our codebase repository at [[REPOSITORY_LINK]] to map multi-step development dependencies. Identify module boundaries, construct an execution plan for refactoring [[TARGET_MODULE]], and highlight potential circular dependencies or regression risks. Return a structured breakdown detailing step-by-step agent execution parameters and required safety checks prior to code generation.
Act as an AI workflow architect. Draft a step-by-step visual logic map for an AI app builder that ingests incoming customer support emails, categorizes urgency using [[LANGUAGE MODEL PROVIDER]], extracts metadata including [[CUSTOMER ID]] and [[ISSUE TYPE]], routes critical tickets to an external API endpoint, and logs non-critical entries into [[DATABASE SYSTEM]]. Include fallback error paths for unparseable payloads.
Four steps, about a minute. The prompt supplies the structure; you supply the specifics.
1
Pick the prompt
Every prompt here was written for a specific job — not a generic “act as an expert” template. Scan the titles and take the one that matches the task in front of you.
2
Copy and paste it
Hit Copy, then paste the whole thing into ChatGPT, Claude, Gemini or whichever assistant you already pay for. Nothing here is tied to one model.
3
Fill the brackets
Replace every [Bracketed Placeholder] with your own details before you send. That is where the quality comes from — the prompt supplies the structure, you supply the specifics.
4
Check the source guide
The “From” link under each prompt opens the full article: why the prompt is built that way, what it was tested against, and the tools it pairs with.
Frequently asked
The questions people ask before they paste one of these into a real piece of work.
Are these AI prompts free to use?
Yes. All 19 prompts on this page are free to copy and use with any AI assistant, including ChatGPT, Claude and Gemini. You only need an account with one of those tools to run them.
How do I use these AI prompts for software?
Copy the full prompt text with the Copy button, paste it into your AI assistant of choice, and replace any bracketed placeholder — like [Your City] or [Company Name] — with your own details before you send it.
Where do these prompts come from?
Each prompt is pulled from one of Zekai’s tested prompt guides. The “From” link under every prompt goes to the full article, which explains the reasoning behind the prompt and how it was tested.
Can I edit these prompts?
Please do. Treat each one as a starting structure: tighten the instructions, add your own constraints, and keep the version that gives you the best output. The bracketed placeholders mark the parts that always need changing.
Prompt libraries for other professions
Same format, different job — starting with the ones closest to software.