Prompt library

341 prompts · last added

20 results for “diff-analysis”

  • Pre-Merge Self-Review of a Git Diff: Correctness, Security, and Test Gaps

    Has Claude Code review a branch diff like a skeptical maintainer, producing severity-ranked findings with evidence and a clear merge, fix, or block recommendation. Use it before opening or approving a pull request.

  • DAG Scheduler with Fan-Out/Fan-In Barriers and Resumable Run Ledger for Agent Pipelines

    Guides Claude Code to build or refactor a dependency-aware DAG scheduler for agent phases, with cycle validation, bounded parallelism, join policies, retries, and an append-only run ledger so interrupted runs resume without redoing finished nodes.

  • Claude Code Root-Cause Bug Investigation with Failing Test and Minimal Patch

    Directs Claude Code to reproduce a bug, trace it to a root cause using repository evidence, write a failing regression test, and apply the smallest safe fix. Ends with a verified diff, risks, and next actions.

  • Claude Code Repo Recon and Implementation Plan for a New Feature

    Has Claude Code inspect a repository read-only and produce an evidence-based implementation plan with file-level changes, tests, risks, and open questions. Use it to decide whether to start, split, or clarify a feature before any code is written.

  • Test-First Bug Fix Skill: Reproduce, Fix, Prove (SKILL.md)

    A SKILL.md that forces your coding agent to reproduce a bug with a failing test before changing code, apply the smallest fix, and prove it with the test suite.

  • Agent Run Post-Mortem: Trace Root Cause and Prompt or Tool Fixes

    Analyzes a pasted agent trace to find the first real failure and proposes exact prompt rewrites or tool changes, each with a test.

  • Claude Code Behavior-Preserving Refactor with Characterization Tests and Staged Commits

    Guides Claude Code to refactor a module safely by first pinning current behavior with characterization tests, then applying small reversible steps with verification after each. Delivers a diff, risk register, and rollback plan.

  • Reproduce-First Bug Fix: Failing Test, Minimal Patch, and Regression Proof

    Directs Claude Code to reproduce a reported bug with a failing test, apply the smallest fix, and prove the fix with command output. Use it to decide whether a bug is fixed and safe to merge.

  • Conventional Commit and PR Description Writer Skill (SKILL.md)

    A ready-to-save SKILL.md that makes your coding agent write Conventional Commits messages and pull request descriptions from the staged diff, never from guesses.

  • Agent Session Handoff Brief with Resume Checklist and Verified State

    Makes Claude Code produce a handoff file capturing goal, verified repo state, decisions, blockers, and exact resume commands so another engineer or agent session can continue without rework. Use it before ending a long task.

  • Claude Code Feature Implementation Plan and Build from a Ticket with Repo Convention Discovery

    Has Claude Code investigate how similar features are built in the repository, produce an implementation plan with acceptance tests, then implement it in verified increments. Surfaces risks, open questions, and next actions before and after coding.

  • Characterization-Test-Backed Refactor with Incremental Commits

    Guides Claude Code to refactor a module safely by first pinning current behavior with characterization tests, then making small, reversible commits. Helps you decide whether the refactor preserved behavior and is worth merging.

  • Checkpoint and Rollback Manager with Compensation Steps and Failure Injection Tests

    Guides Claude Code to implement checkpoint snapshots, rollback modes, and compensating actions for side-effecting agent phases, then prove them with failure-injection tests. Helps you decide the rollback strategy per phase.

  • Debug an Error From the Message and the Code Around It

    Finds the most likely cause of an error from the message and the relevant code, ranks other possible causes, and gives the smallest fix plus a way to prove it worked.

  • Failing Test First Bug Fix

    Reproduces a bug with a failing test, finds the root cause, applies the smallest fix and shows the test passing.

  • Custom Slash Command Builder for Repeated Claude Code Tasks

    Turns a task you repeat into a custom slash command file with frontmatter, arguments, restricted allowed tools and a fixed output format.

  • Pre-Merge Code Review Checklist Skill (SKILL.md)

    A save-ready SKILL.md that has your coding agent review a branch before merge: correctness, security, tests and migrations, with findings ranked by severity and no style nitpicks.

  • Release Notes From Git Log Skill for Users and Developers (SKILL.md)

    A SKILL.md that writes release notes from the commits between two tags, split into a plain-language section for users and a technical changelog for developers.

  • Session Handoff Note for a Fresh Claude Code Session

    Writes a verified handoff file covering changes, decisions, open issues and next steps so a new Claude Code session can continue without re-reading the whole history.

  • Spreadsheet and CSV Cleanup Report Skill (SKILL.md)

    A SKILL.md that has your agent profile a messy CSV or spreadsheet, fix it in a copy with a script, and report every change so the cleaned data can be trusted.

Guide

Using the library

  1. Narrow the list by type, tool or topic, or search for the task you have.
  2. Copy a prompt from its card, or open it to read it in full and fill in the blanks first.
  3. Paste it into your AI tool and check the answer against the format the prompt asks for.

Nothing that fits? Write a prompt with AI.

What is in the prompt library?

341 copy-ready prompts for productivity, writing, business and coding and more. Each one sets the role, the steps and the output format, and marks the parts you fill in with curly brackets.

Which AI tools are the prompts written for?

Most are written for ChatGPT (285), Gemini (260), Claude (217) and Claude Code (42); the number is how many prompts list that tool. Each prompt page lists its tools, and most text prompts also work in any capable chat model.

What are the highlighted blanks?

Words in curly brackets, such as {audience}, are the parts you replace with your own details. Choose “Ready to use (no blanks)” in the filters to see prompts you can paste as they are.

How are the prompts sorted?

By how often they are copied, unless you choose another order. Newest shows the latest additions first. Trending ranks prompts by copies, opens and saves over the last two weeks.

Do I need an account?

No. Every prompt is free to copy or open in your AI tool. A free account lets you save prompts to your vault.

Can I write my own prompt?

Yes. Write with AI asks what you need, builds a short form for it, and writes the prompt as you fill it in.