Prompt library

336 prompts · last added

49 results for “code-quality” · page 1 of 3

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

  • Cursor Characterization-Test-First Refactor of a Legacy Module

    Has Cursor lock in current behavior with characterization tests before restructuring a legacy module in small steps, so you can decide whether the refactor preserved behavior and is safe to merge.

  • Codex Characterization-Test-First Refactor with Verification Handoff

    Runs a behavior-preserving refactor in Codex exec. It pins current behavior with characterization tests, refactors in small verified steps inside an allowed scope, and ends with an evidence-based handoff for the merge decision.

  • Codex Pre-Merge Diff Review with Severity-Ranked Findings

    Has Codex review a branch diff against a base ref in read-only mode. It checks correctness, tests, security, and maintainability, and returns evidence-backed findings with severity and a merge recommendation.

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

  • Codex Exec CI Fixer: Diagnose, Minimal Fix, Rerun, Stop After 3 Attempts

    Gives codex exec a non-interactive procedure to diagnose a failing CI output, apply a minimal fix, rerun the checks and stop after three attempts with a clear report.

  • Claude Code Hook Writer: Auto-Run Lint, Typecheck or Tests After Edits

    Produces a PostToolUse hook entry for settings.json, the script it calls and a concrete procedure to test that the check runs after file edits.

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

  • Recurring Workflow to SKILL.md with Trigger, Steps and Verification

    Claude Code interviews you briefly about a repeated workflow and writes a complete SKILL.md with a precise trigger description, steps, supporting files and a verification step.

  • Cursor Incremental Dependency Migration Plan and Codemod Execution

    Plans and executes a library or framework version migration in Cursor in small, verifiable batches, with an impact inventory, rollback points, and per-batch test gates instead of one risky bulk edit.

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

  • Coding Agent Task Brief with Guardrails, Test Plan, and Rollback Steps

    Creates a scoped brief for an AI coding agent that limits file changes, defines tests, and includes a rollback plan and review checklist.

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

  • Parallel Git Worktree Task Split with Interface Contracts and Merge Order

    Turns a pasted feature spec into independent coding-agent tasks with file ownership, interface contracts, a merge order and a done command for each task.

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

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

  • Research, Writer and Editor Agent Pipeline With a Handoff Schema

    Designs a three-agent content pipeline where a researcher, writer and editor pass structured handoffs, with the exact fields each agent receives and returns and checks between stages.

  • Manual Recurring Task to Automation Blueprint for Zapier, Make, or n8n

    Analyzes a recurring manual task and produces an automation blueprint with trigger, steps, data mapping, error handling, and a test plan. It also helps you decide whether the task is worth automating at all.

  • Pricing Pushback Response Playbook with Value Reframe and Concession Rules

    Diagnoses what a price objection really means and builds response scripts, trade-based concession rules, and escalation criteria. It helps a rep decide whether to hold price, trade scope, or walk away.

  • Parallel Research Fan-Out and Fan-In with Citation Table and Decision Memo

    Splits a research question across parallel research agents, defines source discovery and evidence review steps, merges findings into a citation table, and produces a decision memo without claiming live browsing.

  • Evidence Review Plan for a Classroom Teaching Strategy Decision

    Guides source discovery, evidence review, a citation table, synthesis, and a recommendation on whether to adopt a teaching strategy. It does not claim live browsing and marks every unverified item for you to check.

  • Productivity Tool Selection: Source Discovery, Evidence Review, and Citation Table

    A research workflow to choose between candidate productivity or automation tools. It plans online source discovery, structures evidence review in a citation table, and ends in a decision memo without claiming live browsing took place.

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

  • Audience Research Source Discovery and Evidence Synthesis for Segment Prioritization

    Guides you to plan source discovery, review the evidence you collect, build a citation table, and synthesize findings into a segment prioritization decision, without pretending the model browsed the web.

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.