Help me answer 'Tell me about a time you failed' using this experience: [situation]. Structure it with STAR, take ownership without oversharing, focus on what I learned and changed, and keep it under 2 minutes.
Results for “failure”
9 prompts
Add a background job queue to my [framework] app for tasks like [tasks]. Recommend a queue library, show job definitions, retries with backoff, failure handling, scheduling, and how to run workers in production.
Background job queue
Moves slow tasks like emails and reports out of web requests.
Write a Playwright script in [language] that [task, e.g. logs into a test site, fills a form and downloads a report]. Use robust selectors, waits instead of sleeps, screenshots on failure, and credentials from environment variables.
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…
Scheduled jobs and cron tasks
Set up reliable scheduled jobs with correct cron syntax, logging and failure alerts.
Act as a QA-minded backend engineer. Framework and test tool: [e.g. Jest + Supertest, pytest + httpx, PHPUnit] Endpoints: [list with expected behaviour] Auth: [method] Database setup: [test DB, fixtures] Write integration tests covering success cases, validation errors, auth failures and not-found cases, with setup/te…
Integration tests for an API
Test your API endpoints end to end, including the database, auth and error responses.
Review the code below and improve its logging and error handling. Language/framework: [details] Logging tool: [details] Code: ``` [paste] ``` Add: structured logs with useful context (without secrets or personal data), appropriate log levels, custom error types where helpful, user-safe error messages, retries for tran…
Better logging and error handling
Make failures easy to diagnose with structured logs, meaningful errors and safe messages for users.
Help me reflect on a failure. What I tried: [details] What happened: [outcome] How I feel about it: [details] Guide me through: what went well, what didn't, what was in my control, root causes, what I'd do differently, and how to apply the lessons to [next attempt or goal]. Keep it constructive and kind.
Learn from failure reflection
Turn a failure into lessons and a better plan with a structured reflection.
Act as a productivity coach. Task I keep avoiding: [task] Deadline: [date] Why it feels hard: [boring, overwhelming, fear of failure, unclear] Help me identify the type of procrastination, break the task into 15-minute steps, choose 3 techniques that fit (e.g. 2-minute start, timeboxing, temptation bundling), plan my…
Overcome procrastination
Understand why you procrastinate on a specific task and get unstuck with practical techniques.
Act as a senior backend developer. Framework: [e.g. Express, FastAPI, Laravel, Django REST, Spring Boot] Database/ORM: [e.g. PostgreSQL + Prisma] Endpoint: [METHOD /path] What it does: [description] Request body/params: [fields and rules] Auth: [public / logged-in user / admin] Write: 1. The route/controller code 2. I…
Build a REST API endpoint with validation
Generate a production-ready API endpoint with input validation, error handling, status codes and tests in your framework.