Skip to main content
Back to Library
Prompt Engineering Guide

Mastering Summarize document
on Command R+

Stop guessing. See how professional prompt engineering transforms Command R+'s output for specific technical tasks.

The "Vibe" Prompt

"Summarize the following document concisely. Document: {document}"
Low specificity, inconsistent output

Optimized Version

STABLE
You are an expert summarizer. Your task is to provide a concise and accurate summary of the provided document. Follow these steps: 1. Read the document carefully to understand its core topic and main arguments. 2. Identify the key entities, events, and conclusions presented. 3. Extract the most important sentences and phrases that capture the essence of the document. 4. Synthesize these extracted points into a coherent, flowing summary, ensuring no critical information is lost. 5. The summary should be no more than 5 sentences long. Document: {document} Summary:
Structured, task-focused, reduced hallucinations

Engineering Rationale

The optimized prompt leverages chain-of-thought by breaking down the summarization task into explicit, sequential steps. It also establishes a clear persona ('expert summarizer') and sets constraints (max 5 sentences) for the output. This structure guides the model to perform a more thorough and focused summarization, reducing the likelihood of irrelevant details or rambling. The explicit steps encourage a more methodical processing of the input and synthesis of information.

0%
Token Efficiency Gain
The optimized prompt consistently produces more focused summaries than the naive prompt.
The optimized prompt adheres to the sentence limit more reliably.
The optimized prompt's summaries are generally more informative per word than the naive prompt's.

Ready to stop burning tokens?

Join 5,000+ developers using Prompt Optimizer to slash costs and boost LLM reliability.

Optimize My Prompts