Coding
prompts.
120 coding prompts for Codex, Cursor and GitHub Copilot, written and edited in-house. 82 of them are free. Each one leaves blanks only for what it cannot know — fill them in, copy, paste.
Replace exception-driven branching with explicit outcomesFor newer engineers who need clearer control flow without changing observable behavior.
A curl command that reproduces the requestFor newer developers who need one faithful, runnable API call from a request brief.
Pull request descriptions reviewers can verifyFor engineers converting a change brief into review-ready context and checks.
Repository shortcuts with the highest maintenance costFor newer contributors who need evidence-backed findings from an open codebase.
Should this feature flag be removed, retained, or promoted?For engineers making a cleanup call from rollout evidence and operational constraints.
Capacity headroom under the next traffic stepFor performance engineers validating scale limits; scores evidence against target load.
Serialization retries that still exhaustFor database engineers isolating why transaction retries never converge under contention.
Consumer lag that returns after every rebalanceFor engineers diagnosing recurring stream lag from code, metrics, and broker behavior.
Property-based tests shaped around real invariantsFor engineers turning domain rules into cases that shrink to useful counterexamples.
A pull request template for risky query changesFor teams that want query evidence and rollback details before database review.
Bring an overlong CI run back under budgetFor engineers blocked by slow feedback; returns a bounded daily improvement schedule.
How hermetic are these tests?For engineers judging whether a suite can run repeatedly, concurrently, and offline.
Maintenance work in a dependency-aware scheduleFor developers turning a maintenance backlog into bounded, reviewable delivery steps.
Build the right mental model for a code snippetFor beginners learning why code behaves as it does rather than memorizing syntax.
Off-by-one errors become visible before executionFor new programmers practicing boundary reasoning in a familiar language.
Split a large change into a reviewable PR stackFor engineers facing oversized diffs; returns a dependency-safe sequence of pull requests.
A first rollout schedule for a risky repository changeFor newer engineers coordinating releases; returns a day-by-day checklist with stop points.
Will shutdown preserve in-flight work?For engineers judging termination behavior from application code and runtime configuration.
Benchmark harness with setup kept out of timingFor developers needing a runnable microbenchmark around the function open in their editor.
Read query plans by predicting work, not cost numbersFor engineers practicing cardinality and access-path reasoning from a real execution plan.
Spot likely leaks in runtime evidenceFor newer engineers checking logs or code for bounded-resource failures.
Replace dense code with a readable equivalentFor newer engineers who need a behavior-preserving cleanup in a chosen language.
Why does webhook signature verification fail only sometimes?For engineers separating payload mutation, key selection, encoding, and timing failures.
Which Git merge strategy fits this branch?For developers choosing between squash, rebase, and merge commit from real history.
Release-blocking risks in a proposed changeFor engineers needing a terse pre-merge judgement tied to concrete code evidence.
Should this capability stay embedded or become a service?For teams choosing a boundary before ownership and latency costs harden.
First contribution checkpoints that prevent wasted workFor new contributors sequencing repository work around feedback and access.
Predict hidden state changes before running codeFor engineers learning unfamiliar code paths through guided execution drills.
Fault injection for an outbound HTTP boundaryFor engineers adding repeatable transport failures without making tests depend on the network.
An executable test suite from a behavior briefFor engineers turning expected behavior into focused unit tests.
Offset pagination becomes a stable cursor contractFor backend engineers converting a real query without skipping or duplicating rows.
Blocking I/O becomes cancellation-safe asynchronous codeFor engineers modernizing a real call path while preserving its observable behavior.
Trace a flaky failure through discriminating questionsFor engineers narrowing intermittent test or runtime failures before changing code.
Find the boundary causing a daylight-saving failureFor engineers isolating date-time defects across parsing, storage, arithmetic, and display.
How concentrated is ownership of this code?For maintainers measuring knowledge concentration before a critical area changes hands.
Move supported code onto current APIsFor maintainers replacing obsolete usage with source-backed, compatibility-aware code.
Should this side effect run inline, queued, or after commit?For engineers choosing execution semantics for a real application side effect.
Retire legacy code with evidence-backed checksFor engineers preparing a safe removal with a repository-specific verification artefact.
Expose hidden risk in a dependency upgradeFor newer engineers reviewing package changes; returns concise, evidence-linked risk findings.
Read an asynchronous stack trace as a causal storyFor engineers learning to separate the original failure from framework and await noise.
A stricter lint rule without a repository-wide freezeFor teams tightening static checks; outputs six enforceable rollout stages.
Bisect predicate that classifies commits reliablyFor engineers turning a bug signature into an executable Git bisect check.
A reproducible bug report from raw debugging notesFor developers turning private logs and observations into a ticket others can run.
An opaque regex becomes a maintainable equivalentFor engineers inheriting pattern-heavy code; returns a documented, behavior-preserving regex.
Deprecated SDK calls become supported current usageFor engineers migrating selected code against current official documentation and release notes.
Cold deployments without the latency cliffFor teams tracing temporary latency spikes immediately after new instances start serving.
Public response changes without breaking generated clientsFor API teams sequencing a field change through compatibility and removal checkpoints.
Follow one value from input to side effectFor newer developers learning to trace real code without guessing from names.
Pinpoint an ecosystem-specific build errorFor developers separating source defects from toolchain and package incompatibilities.
Stale reads after a successful writeFor engineers facing cache inconsistency; ranks causes and isolates the leading mechanism.
Vague TODOs become maintainable work markersFor maintainers replacing ambiguous code comments with bounded, actionable follow-up work.
Can you predict where this recursive call returns?For new programmers practicing call-stack reasoning on code they already have.
Executable proof that retries cannot duplicate a writeFor engineers hardening retried operations; produces deterministic fault-injection tests and support code.
Catch oversized files before they enter Git historyFor developers who need a copy-ready staged-file guard without learning hook internals.
Learn to spot where exceptions actually escapeFor engineers tracing error propagation through real control flow.
Minimal fixtures that expose boundary behaviorFor developers needing small seed data that covers meaningful cases without random noise.
Refactor or rewrite? A defensible callFor newer developers choosing a path without relying on codebase size alone.
Liveness and readiness endpoints with distinct semanticsFor service developers who need health handlers that do not worsen an outage.
An alert definition that points responders toward the failureFor developers turning a service failure brief into a usable monitor and first-response note.
Safe removal route for an obsolete dependencyFor engineers retiring a package; yields a repository-specific six-step sequence.
Prove duplicate suppression under concurrent requestsFor engineers adding a focused regression test directly inside an existing repository.
Learn to place mocks at real system boundariesFor developers learning why mocking the wrong call makes tests brittle or misleading.
Dense conditions become named, readable decisionsFor beginners converting a hard-to-follow boolean expression without changing its result.
Collapse flag combinations into an explicit state machineFor engineers replacing scattered status checks with enforceable transitions and exhaustive tests.
Spot unsafe shared state before concurrency growsFor beginners checking whether a small code sample will behave under parallel use.
A review checklist for time-sensitive codeFor engineers checking date and clock logic; returns proof-oriented review checks.
Live query, summary, or cache for a hot aggregate?For engineers choosing how to serve an expensive aggregate at a known read rate.
Stop a file watcher from rebuilding foreverFor engineers diagnosing feedback loops between generated files and watch globs.
Defensive decoding for an unstable external payloadFor integration engineers who need typed boundary code that fails with useful context.
Unsafe migrations become expand-contract release filesFor engineers converting a blocking schema change into deployable forward and rollback artefacts.
Replace sleep-based tests with deterministic synchronizationFor engineers fixing flaky suites; returns the test rewritten around observable events.
How coherent is this API’s error contract?For engineers maintaining public endpoints; scores consistency using concrete handler evidence.
Why is the environment variable missing?For developers tracing a value that exists in their shell but not in the running app.
Database constraint, lock, or single writer for uniqueness?For engineers choosing a concurrency control that matches contention and storage semantics.
Keep this repeated logic local or share it?For developers choosing the smallest abstraction that will not immediately become debt.
Rotate an internal authentication scheme without lockoutsFor engineers coordinating credential changes; returns a phased, rollback-aware schedule.
Replace repeated literals with names that carry meaningFor newer developers cleaning up magic values without altering behavior.
How trustworthy is this test suite?For engineers judging whether existing tests can safely support a change.
Understand mutable aliasing before it bitesA compact lesson for newer developers who confuse copied values with shared references.
Hardened CI for untrusted pull requestsFor maintainers needing a ready-to-run workflow that limits token and secret exposure.
Query amplification isolated from ordinary database slownessFor application engineers tracing request latency through ORM-generated database traffic.
Definition of done for a new authenticated endpointFor engineers implementing small APIs; returns a proof-based completion checklist.
Add a bounded worker pool without hidden queue growthFor engineers adding concurrency safely; returns implementation code and focused tests.
A verifiable local setup checklistFor teams turning environment requirements into pass-or-fail onboarding checks.
Where does this code become unexpectedly expensive?For newer developers identifying input-driven growth from concrete loops and operations.
Test-framework migration in six safe handoffsFor newer maintainers sequencing a small repository conversion without breaking CI.
A load test that fails on latency and error regressionsFor engineers checking an endpoint under pressure; returns one runnable repository-native script.
Extract a pure core from effect-heavy codeFor engineers separating business decisions from I/O without changing observable behavior.
Can you trace a condition before running it?For newer developers building confidence with Boolean logic through prediction drills.
A quick-start guide that survives copy and pasteFor developers turning a setup brief into a short, runnable onboarding path.
Feature behavior shown in one runnable exampleFor newer developers who need executable usage code from a concise behavior brief.
Convert callbacks into a behavior-preserving async functionFor engineers replacing nested callbacks without silently changing error semantics.
Does this parser reject bad configuration safely?For newer engineers checking startup behavior; returns evidence-linked failure-mode findings.
Secrets-safe shell commands for incident useFor responders converting copied commands into paste-safe, reviewable incident commands.
Where should this runtime setting live?For maintainers choosing between flags, environment variables, and configuration files.
A repository-specific ignore file without risky wildcardsFor developers deriving a small ignore file from an actual project tree.
Issue labels that make triage decisions visibleFor new maintainers needing a small, non-overlapping GitHub label set ready to import.
Why do large requests fail at the proxy boundary?For engineers diagnosing size-dependent 502s; returns ranked causes, one test, and a fix.
Turn a one-off repair script into a rerunnable operationFor engineers handling production data; returns safer code with dry-run and recovery behavior.
A minimal failing test that isolates the defectFor developers turning a bug brief into a small, deterministic regression test.
Pin down connection-pool exhaustion under loadFor engineers tracing database timeouts that appear only when request concurrency rises.
A capacity-fit rollout through final gateFor engineers scheduling cross-repository change with owners, effort, checkpoints, and rollback decisions.
Your first repository task, sequenced safelyFor beginners turning an issue and project notes into a manageable contribution schedule.
Find tenant-boundary gaps in request handlingFor engineers reviewing multitenant services; returns route-level enforcement judgments.
Score a background worker before it reaches productionFor engineers validating retrying jobs; returns evidence-backed readiness scores and a fix order.
Refactor tangled code without changing its behaviorFor newer developers who need a safer, clearer version of an existing function.
Know when a loop can stop earlyFor beginners learning early exits through predictions rather than definitions alone.
Sensitive fields stay out of application logsFor engineers adding a reusable redaction boundary to an existing logging path.
Retire a monolith endpoint through shadow trafficFor platform teams scheduling a reversible endpoint migration after a focused interview.
Keep, squash, or split these commits?For developers choosing a reviewable history without erasing meaningful boundaries.
The smallest experiment that explains a process crashFor developers diagnosing crash evidence without changing several things at once.
Tests that pass alone but fail as a suiteFor engineers tracing order dependence to leaked process, mock, or database state.
A manual smoke test from a feature briefFor developers who need a compact, repeatable check before handing a feature to QA.
Deadlock evidence narrowed to one testable mechanismFor engineers diagnosing production hangs across locks, tasks, and database transactions.
Small configuration changes reach production safelyFor beginners sequencing a seemingly minor change with explicit checks and rollback ownership.
Graceful shutdown before Kubernetes kills the podFor engineers tracing requests or jobs lost during pod termination.
Find the code risks a beginner may missFor newer developers who want evidence-backed concerns without jargon-heavy review.
Why does cache traffic surge when entries expire?For engineers separating stampedes from eviction, skew, and invalidation faults.
Raw SQL becomes a parameterized repository operationFor engineers converting a proven query into application-layer code without changing its meaning.
Repository conventions captured in one editor configFor developers turning a private repository brief into a portable formatting baseline.
Other categories.
Every coding prompt, in your pocket
The whole library ships inside the app, so it works offline.
Coming to theApp Store
Scan with your iPhone