Coding & Engineering prompts
55 practical prompts. Open one to see an example, the mistakes to avoid and why it works.
- Explain This CodebaseTurns a code dump into an orientation tour a new contributor could actually use, including an honest flag on the part the model is least confident about.Beginner
- Technical Design DocStructures an early-stage design conversation so options get compared on real trade-offs before anyone commits to one, and ends by naming what's still unproven.Advanced
- Write Tests From RequirementsWorks from requirements rather than existing code, so tests catch cases the implementation might miss instead of just mirroring it.Intermediate
- Refactor Plan Without Breaking ThingsBreaks a risky refactor into small, independently verifiable steps instead of one large rewrite, so a regression can be traced to a single step.Advanced
- API Contract DesignerDesigns the shape of an API before code is written, with explicit attention to where the design will strain as usage grows.Intermediate
- Migration RunbookTurns a planned migration into an executable checklist with a rollback path at every risky step, not just a description of the end state.Advanced
- Choose Between Two ApproachesForces a side-by-side comparison on named criteria instead of a vague recommendation, so the trade-off is visible rather than asserted.Intermediate
- Commit and PR DescriptionConverts a diff and a short note into a PR description reviewers can actually use to decide what to look at closely.Beginner
- Legacy Code DocumentationReconstructs documentation from behavior when the original intent isn't written anywhere, while being explicit about what's inferred versus certain.Intermediate
- Performance Investigation PlanTurns a vague slowness complaint into an ordered set of testable hypotheses, so investigation time goes to the most likely cause first.Advanced
- Security-Focused ReviewRuns a diff through a specific set of common vulnerability classes rather than a generic security pass, with a concrete fix for each finding.Advanced
- Readability ReviewFocuses purely on how easy the code is to read and modify later, separate from correctness or style debates.Beginner
- Test Coverage Gap ReviewFinds coverage gaps by reasoning about branches, not just running a coverage tool, and pairs each gap with a ready test.Intermediate
- Concurrency and Race ReviewFocuses specifically on concurrency bugs — races, deadlocks, stale reads — that generic review passes tend to miss, with a scenario for each finding.Advanced
- API Change Impact ReviewAssesses an API change from the consumer's perspective, distinguishing what actually breaks callers from what's a safe addition.Advanced
- Performance Review of a DiffReviews a diff specifically for performance, and is willing to say the diff is fine rather than manufacturing feedback where none is needed.Advanced
- Review Comment Tone FixerKeeps the technical substance of feedback intact while removing language that reads as harsh, passive-aggressive, or unclear.Beginner
- Checklist Generator for a RepoBuilds a review checklist tailored to a specific codebase's recurring failure patterns, instead of a generic best-practices list.Intermediate
- Dependency Upgrade ReviewFilters a changelog down to what's actually relevant to your usage, and rates the upgrade's risk instead of just summarizing release notes.Intermediate
- Reviewer Response DrafterHelps an author respond to review comments efficiently, deciding per-comment whether to agree, push back, or ask for clarification.Beginner
- Systematic Bug DiagnosisTurns a bug report into an ordered investigation plan, prioritizing the boring, common causes before exotic explanations.Intermediate
- Read This Stack TraceTranslates a raw error trace into an explanation a non-specialist teammate could follow, with the probable cause named clearly.Beginner
- Reproduce the BugBuilds the smallest possible repro case from a bug report, asking for missing details instead of guessing around them.Intermediate
- Flaky Test InvestigatorDiagnoses intermittent test failures by considering that the reported symptom may not be the actual failure, and explains the mechanism so the pattern is recognizable next time.Advanced
- Production Incident TriageStructures the first minutes of an incident response so impact is scoped and a mitigation is chosen before root cause is fully known.Advanced
- Log Analysis AssistantReads through raw logs to surface the patterns a human would otherwise have to scan for manually, and ties findings to a verification step.Intermediate
- Blameless Incident PostmortemStructures a raw account of an incident into a timeline, distinguishes confirmed facts from inference, and produces action items instead of just a narrative.Intermediate
- Fix Verification PlanTurns 'I think this fixes it' into a concrete verification checklist covering the original symptom, adjacent code paths, and what evidence would actually be convincing.Intermediate
- Actionable Error Message RewriteTakes vague or technical error text and rewrites it so whoever hits it (developer or end user) knows what happened and what to do next.Beginner
- Agent System InstructionsBuilds an agent's system prompt starting from what it must never do, then its tools and role, so the guardrails aren't an afterthought bolted onto a capability-first prompt.Advanced
- Agent Task Graph PlannerBreaks a multi-step agent job into a dependency graph, defining a verifiable success condition for each node instead of leaving 'did this step work' implicit.Advanced
- Agent Failure Mode AuditAudits an agent's design for the ways it could quietly fail — wrong tool calls, silent errors, runaway loops — and pairs each with something that would actually catch it in production.Advanced
- Agent Evaluation Set BuilderBuilds a test set for an agent that covers typical cases, edge cases, and adversarial inputs, with grading criteria concrete enough to actually score against.Advanced
- Human Approval Checkpoint DesignDecides which agent actions are safe to run autonomously versus which need a human checkpoint, and specifies what information the reviewer needs to decide quickly.Intermediate
- Agent Memory StrategyDesigns the memory layer for a multi-step agent — deciding what needs to survive between calls, what should be compressed, and what should be dropped to avoid context bloat and stale state.Advanced
- Multi-Agent Role and Handoff DesignSplits a job across multiple specialized agents, defining exactly what each hands the next and how disagreements between agents get resolved rather than silently picked.Advanced
- Prompt Injection Defense ReviewReviews an agent's tool access and input sources for prompt injection risk, distinguishing what untrusted content the agent actually ingests from what's already sanitized.Advanced
- Agent Cost and Latency BudgetBreaks an agent workflow into steps and assigns each a cost/latency budget, recommending which steps genuinely need a larger model versus a cheaper one.Intermediate
- Onboarding Guide for New DevsBuilds a practical onboarding doc from what a project already has, rather than a generic checklist, so a new hire's first week has real footholds.Intermediate
- Structured Code ReviewSorts feedback by severity so an author knows what actually blocks the merge versus what's optional polish.Intermediate
- Regression Bisect PlanTurns 'it broke somewhere between these two points' into a concrete bisection strategy, ranking candidate commits or changes by how cheaply they can be ruled out.Intermediate
- Intermittent Bug Investigation PlanBuilds a strategy for bugs sensitive to timing, logging, or environment — separating what's known from what's suspected and proposing low-interference ways to gather more evidence.Advanced
- Agent Output Schema and Repair RulesDefines a machine-checkable output format for an agent step and specifies exactly how to recover when the output fails validation, instead of leaving that to ad-hoc retries.Intermediate
- Manual Task Automation DesignTurns a description of a repetitive manual task into a concrete automation plan, including what happens when a run fails partway through.Beginner
- No-Code Automation Flow SpecConverts a described workflow into the concrete steps, triggers, and filters a no-code automation tool needs, while flagging which manual step is worth keeping as-is.Beginner
- Data Sync Field MappingMaps fields between a source and destination system, defining transformations for mismatched types and a rule for what wins when both systems have a conflicting update.Intermediate
- Automation Error Handling DesignDesigns the failure-handling layer around an automation — what retries automatically, what goes to a dead letter queue, and how a human recovers a stuck job.Advanced
- Automation ROI EstimateEstimates whether an automation is worth building by weighing time saved against build and maintenance cost, and states its assumptions rather than presenting a false-precision number.Beginner
- Approval Workflow Routing DesignDesigns who approves what, how long they have, and what happens if they don't respond in time — turning an ad-hoc approval chain into a defined workflow.Intermediate
- Alert and Notification StrategyDefines which events trigger a notification, who receives it, and what keeps it from becoming noise that gets ignored.Beginner
- Scheduled Job RunbookDocuments what a scheduled job does, how to tell it ran correctly, and how to roll back or rerun it safely if it didn't.Intermediate
- Webhook Contract DesignSpecifies a webhook's payload schema, retry/backoff policy, and how the receiver deduplicates retried deliveries so the same event isn't processed twice.Advanced
- Existing Automation AuditReviews a list of automations built over time to find ones that overlap, ones that quietly drifted from what they were meant to do, and ones nobody would notice if they broke.Advanced
- Manual Fallback PlanWrites the fallback procedure for when an automation goes down, focused on the minimum steps that keep the business process running, not a full manual replica of the automation.Beginner
- Agent Tool Schema WriterTurns a list of functions into tool definitions with descriptions that disambiguate near-duplicate tools, so the agent picks the right one instead of guessing.Advanced