Pack 322 · AI · 22 items
Legacy Code & Hard Bugs Pack
20 prompts + 2 skills for legacy code, refactoring and hard-to-find bugs — real jobs from the week, with the steps, rules and output an expert would ask for.
€6one-time · 22 prompts & skills · ≈ €0.27 each
- Instant download
- Yours to keep
- Works in ChatGPT, Claude, Gemini
What's inside
Made for legacy code, refactoring and hard-to-find bugs
20 prompts + 2 skills- PromptAsync/Await And Promise Pitfall Review
Finds unawaited promises, swallowed rejections, and sequential-vs-parallel mistakes in async JavaScript or TypeScript.
- PromptCross-Language Bug Translation Review
Reviews code ported between languages for semantic mistranslations in types, errors, and standard-library behavior.
- PromptFloating-Point And Numeric Precision Bug Review
Detects precision loss, comparison errors, and rounding bugs in numeric and financial code.
- PromptGit Bisect And Regression Localization Plan
Designs a bisect-driven strategy to pinpoint the commit that introduced a regression and confirm the culprit.
- PromptHeisenbug Reproduction Strategy
Builds a systematic plan to reliably reproduce a rare, hard-to-trigger intermittent bug before attempting a fix.
- PromptLegacy Code Comprehension And Bug Hunt
Explains an unfamiliar legacy file and surfaces latent bugs and risky areas before you change it.
- PromptMemory Leak And Resource Exhaustion Investigation
Tracks down growing memory, unclosed handles, and unbounded structures, then recommends bounded, leak-free patterns.
- PromptOff-By-One And Boundary Bug Localizer
Pinpoints index, loop bound, and slicing errors by exhaustively reasoning through boundary inputs.
- PromptAlgorithm Complexity And Optimization Coach
Analyzes time/space complexity of code and proposes algorithmic improvements with honest trade-offs.
- PromptCode Smell Detector With Refactoring Recipes
Identifies named code smells in a snippet and prescribes the matching refactoring with before/after examples.
- PromptDistributed Systems Failure Mode Reviewer
Stress-tests a distributed design against partition, retry, ordering, and partial-failure scenarios.
- PromptGit History Forensics And Bisect Guide
Uses git history and bisection logic to localize the commit that introduced a regression with minimal steps.
- PromptIdiomatic Code Translation Between Languages
Ports code to a target language using native idioms and libraries, not a literal line-by-line transliteration.
- PromptLegacy Code Refactoring Strategist
Plans a safe, incremental refactor of tangled legacy code with characterization tests and reversible seams.
- PromptMemory Leak And Resource Exhaustion Analyst
Hunts memory leaks and resource exhaustion by tracing object retention and lifecycle, with targeted instrumentation.
- PromptPair Programming Socratic Mentor
Coaches a developer through a problem by asking guiding questions and revealing solutions only on request.
- PromptRegex Builder And Explainer
Constructs a precise, safe regular expression and explains each component, with tests and ReDoS warnings.
- PromptSecurity-Focused Code Review For Pull Requests
Reviews a diff specifically for security vulnerabilities, mapping findings to severity, exploit path, and concrete fixes.
- PromptSelf-Critiquing Code Generator
Generates a solution, then adversarially critiques and revises it before presenting a hardened final version.
- PromptUnit Test Generator With Edge Case Coverage
Generates a complete test suite that maps each assertion to a behavior, prioritizing boundaries and failure modes.
- SkillLegacy Code Refactoring Strategist
Plans safe, incremental refactors of legacy systems using characterization tests and strangler patterns.
- SkillPrompt Refactoring & Modernization Consultant
Modernizes legacy prompts to current best practices, removing anti-patterns and aligning with new model capabilities.
What you download
Everything comes in one pack (.zip) you keep. Start with 00-GIVE-THIS-TO-YOUR-AI.md: paste it into your AI and it knows which file to use for which job, and what to ask you first.
More for Developers
legacy-code-hard-bugs/ ├─ 00-GIVE-THIS-TO-YOUR-AI.md ├─ START-HERE.md ├─ TIPS-AND-FOLLOW-UPS.md ├─ AI-CHEAT-SHEET.md ├─ prompts/ │ ├─ 01-asyncawait-and-promise-pitfall-review.md │ ├─ 02-cross-language-bug-translation-review.md │ ├─ 03-floating-point-and-numeric-precision-bug-review.md │ ├─ 04-git-bisect-and-regression-localization-plan.md │ ├─ 05-heisenbug-reproduction-strategy.md │ ├─ 06-legacy-code-comprehension-and-bug-hunt.md │ ├─ 07-memory-leak-and-resource-exhaustion-investigation.md │ ├─ 08-off-by-one-and-boundary-bug-localizer.md │ ├─ 09-algorithm-complexity-and-optimization-coach.md │ ├─ 10-code-smell-detector-with-refactoring-recipes.md │ ├─ 11-distributed-systems-failure-mode-reviewer.md │ ├─ 12-git-history-forensics-and-bisect-guide.md │ ├─ 13-idiomatic-code-translation-between-languages.md │ ├─ 14-legacy-code-refactoring-strategist.md │ ├─ 15-memory-leak-and-resource-exhaustion-analyst.md │ ├─ 16-pair-programming-socratic-mentor.md │ ├─ 17-regex-builder-and-explainer.md │ ├─ 18-security-focused-code-review-for-pull-requests.md │ ├─ 19-self-critiquing-code-generator.md │ └─ 20-unit-test-generator-with-edge-case-coverage.md └─ skills/ ├─ legacy-code-refactoring-strategist/SKILL.md └─ prompt-refactoring-modernization-consultant/SKILL.md
A look inside
ROLE: You are a JavaScript/TypeScript reviewer specializing in asynchronous code correctness. CONTEXT: The async code below runs in [NODE/BROWSER/DENO]. Reported issue: [UNHANDLED_REJECTION / SLOW / RACE / …
Questions
What do I get?
A .zip with 20 prompts + 2 skills for legacy code, refactoring and hard-to-find bugs: each prompt as a ready .md file, each skill as a SKILL.md folder, plus 00-GIVE-THIS-TO-YOUR-AI.md (a start file your AI reads first), START-HERE.md, TIPS-AND-FOLLOW-UPS.md (tips and the follow-up questions for every file) and the free AI cheat sheet.
How do I use it?
Open ChatGPT, Claude or Gemini and paste 00-GIVE-THIS-TO-YOUR-AI.md, or attach the folder. It asks a few questions about your work once, then picks the right file for each job and fills in the blanks.
Is it a subscription?
No. €6 once, and the files are yours to keep. Nothing renews.
How do I download it?
Right after checkout, on the confirmation page. Sign in later with the email you paid with and the download button waits for you on this page.
Why this price?
Packs are priced by what they hold: €0.50 a prompt and €1 a skill. This one is €6, about €0.27 an item.