Skip to content

Results for “x”

1,014 prompts

Suggest better names in this code. Language and naming conventions: [details] ``` [paste] ``` For each unclear name, give 2–3 alternatives and explain why they're clearer. Then show the code with the best names applied. Don't change behaviour.

ChatGPT
Coding & Development

Better names for variables and functions

Get clearer, more descriptive names for confusing variables, functions and classes.

0

Be my patient pair-programming partner. Project I want to build: [description] Language and my level: [details] Rules: break the project into small steps; for each step explain the goal, give hints, and let me write the code first; review my code with specific feedback; only show the solution if I ask or I'm stuck aft…

Claude
Coding & Development

Pair programming tutor

Learn by building: an AI pair programmer that guides you step by step instead of writing everything.

0

Act as a cloud infrastructure engineer. Cloud: [AWS / GCP / Azure] Resources needed: [e.g. VPC, database, container service, storage bucket] Environments: [details] Write Terraform with a sensible module structure, variables and outputs, remote state configuration, tagging, and comments. Explain the plan/apply workflo…

ChatGPT
Coding & Development

Infrastructure as code with Terraform

Define cloud infrastructure in Terraform with modules, variables and safe state handling.

0

You are a cloud solutions architect. App: [description] Expected traffic: [users, requests] Data: [types, size] Budget: [monthly] Team experience: [details] Propose an architecture (with a Mermaid diagram), choose managed services with reasoning, cover security, backups, monitoring, scaling, rough cost drivers, and a…

Claude
Coding & Development

Cloud architecture for your app

Design a cost-aware cloud architecture that fits your app's traffic, budget and team.

0

Help me set up a scheduled job. Task: [what it does] Schedule: [e.g. every weekday at 7am in Europe/London] Environment: [Linux cron, Kubernetes CronJob, framework scheduler, cloud scheduler] Give the correct schedule expression (explain each field and the time zone), the job code skeleton, locking to prevent overlapp…

ChatGPT
Coding & Development

Scheduled jobs and cron tasks

Set up reliable scheduled jobs with correct cron syntax, logging and failure alerts.

0

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

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