{"category":"coding","description":"Writing, reviewing, debugging, testing, refactoring and explaining code.","count":46,"entries":[{"id":"h20261010-3","title":"Upgrade checklist for a library release with security fixes","category":"coding","type":"plan","technique":"checklist","kind":"hot","tags":["checklist","coding","fixes","library","plan","release","security","upgrade"],"about":"Plan the upgrade of LIBRARY from OLD VERSION to NEW VERSION using the changelog below. Rules: 1. List every changelog item that changes behavior, secu...","url":"https://jackgross-five.vercel.app/prompt-index/p/h20261010-3.json"},{"id":"h20261011-3","title":"Audit an agent completion report for evidence that is only shaped like proof","category":"coding","type":"review","technique":"verify","kind":"hot","tags":["agent","audit","coding","completion","evidence","like","only","proof","report","review"],"about":"An agent reports a task as done and attaches a ledger of files, hashes, commands and test results. Audit the report. For each item in the ledger, say...","url":"https://jackgross-five.vercel.app/prompt-index/p/h20261011-3.json"},{"id":"h20261012-3","title":"Design a secret-free acceptance test for a fetch server update","category":"coding","type":"plan","technique":"steps","kind":"hot","tags":["acceptance","coding","design","fetch","plan","secret-free","server","steps","test","update"],"about":"From the supplied release notes design an acceptance plan, not a claim of completed tests. Use only a disposable environment and endpoints the tester...","url":"https://jackgross-five.vercel.app/prompt-index/p/h20261012-3.json"},{"id":"h20261013-4","title":"Turn a changelog's secure-by-default list into checks","category":"coding","type":"review","technique":"checklist","kind":"hot","tags":["changelog","checklist","checks","coding","list","review","secure-by-default","turn"],"about":"From the changelog excerpt below, turn each secure-by-default statement into a read-only check a person can run on a newly created resource (setting n...","url":"https://jackgross-five.vercel.app/prompt-index/p/h20261013-4.json"},{"id":"h20261014-4","title":"Debug a webhook-driven agent that acts twice on one alert","category":"coding","type":"debug","technique":"checklist","kind":"hot","tags":["acts","agent","alert","checklist","coding","debug","one","twice","webhook-driven"],"about":"Our agent started two investigations for one alert. From the logs below, list possible causes in order of how cheaply each can be checked: retries, du...","url":"https://jackgross-five.vercel.app/prompt-index/p/h20261014-4.json"},{"id":"h20261016-1","title":"Estimate an LLM serving memory budget before buying hardware","category":"coding","type":"analyze","technique":"verify","kind":"hot","tags":["analyze","before","budget","buying","coding","estimate","hardware","llm","memory","serving"],"about":"I will describe a model architecture and my target context length. Compute the KV cache budget step by step: bytes per token per layer from KV heads,...","url":"https://jackgross-five.vercel.app/prompt-index/p/h20261016-1.json"},{"id":"h20261016-5","title":"Review a curl-to-shell installer before running it","category":"coding","type":"review","technique":"verify","kind":"hot","tags":["before","coding","curl-to-shell","installer","review","running","verify"],"about":"I will paste an install script. Read it line by line. List: every URL it fetches, every path it writes, every permission it assumes, and every silent...","url":"https://jackgross-five.vercel.app/prompt-index/p/h20261016-5.json"},{"id":"h20261017-4","title":"Track down why prompt cache hits dropped after a harness change","category":"coding","type":"debug","technique":"react","kind":"hot","tags":["after","cache","change","coding","debug","down","dropped","harness","hits","prompt"],"about":"My agent's prompt cache hit rate dropped after we changed its harness. Work in short loops: state one hypothesis, name the one log line or metric that...","url":"https://jackgross-five.vercel.app/prompt-index/p/h20261017-4.json"},{"id":"h20261018-1","title":"Plan an agent prompt against a fixed context window","category":"coding","type":"plan","technique":"decompose","kind":"hot","tags":["against","agent","coding","context","decompose","fixed","plan","prompt","window"],"about":"describe the agent task .","url":"https://jackgross-five.vercel.app/prompt-index/p/h20261018-1.json"},{"id":"h20261018-4","title":"Review a new MCP server before connecting it","category":"coding","type":"review","technique":"checklist","kind":"hot","tags":["before","checklist","coding","connecting","mcp","review","server"],"about":"You are deciding whether to connect a three-day-old, single-author MCP server to your coding agent. Produce a review checklist ordered by what can hur...","url":"https://jackgross-five.vercel.app/prompt-index/p/h20261018-4.json"},{"id":"h20261019-3","title":"Plan a fingerprint scan for a legacy random generator","category":"coding","type":"plan","technique":"decompose","kind":"hot","tags":["coding","decompose","fingerprint","generator","legacy","plan","random","scan"],"about":"You suspect a binary artifact contains output of a 1990s C library random generator (a 48-bit linear congruential generator). Plan a detection pipelin...","url":"https://jackgross-five.vercel.app/prompt-index/p/h20261019-3.json"},{"id":"h20261022-5","title":"Reconstruct how a result evolved across versions","category":"coding","type":"debug","technique":"steps","kind":"hot","tags":["across","coding","debug","evolved","how","reconstruct","result","steps","versions"],"about":"A paper or repo shipped in several versions and the final claim differs from earlier ones (a bound tightened, a method renamed, a dependency added). T...","url":"https://jackgross-five.vercel.app/prompt-index/p/h20261022-5.json"},{"id":"c5","title":"Code review: correctness, then security, then readability","category":"coding","type":"review","technique":"direct","kind":"curated","tags":["code","coding","correctness","direct","readability","review","security","then"],"about":"Review the code below. Report only issues you can point to a line for. Order: 1) correctness bugs and unhandled errors, 2) security (injection, secret...","url":"https://jackgross-five.vercel.app/prompt-index/p/c5.json"},{"id":"c6","title":"Diagnose a failing test","category":"coding","type":"debug","technique":"steps","kind":"curated","tags":["coding","debug","diagnose","failing","steps","test"],"about":"A test fails. First write a numbered plan for finding the cause. Then follow it. Give the three most likely causes in order, how to confirm each with...","url":"https://jackgross-five.vercel.app/prompt-index/p/c6.json"},{"id":"c7","title":"Write a small function with tests","category":"coding","type":"generate","technique":"checklist","kind":"curated","tags":["checklist","coding","function","generate","small","tests","write"],"about":"Write FUNCTION DESCRIPTION in LANGUAGE . Requirements: standard library only; handles empty input and invalid input explicitly; under 40 lines; includ...","url":"https://jackgross-five.vercel.app/prompt-index/p/c7.json"},{"id":"c8","title":"Refactor in small steps","category":"coding","type":"rewrite","technique":"decompose","kind":"curated","tags":["coding","decompose","refactor","rewrite","small","steps"],"about":"Refactor the code below without changing behavior. Split the work into the smallest independent steps. For each step show the diff and say what test w...","url":"https://jackgross-five.vercel.app/prompt-index/p/c8.json"},{"id":"c9","title":"Extract an API summary as JSON (system/user)","category":"coding","type":"extract","technique":"schema","kind":"curated","tags":["api","coding","extract","json","schema","summary","system","user"],"about":"system You extract facts from source code. Return JSON only. user From the code below return {\"functions\": {\"name\": str, \"inputs\": str , \"returns\": st...","url":"https://jackgross-five.vercel.app/prompt-index/p/c9.json"},{"id":"c37","title":"Small model: find the bug","category":"coding","type":"debug","technique":"steps","kind":"curated","tags":["bug","coding","debug","find","model","small","steps"],"about":"Find the bug. Code: PASTE CODE Error: PASTE ERROR Do this: write 3 possible causes, pick the likeliest, give the fix. Answer format: numbered steps.","url":"https://jackgross-five.vercel.app/prompt-index/p/c37.json"},{"id":"u17","title":"Code review without noise or flattery","category":"coding","type":"review","technique":"checklist","kind":"unslop","tags":["checklist","code","coding","flattery","noise","review","without"],"about":"Review the diff below. Report only issues you can point to a line for, ordered by severity: bugs, security, data loss, concurrency, API breakage, test...","url":"https://jackgross-five.vercel.app/prompt-index/p/u17.json"},{"id":"u18","title":"Comments that explain why, not what","category":"coding","type":"review","technique":"checklist","kind":"unslop","tags":["checklist","coding","comments","explain","not","review","what","why"],"about":"Review the comments in the code below. Delete or rewrite comments that restate the code. Keep or add comments only for: why a non-obvious choice was m...","url":"https://jackgross-five.vercel.app/prompt-index/p/u18.json"},{"id":"u19","title":"Hallucination check on generated code","category":"coding","type":"review","technique":"verify","kind":"unslop","tags":["check","code","coding","generated","hallucination","review","verify"],"about":"The code below was written by an AI. Assume it contains invented things. Check each: imported modules and their versions, every function and method ca...","url":"https://jackgross-five.vercel.app/prompt-index/p/u19.json"},{"id":"u20","title":"Commit message and PR description a reviewer can use","category":"coding","type":"generate","technique":"checklist","kind":"unslop","tags":["can","checklist","coding","commit","description","generate","message","reviewer","use"],"about":"Write a commit message and a PR description for the diff below. Commit: imperative subject under 60 characters that says what changed in behavior; bod...","url":"https://jackgross-five.vercel.app/prompt-index/p/u20.json"},{"id":"u21","title":"Debug with hypotheses, not guesses","category":"coding","type":"debug","technique":"steps","kind":"unslop","tags":["coding","debug","guesses","hypotheses","not","steps"],"about":"Help me find the cause of this failure. Do not propose a fix yet. 1) State what the evidence shows and what it does not show. 2) List the three most l...","url":"https://jackgross-five.vercel.app/prompt-index/p/u21.json"},{"id":"u22","title":"README that a stranger can run in five minutes","category":"coding","type":"generate","technique":"checklist","kind":"unslop","tags":["can","checklist","coding","five","generate","minutes","readme","run","stranger"],"about":"Write a README from the repo information below. Sections in this order: one sentence on what it does and for whom; install; the smallest working examp...","url":"https://jackgross-five.vercel.app/prompt-index/p/u22.json"},{"id":"u23","title":"Error messages that say what to do next","category":"coding","type":"generate","technique":"checklist","kind":"unslop","tags":["checklist","coding","error","generate","messages","next","say","what"],"about":"Rewrite the error messages below. Each must state what failed, why in one clause when known, and the next action the user can take. No \"Oops\", no \"Som...","url":"https://jackgross-five.vercel.app/prompt-index/p/u23.json"},{"id":"u24","title":"Break my design before production does","category":"coding","type":"evaluate","technique":"adversary","kind":"unslop","tags":["adversary","before","break","coding","design","does","evaluate","production"],"about":"Here is a design. Act as the engineer who gets paged when it fails. List the ten most likely failures in order of probability times damage: load, part...","url":"https://jackgross-five.vercel.app/prompt-index/p/u24.json"},{"id":"u25","title":"Test cases from a requirement, with the ugly ones","category":"coding","type":"generate","technique":"decompose","kind":"unslop","tags":["cases","coding","decompose","generate","ones","requirement","test","ugly"],"about":"From the requirement below produce a test plan. Table columns: id, scenario, steps, expected result, type (normal, boundary, invalid input, permission...","url":"https://jackgross-five.vercel.app/prompt-index/p/u25.json"},{"id":"u26","title":"Bug report a developer can act on","category":"coding","type":"generate","technique":"schema","kind":"unslop","tags":["act","bug","can","coding","developer","generate","report","schema"],"about":"Turn the notes below into a bug report. Return: title (what breaks, where, under what condition), environment, exact steps (numbered), expected result...","url":"https://jackgross-five.vercel.app/prompt-index/p/u26.json"},{"id":"u27","title":"Exploratory testing charter for a feature","category":"coding","type":"analyze","technique":"checklist","kind":"unslop","tags":["analyze","charter","checklist","coding","exploratory","feature","testing"],"about":"Write three 45-minute exploratory testing charters for the feature below. Each: mission (one sentence), areas to touch, data to use, what to look for,...","url":"https://jackgross-five.vercel.app/prompt-index/p/u27.json"},{"id":"u28","title":"Review my tests: do they fail when the code breaks?","category":"coding","type":"review","technique":"rubric","kind":"unslop","tags":["breaks","code","coding","fail","review","rubric","tests","they","when"],"about":"Review the tests below. For each test say what bug it would catch and what simple code change (flip a condition, drop a call, return a default) would...","url":"https://jackgross-five.vercel.app/prompt-index/p/u28.json"},{"id":"u29","title":"Triage a bug list by user impact","category":"coding","type":"classify","technique":"rubric","kind":"unslop","tags":["bug","classify","coding","impact","list","rubric","triage","user"],"about":"Triage the bugs below. For each, classify severity (blocks task, degrades task, cosmetic), reach (who and how many), workaround (yes / no), and regres...","url":"https://jackgross-five.vercel.app/prompt-index/p/u29.json"},{"id":"u55","title":"Explain this code to a new teammate","category":"coding","type":"explain","technique":"direct","kind":"unslop","tags":["code","coding","direct","explain","teammate"],"about":"Explain the code below to a developer new to this codebase. Start with what problem it solves and where it is called from. Then walk through the contr...","url":"https://jackgross-five.vercel.app/prompt-index/p/u55.json"},{"id":"t15","title":"Write [SUBJECT]","category":"coding","type":"generate","technique":"any (14 variants)","kind":"template","tags":["add","assumptions","coding","framework","generate","keep","language","list","made","one"],"about":"Write [SUBJECT] in [LANGUAGE/FRAMEWORK]. Keep it small, add one test, and list the assumptions you made.","url":"https://jackgross-five.vercel.app/prompt-index/t/15.json"},{"id":"t16","title":"Diagnose a failure in [SUBJECT]","category":"coding","type":"debug","technique":"any (14 variants)","kind":"template","tags":["below","causes","code","coding","confirm","debug","described","diagnose","each","fails"],"about":"The code for [SUBJECT] fails as described below. List the three most likely causes in order, how to confirm each, and the smallest fix.","url":"https://jackgross-five.vercel.app/prompt-index/t/16.json"},{"id":"t17","title":"Review [SUBJECT]","category":"coding","type":"review","technique":"any (14 variants)","kind":"template","tags":["can","coding","correctness","first","issues","line","only","point","readability","report"],"about":"Review [SUBJECT] for correctness first, then security, then readability. Report only issues you can point to a line for.","url":"https://jackgross-five.vercel.app/prompt-index/t/17.json"},{"id":"t18","title":"Refactor [SUBJECT]","category":"coding","type":"rewrite","technique":"any (14 variants)","kind":"template","tags":["behavior","change","changing","coding","complexity","diff","each","explain","line","one"],"about":"Refactor [SUBJECT] to reduce complexity without changing behavior. Show the diff and explain each change in one line.","url":"https://jackgross-five.vercel.app/prompt-index/t/18.json"},{"id":"t19","title":"Test [SUBJECT]","category":"coding","type":"generate","technique":"any (14 variants)","kind":"template","tags":["against","cases","coding","each","edge","failure","generate","normal","protects","say"],"about":"Write tests for [SUBJECT]: normal cases, edge cases and two failure cases. Say what each test protects against.","url":"https://jackgross-five.vercel.app/prompt-index/t/19.json"},{"id":"t20","title":"Explain [SUBJECT] to a new teammate","category":"coding","type":"explain","technique":"any (14 variants)","kind":"template","tags":["coding","developer","explain","finish","how","joined","one","request","start","teammate"],"about":"Explain how [SUBJECT] works to a developer who joined today. Walk through one request from start to finish.","url":"https://jackgross-five.vercel.app/prompt-index/t/20.json"},{"id":"t21","title":"Find performance risks in [SUBJECT]","category":"coding","type":"analyze","technique":"any (14 variants)","kind":"template","tags":["analyze","anything","before","bottlenecks","changing","coding","each","find","how","likely"],"about":"Find the likely performance bottlenecks in [SUBJECT]. For each, say how to measure it before changing anything.","url":"https://jackgross-five.vercel.app/prompt-index/t/21.json"},{"id":"t22","title":"Find security risks in [SUBJECT]","category":"coding","type":"analyze","technique":"any (14 variants)","kind":"template","tags":["analyze","attacker","below","coding","each","find","impact","input","list","needs"],"about":"List security risks in [SUBJECT] using the input below. Rank by impact and say what an attacker needs for each.","url":"https://jackgross-five.vercel.app/prompt-index/t/22.json"},{"id":"t23","title":"Plan the migration of [SUBJECT]","category":"coding","type":"plan","technique":"any (14 variants)","kind":"template","tags":["check","coding","each","migration","plan","proves","rollback","stage","step","step-by-step"],"about":"Plan a step-by-step migration of [SUBJECT] with a rollback step for each stage and a check that proves the stage worked.","url":"https://jackgross-five.vercel.app/prompt-index/t/23.json"},{"id":"t24","title":"Document [SUBJECT]","category":"coding","type":"generate","technique":"any (14 variants)","kind":"template","tags":["coding","document","documentation","example","failure","generate","known","limits","modes","one"],"about":"Write documentation for [SUBJECT]: purpose, usage with one runnable example, limits and known failure modes.","url":"https://jackgross-five.vercel.app/prompt-index/t/24.json"},{"id":"t25","title":"Summarize the interface of [SUBJECT]","category":"coding","type":"extract","technique":"any (14 variants)","kind":"template","tags":["below","code","coding","effects","errors","extract","inputs","interface","outputs","public"],"about":"From the code below, extract the public interface of [SUBJECT]: inputs, outputs, errors, side effects.","url":"https://jackgross-five.vercel.app/prompt-index/t/25.json"},{"id":"t26","title":"Compare two designs for [SUBJECT]","category":"coding","type":"evaluate","technique":"any (14 variants)","kind":"template","tags":["behavior","below","change","coding","compare","complexity","cost","designs","evaluate","failure"],"about":"Compare the two designs below for [SUBJECT] on complexity, failure behavior and cost to change. Recommend one and say what would change your mind.","url":"https://jackgross-five.vercel.app/prompt-index/t/26.json"},{"id":"t27","title":"Triage bugs in [SUBJECT]","category":"coding","type":"classify","technique":"any (14 variants)","kind":"template","tags":["about","below","bug","bugs","classify","coding","cosmetic","crash","duplicates","mark"],"about":"Sort the bug reports below about [SUBJECT] into: crash, wrong result, slow, cosmetic. Mark duplicates.","url":"https://jackgross-five.vercel.app/prompt-index/t/27.json"},{"id":"t28","title":"List edge cases for [SUBJECT]","category":"coding","type":"brainstorm","technique":"any (14 variants)","kind":"template","tags":["brainstorm","cases","cause","coding","edge","first","grouped","implementation","likely","list"],"about":"List 15 edge cases for [SUBJECT] that a first implementation would likely miss, grouped by cause.","url":"https://jackgross-five.vercel.app/prompt-index/t/28.json"}]}