AI tools, scored for your job
Get paid to train AI

💻 Tech & engineering

AI Prompts for Software

32 copy-paste AI prompts for software, pulled from 6 tested Zekai prompt guides. Free, no sign-up, and every one links back to the article that explains it. See the full software hub for the tools these prompts are built to run on.

  • 32prompts
  • 6source guides
  • 100%free · no sign-up

The 32 prompts

Copy any of these straight into ChatGPT, Claude or Gemini, then swap the bracketed placeholders for your own details.

32 copy-paste prompts
1The Multi-File Context-Aware Refactor
engineer specializing in large-scale refactoring. Your task is to refactor the
2The 'Explain-Then-Edit' Legacy Code Prompt
codebase. Before you make any changes to
3The Framework Migration Assistant
. Your task is to create a migration plan for the
4The API Endpoint Scaffolder
model Product { id String @id @default(cuid()) name String description String? price Float createdAt DateTime @default(now()) updatedAt DateTime @updatedAt }
5The Algorithm Explainer & Re-Implementer
. I need you to first explain it, and then re-implement it in a more efficient and readable way in
6The Skeptical Security Reviewer
[Paste code snippet, e.g., a function handling user input or a database query]
7The Dependency Auditor
file and identify potential risks. **File Content:**
8The EU AI Act Compliance Check (Source Code)
function. While the EU AI Act's Article 50 transparency obligations do not apply to source code itself, I want to adopt its principles for internal governance. **Code Snippet:**
9The 'Least Privilege' IAM Policy Generator
that needs to perform a specific task. **Task Description:** The Lambda function needs to read objects from the
10The Pull Request Description Writer
[[Paste the full git diff here]]
11The 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() );
12The SQL Query Optimizer
. Analyze the following slow query and the table schema, then provide an optimized version. **Table Schema:**
13The ORM-to-Raw-SQL Converter
[from myapp.models import Author, Book recent_prolific_authors = Author.objects.filter( book__publication_date__gte='2026-01-01' ).annotate( num_books=Count('book') ).filter( num_books__gt=5 ).order_by('-num_books')]
14The Test Case Generator
function calculateDiscount(price, quantity, userTier) { // ... function implementation ... }
15The Stack Trace Debugger
developer debugging a production error. I will provide a stack trace and the relevant code. Your job is to identify the most likely root cause. **Environment:**
16The Regex Generator and Explainer
2. **Explanation:** Break down the regex part by part in a table, explaining what each component does (e.g.,
17The MCP-Aware Database Migration Agent
(for interacting with the Prisma schema and CLI) *
18The Agentic E2E Test Runner
(for creating GitHub issues) **Scenario:** The "new user registration" feature has been deployed to the staging environment at
19The Code-to-Docs Agent
. 3. Analyze the function signature, the Zod validation schema, and the main logic. 4. Create a new file
20The System Design Interviewer
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.
21The 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.)*
22The Tech Stack Recommender
[[a real-time chat application for large online communities]]
23The 'Teach Me a Concept' Prompt
to me. **Instructions:** * Assume I am an experienced developer who has only ever worked with garbage-collected languages like
24The Git Command troubleshooter
[I accidentally committed a large binary file to my feature branch. I have made several other commits on top of it. I want to remove that file and its commit from my branch history before I create a pull request. I have not pushed the branch to the remote yet.]
25The Project Scaffolding Agent
/ ├── app/ │ ├── layout.tsx │ └── page.tsx ├── components/ │ └── ui/ ├── lib/ │ └── utils.ts ├── public/ ├── package.json ├── tsconfig.json ├── next.config.mjs └── tailwind.config.ts
26Sample Prompt for AI App Prototyping
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.
27Generate a Function Docstring
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]]
28React Component Refactor with Context
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.
29Postgres Query Optimization
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.
30Example: Generating a Database Function
# 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.
31Prompt 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.
32Unit Test Generation Prompt
import requests def get_user_profile(user_id): """ Fetches a user's profile from an external API and returns their name. """ if not isinstance(user_id, int) or user_id <= 0: raise ValueError("User ID must be a positive integer.") try: response = requests.get(f"https://api.example.com/users/{user_id}") response.raise_for_status() # Raises an HTTPError for bad responses data = response.json() return data.get("name") except requests.exceptions.RequestException as e: # Log the error, for example print(f"API request failed: {e}") return None

How to use these software prompts

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 32 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.

Get paid to train AI →

See Zekai first in Google