Few-Shot Learning
Providing 3 labeled examples teaches the model the exact output format and classification logic without needing a long explanation. The model generalizes the pattern to new inputs.
Convert the following customer feedback into a structured tag. Here are examples:\n\nFeedback: "The app crashes every time I try to upload a photo"\nTag: bug:upload, severity:critical, component:media\n\nFeedback: "Would love a dark mode option"\nTag: feature-request:ui, priority:low, component:settings\n\nFeedback: "Checkout is confusing, I almost gave up"\nTag: ux-issue:checkout, severity:high, component:payments\n\nNow classify this feedback:\nFeedback: "{{customer_feedback}}"\nTag:Variables to customize
Why this prompt works
Providing 3 labeled examples teaches the model the exact output format and classification logic without needing a long explanation. The model generalizes the pattern to new inputs.
Save this prompt to your library
Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.
Related prompts
Forcing the agent to plan before acting prevents premature execution and wasted steps. Explicit dependency mapping enables parallel execution and catches logical gaps early.
Tool Selection AgentThe ReAct pattern (Reason + Act) creates an explicit reasoning trace that improves tool selection accuracy. The error-handling rule prevents infinite retry loops.
Prompt CompressorExplicitly requiring all functional requirements to be preserved prevents the model from over-compressing and losing critical instructions.
Memory Management AgentExplicit memory read/write instructions create agents that improve over time. Categorization keeps memories organized, and the deduplication rule prevents context bloat.