A list of useful prompts for Software Development purposes.
Cheatsheet
Code Generation Prompts
Debugging and Error Resolution
Code Review and Best Practices
Documentation and Explanation
AI for DevOps and Automation
Create Regular Expressions
Data Processing and Analysis
AI Assisted Coding and Example spec.md
Creating MVP / Fast Mockups
12 Rules for Vibe Coding
Design Inspiration Stack
Official LLM Platforms
Claude Docs (Prompt Library)
OpenAI Codex
Google Code Gen Tools
Context Engineering Strategies
Basic PRD Creation Template
AI Prompts Strategies
Creating Documentation & Guides
AI Powered Software Documentation Tools
Articles
Worth Reading
Notable Git Repositories & Resources
10 Levels Of Automation
Forward Deployed Engineer Job Description
How To Choose A Local LLM To Use With Your AI Coding IDE
You are an expert [programming language] developer. Write a function that [describe the task].
Ensure the function is:
- Well-documented: Add clear comments explaining each step.
- Optimized for performance: Use efficient data structures and algorithms where applicable.
- Robust: Handle edge cases such as empty inputs, incorrect data types, and large datasets.
- Modular: Keep the function reusable and avoid hardcoded values.
Here’s a basic implementation of [algorithm/function] in [programming language]:
[code snippet]
Now, improve this implementation by optimizing it using [optimization technique, e.g., memoization, dynamic programming, vectorization].
Explain:
- Why the optimized version is better in performance and efficiency.
- Time complexity improvements compared to the original.
- Any trade-offs
Convert the following [source language] function into [target language]. Ensure that you:
- Maintain equivalent functionality in the new language.
- Explain key differences in syntax and behavior between the two languages.
- Highlight any necessary modifications due to differences in data types, function definitions, or execution models.
I’m seeing this error in my [programming language] code:
[error message]
Explain:
- Why is this error occurring
- How to fix it - provide one or more solutions.
- Best practices to prevent similar errors in the future.
- For AI errors, you can also refer to our AI error library
Here’s a function that isn’t returning the expected output:
[code snippet]
Describe:
- Why the function is failing and identify the root cause
- How to fix it,
- Best practices to avoid similar bugs in the future
Analyze the following [programming language] function and suggest optimizations to improve its [performance/memory usage/time complexity]:
[code snippet]
Provide:
- An explanation of the current inefficiencies and why they impact performance.
- A step-by-step optimization strategy, including specific improvements.
- A revised version of the function with the applied optimizations.
- A comparison of time complexity before and after optimization
Review the following [programming language] function and suggest improvements for Readability, Performance, and Security
[code snippet]
Analyze the following SQL query and identify potential security risks:
[SQL query]
Provide a safer alternative and explain why it’s secure.
Write a detailed docstring for the following [programming language] function:
[code snippet]
Make sure the docstring includes:
- A brief description of what the function does.
- Parameters with expected data types and descriptions.
- Return value with its type and meaning.
- Edge cases or exceptions the function may handle.
- Usage example (optional) to demonstrate correct usage.
Generate a Dockerfile to containerize a [technology/framework] application with the following requirements:
- Use a lightweight and optimized base image.
- Ensure all required dependencies are copied and installed efficiently.
- Expose the necessary ports for the application.
- Use an appropriate CMD or ENTRYPOINT to start the application.
- Keep the image size minimal and follow best practices for security and performance.
Write a [CI/CD tool] workflow to automate the deployment of a [technology/framework] application to [deployment platform] with the following requirements:
- Runs on specific events (e.g., code push to main).
- Installs necessary dependencies and prepares the application for deployment.
- Deploy the application to [target platform] efficiently.
- Ensures minimal permissions, caching, and optimized build processes.
- Provides logging and alerts for failures.
Regular expressions help us to match, locate, and manage text, providing a quick and relatively easy way to manipulate data, particularly in large complex programs.
Be careful, it's prone to mistakes, so it's always a good idea to test it on an app like https://regex101.com/
Create regex to match all email addresses in list.
Create regex to match all strings that looks like a credit card number.
Create regex to match all words that start with "ban".
Create regex to match 8-digit password.
Write a Pandas script to clean and preprocess a dataset with the following steps:
- Remove duplicate rows efficiently.
- Fill missing values using an appropriate strategy (e.g., mean, median, or interpolation).
- Convert all column names to a consistent format (e.g., lowercase, snake_case).
- Save the processed DataFrame in a specified format (e.g., CSV, Parquet).
Optimize the following SQL query for faster execution on a large dataset:
[SQL query]
Provide:
- Inefficiencies in the current query
- Optimized version of the query
- Explanation of performance improvements
- Best practices for writing efficient SQL queries on large dataset
- Start with vibe PMing
- Keep your tech stack simple
- Give Al the right rules & documentation
- Ask Al NOT to code
- Ask Al for options and pick the simple one
- Break tasks into small steps
- Include images to give Al context
- Test ruthlessly after every change
- Don't hesitate to revert
- Use Github for version control
- Use your voice to feel the vibes
- Ask Al to explain the code
- https://mobbin.com/
- https://appshots.design/
- https://designvault.io/
- https://godly.website/
- https://www.darkmodedesign.com/
- https://dribbble.com/
- https://www.behance.net/
- https://www.pinterest.com/mycornerview/web-ui/
- https://www.banani.co/
- AppLaunchpad: App Store Screenshot Inspiration
- Landingfolio: Landing page inspiration
- Logosystem: Logo Inspiration
- Magritte: Social media Ad Inspiration
Good resource if you intend to actually UNDERSTAND the reason behind each design decision
https://growth.design/case-studies
Might be useful when you build AI Assistants (System Prompts) https://buttercms.com/blog/chatgpt-prompt-frameworks/
https://docs.claude.com/en/resources/prompt-library/library
- Python bug buster
- SQL Sorcerer
- Google apps scripter
- Git gud
- Code consultant
- Function fabricator
- Code clarifier
- Efficiency estimator
- Data organizer
- Spreadsheet sorcerer
- CSV Converter
- Product naming pro
** Note that Codex is currently being rolled out to Pro, Team, and Enterprise users only.
Official Prompting Guide (Short)
https://developers.openai.com/codex/prompting/
OpenAI's Codex: A Guide With 3 Practical Examples
https://www.datacamp.com/tutorial/openai-codex
OpenAI Codex CLI Tutorial (Datacamp)
https://www.datacamp.com/tutorial/open-ai-codex-cli-tutorial
VSCode Extension | Video Walkthrough | Official Guide | How to Prompt Gemini Code Assist | Learning Lab
Free with Personal Google Account.
The "Gemini Code Assist for individuals" edition, which is the free tier, has very generous usage limits designed to support active individual developers.
Free tier:
- Code Completions: Up to 180,000 completions per month.
- Chat Requests: Up to 240 chat requests daily.
- Code-Related Requests (General): A limit of 6,000 code-related requests daily.
- The free tier does not expire.
- It is accessed with a personal Google Account (not associated with Cloud Identity or Google Workspace).
Free tier:
- Model Requests: Up to 1,000 requests per day and 60 model requests per minute.
Website An Asynchronous Coding Agen, Web Based.
Website | Google CodeLabs Orchestrate Multiple Coding Agents, Desktop IDE (VSCode fork).
Jules and Antigravity are Google's AI-powered developer tools, but they serve different roles:
- Jules is an autonomous coding assistant for tasks like tests/bugs within repos
- Antigravity is a full AI-first IDE that orchestrates multiple agents (including Jules) for complex workflows, handling browser/UI tasks alongside code, creating a unified experience for planning and executing development.
Think of Jules as the skilled worker handling code changes, and Antigravity as the project manager that directs Jules and other agents (like browser bots) from a central IDE, coordinating the whole process with human oversight.
Website Prompt to Code. You can Commit the Code to GitHub, Deploy to GCP and Publish with Public Link. Compared to Google Opal, this is more "full fledged" and a developer can continue easily. Web Based.
Website Create Customized Gemini Chatbots with system prompt and knowledge-base (documents) only. No Code. Web Based.
Website Prompt to App Idea. You can see the steps of each tasks clearly along with system prompts used to produce the result at each stage. Building and Execution can take quite some time to complete (anywhere between 10 to 20 minutes). When you click on "Open in Advanced Editor", it opens in Google Opal. Web Based.
Website Build, edit and share mini-AI apps using natural language. It works like a workflow node editor. Web Based.
12 Rules to Vibe Code Without Frustration (Peter Yang)
https://creatoreconomy.so/p/12-rules-to-vibe-code-without-frustration
The Ultimate Vibe Coding Guide
https://www.reddit.com/r/ClaudeAI/comments/1kivv0w/the_ultimate_vibe_coding_guide/
BWAI PRD Creator (André Teow)
https://chatgpt.com/g/g-68235a9c5f8c8191875f682e6a6b4652-bwai-prd-creator
BWAI design system 2
https://chatgpt.com/g/g-686c02218e648191b32d13f562b60790-bwai-design-system-2
GoFullPage Chrome Extension
https://chromewebstore.google.com/detail/gofullpage-full-page-scre/fdpohaocaechififmbbbbbknoalclacl
Basic AI Prompts for Developers: Practical Examples for Everyday Tasks
https://portkey.ai/blog/basic-ai-prompts-for-developers/
ChatGPT - Prompts for Writing and Generating Codes
https://dev.to/techiesdiary/chatgpt-prompts-for-writing-and-generating-codes-59kf
ChatGPT - Prompts for Optimizing Code
https://dev.to/techiesdiary/chatgpt-prompts-for-optimizing-code-3kkg
ChatGPT - Prompts for developers
https://dev.to/techiesdiary/chatgpt-prompts-for-developers-216d
John Rush - Compilation of 74 AI Coding Agents & IDEs and tested all of them
https://x.com/johnrushx/status/1976286586351517810
GitHub Copilot with VS Code
https://medium.com/@bobmain49/github-copilot-with-vs-code-here-we-go-d9dd29512866
DEV ChatGPT Prompts
https://github.com/PickleBoxer/dev-chatgpt-prompts
Pack your codebase into AI-friendly formats
https://repomix.com/
OWASP GenAI Security Project
https://genai.owasp.org/
Discover Open Source Alternatives to Popular Software
https://openalternative.co/
Integrating Gemini With Slack Bot
https://www.marketcalls.in/python/building-a-digital-assistant-in-slack-with-google-gemini-a-step-by-step-guide.html
GitHub : https://github.com/marketcalls/google-gemini-slackbot