Config & playground

PromptLibrary

Searchable, starred, category-grouped saved-prompts panel. Universal feature for AI tools — a place to save your best prompts and pull them in with a click. Header search filters across title, body, tags, and category.

Sourcesrc/components/ai/prompt-library.tsx

Full library — search + star + delete + create

Click any row to fire onSelect. Hover the row for star and delete buttons; the + button creates a new entry (consumer wires the composer). Selected row stays highlighted across renders.

  • Starred
    Executive summary

    Summarise the following document in 5 bullet points an exec would skim. Keep each bullet under 18 words. Lead with the strongest insight.

    summaryediting
    PR review checklist

    Review this pull request against our quality bar: tests for new behavior, no dead code, no `any`, no console.log, lint clean. List concrete issues with file:line refs.

    reviewquality
  • Writing
    Landing page headline

    Generate 8 headline candidates for a {{product_type}} that does {{benefit}}. Mix structures: question, contrast, claim, time-frame, social proof. Keep each under 10 words.

    copylanding
    Tone match

    Rewrite this text in the tone of {{author}}. Preserve every fact; change only voice and rhythm.

    rewrite
  • Engineering
    Bug reproduction

    Given this stack trace and the surrounding code, write the smallest failing test that reproduces the bug.

    debugging
  • RAG
    RAG with strict citation

    Answer the question using only the provided sources. After every claim, add a [n] marker referencing the source index. If the sources don't contain the answer, say so.

    retrievalsafety
Last fired

Pick a prompt on the left.

Read-only library

Skip onStar / onDelete / onCreate to render a clean read-only list — useful for shared / org-wide prompt collections where editing isn't allowed at this surface.

  • Starred
    Executive summary

    Summarise the following document in 5 bullet points an exec would skim. Keep each bullet under 18 words. Lead with the strongest insight.

    summaryediting
    PR review checklist

    Review this pull request against our quality bar: tests for new behavior, no dead code, no `any`, no console.log, lint clean. List concrete issues with file:line refs.

    reviewquality
  • Writing
    Landing page headline

    Generate 8 headline candidates for a {{product_type}} that does {{benefit}}. Mix structures: question, contrast, claim, time-frame, social proof. Keep each under 10 words.

    copylanding
    Tone match

    Rewrite this text in the tone of {{author}}. Preserve every fact; change only voice and rhythm.

    rewrite
  • Engineering
    Bug reproduction

    Given this stack trace and the surrounding code, write the smallest failing test that reproduces the bug.

    debugging
  • RAG
    RAG with strict citation

    Answer the question using only the provided sources. After every claim, add a [n] marker referencing the source index. If the sources don't contain the answer, say so.

    retrievalsafety