Prompts
A prompt library worth reusing
20 prompts for common engineering and writing tasks - each one a copy-ready template, not just a one-liner, with notes on when to use it and why it works. Model-agnostic: nothing here depends on quirks of one specific model.
No prompts match this filter.
API design review
Review a proposed API (REST, RPC, or library interface) for consistency, evolvability, and the mistakes that are expensive to fix after ship.
Code review
A structured review of a diff or file that separates correctness bugs from style nits, instead of one flat list.
Commit message from a diff
Write a commit message that explains why a change was made, not just a restatement of the diff.
Explain a stack trace
Turn an unfamiliar error and stack trace into a plain explanation of what broke and where to start looking.
Explain like I'm new to this
Get a concept explained at the right depth for where you actually are, with the gaps in your understanding checked rather than assumed.
Incident post-mortem draft
Turn a timeline of raw notes into a blameless post-mortem draft that focuses on systemic fixes, not who to blame.
Learning a new codebase
Turn an unfamiliar codebase (or a big chunk of one) into a mental map you can navigate, instead of reading file by file with no structure.
Mock behavioral interview
Practice behavioral/'tell me about a time' interview questions with real follow-up pressure, not just a list of questions to prep answers for.
PR description
Turn a diff and some context into a PR description reviewers can actually use to review faster.
RAG answer with citations
A grounded-answer prompt template for a retrieval-augmented system, so answers cite their sources and admit gaps instead of blending in unsourced claims.
Refactoring plan
Break a risky refactor into small, independently-shippable steps instead of one big rewrite.
Regex from examples
Build a regex from concrete match/non-match examples so the pattern is tested against your real edge cases, not just the obvious case.
Resume bullet from a real achievement
Turn a rough description of something you actually did into a sharp resume bullet, without inventing numbers you don't have.
SQL from a schema
Get a correct query against your actual schema, with the reasoning shown, instead of a plausible-looking guess.
Structured JSON extraction
Extract structured data from messy text into a schema you define, with missing fields left null instead of guessed.
Summarising a long document
A summary structured for a specific reader and decision, instead of a generic shorter version of the whole document.
System design interview practice
Practice a system design interview with a model acting as interviewer, pushing back the way a real one would instead of just agreeing.
Threat-model a feature
A lightweight STRIDE-style pass over a new feature before it ships, catching the security questions that are cheap to ask now and expensive later.
Writing a runbook
Turn tribal knowledge about handling an operational task into a runbook someone unfamiliar with it could actually follow at 3am.
Writing tests for a function
Generate a test suite that covers edge cases you'd likely forget, not just the happy path.