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.
src/components/ai/prompt-library.tsxFull 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.
- StarredExecutive summary
Summarise the following document in 5 bullet points an exec would skim. Keep each bullet under 18 words. Lead with the strongest insight.
summaryeditingPR review checklistReview 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 - WritingLanding 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.
copylandingTone matchRewrite this text in the tone of {{author}}. Preserve every fact; change only voice and rhythm.
rewrite - EngineeringBug reproduction
Given this stack trace and the surrounding code, write the smallest failing test that reproduces the bug.
debugging - RAGRAG 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
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.
- StarredExecutive summary
Summarise the following document in 5 bullet points an exec would skim. Keep each bullet under 18 words. Lead with the strongest insight.
summaryeditingPR review checklistReview 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 - WritingLanding 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.
copylandingTone matchRewrite this text in the tone of {{author}}. Preserve every fact; change only voice and rhythm.
rewrite - EngineeringBug reproduction
Given this stack trace and the surrounding code, write the smallest failing test that reproduces the bug.
debugging - RAGRAG 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