Skip to content

Coding & Development AI prompts

Code generation, debugging and documentation

127 prompts

You are a senior engineer conducting a system design interview. System: [e.g. URL shortener, chat app, news feed, ride sharing] My level: [junior / mid / senior] Run the interview interactively: 1. Ask me to clarify requirements, then reveal the expected functional and non-functional requirements 2. Let me propose a h…

Claude
Coding & Development

System design interview practice

Practise system design questions with a guided walkthrough of requirements, architecture, scaling and trade-offs.

Act as a coding mentor. What I want to learn: [language/framework] My experience: [none / other languages] Goal: [job, side project, data analysis, game dev] Time: [hours per week] Create a 12-week roadmap: weekly topics, key concepts, one small project per week, free resources to look for (types, not specific links i…

Gemini
Coding & Development

Roadmap to learn a programming language

A structured, project-based learning path for any language or framework, matched to your goals and available time.

Act as a data analyst using Python and pandas. Data: [file type and columns with example values] Questions I want answered: [list] Issues I know about: [missing values, inconsistent formats] Write a script or notebook steps to: 1. Load and inspect the data 2. Clean it (types, missing values, duplicates, outliers) 3. A…

ChatGPT
Coding & Development

Data analysis with pandas

Load, clean, analyse and chart your data with pandas, with explanations for each step.

Act as a Git expert helping a [beginner / intermediate] developer. My situation: [e.g. I committed to main instead of a feature branch / I need to undo my last push / merge conflict in two files] Output of git status: ``` [paste] ``` Have I pushed? [yes / no] Working alone or in a team? [alone / team] Give me: 1. What…

ChatGPT
Coding & Development

Git command helper

Describe your Git situation in plain words, from undoing a commit to fixing a merge, and get the safe commands to resolve it.

You are an application security engineer. Review the code below for vulnerabilities, using the OWASP Top 10 as a checklist. Stack: [language/framework] Context: [what this code does, who can access it] For each issue: severity (critical/high/medium/low), location, how it could be exploited (conceptually), and a fixed…

Claude
Coding & Development

Security audit against OWASP Top 10

Review code for common vulnerabilities like injection, XSS, broken auth and insecure data handling, with fixes.

You are an API technical writer. API: [name and purpose] Base URL: [url] Auth: [API key / Bearer token / OAuth] Endpoints: [method, path, what it does, parameters, request body, responses] Create: 1. An OpenAPI 3.0 YAML spec with schemas, examples and error responses 2. A getting-started guide (auth, first request wit…

Claude
Coding & Development

API documentation in OpenAPI format

Turn your endpoints into a complete OpenAPI 3 spec plus human-friendly docs with examples.

Act as a Linux/macOS command-line expert. OS and shell: [macOS zsh / Ubuntu bash / Windows WSL] Task: [e.g. find all .log files larger than 100MB modified in the last 7 days and compress them] Give me: 1. The command 2. A breakdown of each flag and part 3. A dry-run version that shows what would happen without changin…

ChatGPT
Coding & Development

Shell commands and Bash one-liners

Describe a terminal task and get the command, what each part does and a safer alternative where relevant.

You are a browser extension developer. Extension idea: [what it does] Where it runs: [all sites / specific domains] UI: [popup, options page, sidebar] Data to store: [settings, lists] Create a Manifest V3 extension with: 1. manifest.json with minimal permissions 2. popup.html/js/css 3. content script and/or service wo…

Claude
Coding & Development

Chrome extension starter

Generate a working Manifest V3 Chrome extension with popup, content script and storage for your idea.

Act as a Python developer. Website: [URL or type of site] Data to extract: [fields] Pages: [single page / pagination / list of URLs] Output: [CSV / JSON] Write a script using requests + BeautifulSoup (or Playwright if the page needs JavaScript) that: - Respects robots.txt and adds a delay between requests - Sets a cle…

ChatGPT
Coding & Development

Python web scraper

Build a polite, robust web scraper that extracts structured data and saves it to CSV or JSON.

Add documentation to the code below. Language: [language] Docstring style: [Google / NumPy / JSDoc / PHPDoc] Rules: - Add a docstring to every public function/class: purpose, parameters, return value, exceptions, example - Add inline comments only where logic isn't obvious, explaining WHY - Don't change any behaviour…

Copilot
Coding & Development

Add clear comments and docstrings

Document existing code with helpful docstrings and comments that explain the why, not just the what.

Explain this error in plain English and help me fix it. Language/framework: [e.g. Python 3.12 / Node 20 / Laravel] What I was doing: [action] Error: ``` [paste error and stack trace] ``` Relevant code: ``` [paste code] ``` Please give: 1. What the error means 2. The most likely cause (and other possible causes) 3. The…

ChatGPT
Coding & Development

Explain an error message and fix it

Paste a confusing error or stack trace and get a plain-English explanation, the likely cause and a fix.

Create a GitHub Actions workflow for my project. Stack: [language, package manager, framework] Steps needed: [install, lint, type-check, test, build, deploy] Branches: [main, pull requests] Deploy target (optional): [e.g. Vercel, server via SSH, Docker registry] Requirements: - Cache dependencies - Run tests on [versi…

Copilot
Coding & Development

CI pipeline with GitHub Actions

Set up a GitHub Actions workflow that installs, lints, tests and builds your project on every push and pull request.