Skip to content

Coding & Development prompts

Code generation, debugging and documentation

127 prompts

Act as a backend engineer. Stack: [details] Endpoints to protect: [list] Limits wanted: [e.g. 100 requests/minute per API key, 5 login attempts per 15 minutes per IP] Infrastructure: [single server / multiple instances / Redis available] Implement rate limiting (explain fixed window vs sliding window vs token bucket),…

ChatGPT
Coding & Development

API rate limiting

Protect your API from abuse with rate limits per user, IP or API key.

0

You are a performance-focused backend engineer. App and slow parts: [details] Data freshness requirements: [details] Stack: [details] Recommend what to cache and where (HTTP, application, database query), cache keys, TTLs, invalidation strategy, cache-aside vs write-through, protecting against cache stampedes, and cod…

Claude
Coding & Development

Caching strategy with Redis

Speed up your app with the right caching approach and avoid stale-data bugs.

0

Act as an Excel automation expert. Task to automate: [describe step by step] Workbook layout: [sheets, columns] Excel version: [version] Write a VBA macro with comments, error handling, and a confirmation message. Explain how to add it to the workbook, run it, and save as .xlsm. Suggest testing on a copy of the file f…

ChatGPT
Coding & Development

Excel VBA macro

Automate repetitive Excel tasks with a commented VBA macro and instructions to run it safely.

0

Act as a Google Workspace automation developer. What I want to automate: [e.g. email a summary of new form responses every morning] Sheets/Docs/Calendar involved: [details] Write an Apps Script with comments, a trigger setup (time-driven or on edit), error handling, and step-by-step setup instructions including author…

ChatGPT
Coding & Development

Google Apps Script automation

Automate Google Sheets, Gmail, Calendar and Docs with Apps Script.

0

You are a staff engineer experienced with legacy systems. System: [description, age, language] Pain points: [bugs, slow changes, outdated libraries] Constraints: [can't stop shipping features, limited tests] Create a plan: characterisation tests first, the strangler-fig approach, which areas to modernise first (by ris…

Claude
Coding & Development

Modernise legacy code

Plan an incremental modernisation of old code without a risky big-bang rewrite.

0

Act as a DevOps engineer. Stack and hosting: [details] Environments: [dev, staging, prod] Secrets used: [types, names only] Recommend: a config structure, .env usage and .env.example, validating config at startup, secret storage options for production, rotation practices, and what must never be committed to git. Inclu…

ChatGPT
Coding & Development

Environment variables and config management

Organise configuration and secrets safely across development, staging and production.

0

You are a Kubernetes engineer. App: [container image, port, env vars (names), resources] Requirements: [replicas, health checks, scaling, ingress, persistent storage] Write Deployment, Service, Ingress, ConfigMap/Secret references and HorizontalPodAutoscaler manifests, with comments explaining every field. Add kubectl…

Claude
Coding & Development

Kubernetes manifests explained

Write and understand Kubernetes manifests for deploying a containerised app.

0

You are a tech lead planning an upgrade. Current and target versions: [e.g. React 17 → 19, Python 3.8 → 3.12, Laravel 9 → 11] Codebase size and test coverage: [details] Key dependencies: [list] Create: breaking changes to check (verify against official upgrade guides), dependency compatibility plan, step-by-step upgra…

Claude
Coding & Development

Framework upgrade migration plan

Plan a safe upgrade between major versions of a framework or language.

0

Act as a senior iOS developer. iOS target: [version] Screen: [purpose and elements] Data: [model and source] Navigation: [details] Write a SwiftUI view with a view model (ObservableObject or @Observable), loading/error/empty states, accessibility labels, Dynamic Type support, previews, and comments.

ChatGPT
Coding & Development

SwiftUI view for iOS

Build a clean SwiftUI screen with state, navigation and accessibility.

0

You are a Vue 3 developer. Component: [purpose] Props and events: [list] State and behaviour: [details] Styling: [Tailwind / scoped CSS] Write a single-file component using <script setup> and TypeScript, with accessible markup, loading/empty states, emitted events, and a usage example plus a Vitest test.

Claude
Coding & Development

Vue component

Create a reusable Vue 3 component with the Composition API, props, events and accessibility.

0

Help me build this layout with CSS. Layout description: [e.g. sidebar left, cards grid that wraps, sticky header, footer at bottom] Breakpoints: [mobile/tablet/desktop behaviour] Existing HTML (optional): [paste] Give the HTML and CSS using Flexbox or Grid (explain which and why), comment each key property, and show h…

ChatGPT
Coding & Development

CSS layout with Flexbox or Grid

Build the layout you have in mind with modern CSS, explained property by property.

0

You are a front-end developer who cares about motion design. Elements to animate: [buttons, cards, modal, loader, list items] Style: [subtle, playful, premium] Write CSS (and minimal JS if needed) for each animation using transforms and opacity for performance, sensible durations and easing, and a prefers-reduced-moti…

Claude
Coding & Development

CSS animations and micro-interactions

Add smooth, accessible animations to buttons, cards, loaders and page elements.

0