Prompt library

336 prompts · last added

47 results for “edge-cases” · page 1 of 2

  • Unit Test Plan and Test Code for an Existing Function

    Builds a behavior-based test matrix for a function or module and then generates test code in your framework. Covers edge cases, failures, and mocking boundaries, with coverage gaps stated honestly.

  • Edge-Case Test Suite for One Function in Your Existing Test Framework

    Writes tests for a single function that cover normal inputs, boundaries, bad input and error paths, in the test framework your project already uses.

  • 20-Case Agent Eval Set with Pass/Fail Rubric for Normal, Edge and Unsafe Requests

    Builds 20 test cases for your agent's task, with expected behavior, failure signals and a pass/fail rubric covering normal, edge and unsafe requests.

  • Custom GPT Blueprint: Instructions, Knowledge Files, and Test Cases

    Plan a custom GPT before building it. Produces the instruction text, knowledge file plan, conversation starters, and a test set so you can decide whether to build, narrow, or skip it.

  • 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.

  • Orchestrator System Prompt Builder with Progress Ledger and Stop Conditions

    Writes a ready-to-deploy orchestrator system prompt that delegates to your workers, tracks progress in a ledger, merges results and stops on defined conditions.

  • Characterization Tests Before a Refactor

    Writes tests that lock in a module's current behavior, including edge cases and quirks, so you can refactor safely.

  • Interview Me Then Plan: Requirements Interview Before Any Code

    Claude Code questions you about a feature's requirements and edge cases, then delivers an implementation plan with acceptance criteria and test commands, without writing code first.

  • Write Custom Gem Instructions for a Recurring Task with Drive Knowledge Files

    Produces complete Gemini Gem instructions with a persona, steps, output format and a list of Google Drive files to attach as knowledge.

  • Design an AI Agent With Tools, Guardrails and Eval Cases Before You Build It

    Turns an agent idea into a build-ready design: the job, the tools with their inputs and permissions, guardrails, failure handling and a set of evaluation cases to test it.

  • Regex Builder With Match and No-Match Test Cases

    Builds a regular expression from a plain-English description and example strings, explains each part, and proves it against strings that should and should not match.

  • Dependency Graph Planner for a Multi-Agent Software Release Workflow

    Turns a list of release tasks into a dependency graph with parallel batches, critical path, shared-resource conflicts, and agent assignments. Supports the decision on what to run now versus wait on.

  • Cursor Agent Bug Triage: Reproduce, Root-Cause, Fix, and Regression Test

    Guides Cursor Agent through reproducing a bug, isolating the root cause with evidence, applying a minimal diff, and adding a regression test, ending with a verification checklist and risks.

  • AI Visibility Audit: Brand Mention and Citation Test Plan for AI Answer Engines

    Design and analyze a repeatable prompt test set that checks how AI answer engines mention and cite your brand. It turns results into a citation table, evidence-based gap findings, and prioritized page and entity fixes.

  • Typed Phase Handoff Contracts and Validator for Multi-Agent Pipelines

    Has Claude Code define schema-based handoff contracts between agent phases, generate a validator, and add contract tests. Supports the decision of which phase boundaries need strict contracts versus lightweight checks.

  • 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.

  • Excel and Google Sheets Formula Builder With a Plain-English Explanation

    Writes the formula for what you want a spreadsheet to do, in both Excel and Google Sheets syntax, explains each part, and gives a test case so you can check it works.

  • Custom GPT Builder: Full Instructions, Starters, Files and Boundaries

    Produces a complete Custom GPT spec with instructions, four conversation starters, a knowledge-file plan, refusal boundaries and a default output format.

  • Eight-Objection Handling Playbook: Acknowledge, Ask, Reframe, Evidence

    Builds a playbook that answers the eight most likely objections for your product and buyer, each in four steps with honest evidence.

  • Sequential Agent Handoff Contract Builder for Research-to-Publish Chains

    Designs the handoff contracts, stop conditions, and review gates for a sequential chain such as researcher, writer, editor, and fact-checker. Helps you decide whether the chain is ready to run.

  • 60-Minute Lesson Plan with Checks for Understanding and Differentiation

    Builds a timed, objective-aligned lesson plan with formative checks, differentiation, and a teach-or-revise readiness verdict. It asks for missing inputs first and keeps assumptions separate.

  • Tool Permission Matrix and Function Spec for a Tool-Using Agent

    Produces a least-privilege tool inventory, function definitions, and approval rules for an agent that calls APIs or internal systems.

  • Agent Run Pre-Mortem and Self-Correction Loop Designer

    Designs verification checks, error handling, and a self-correction loop for an agent task before it runs, based on likely failure modes.

  • Pricing Change Decision Memo with Scenario Math and Test Plan

    Turns current pricing, cost, and customer data into a decision memo comparing hold, adjust, and repackage options, with scenario math, risks, and a controlled pricing test plan.

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?

336 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 Midjourney (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.