Skip to main content
Back to Library
Prompt Engineering Guide

Mastering Poetry generation
on Command R+

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

The "Vibe" Prompt

"Write a poem about a lost star."
Low specificity, inconsistent output

Optimized Version

STABLE
Imagine you are a renowned poet, skilled in crafting evocative and emotionally resonant verse. Your task is to compose a poem (free verse, 4 stanzas, 4-6 lines per stanza) about a star that has been lost from its constellation. Consider the following: 1. **Perspective:** The star itself, reflecting on its journey or current state. 2. **Themes:** Solitude, wonder, existential musings, searching for belonging. 3. **Imagery:** Focus on cosmic elements (nebulae, dark matter, distant galaxies), light and darkness, silence. 4. **Tone:** Melancholy but with a hint of quiet hope or acceptance. Structure your creative process as follows: * **Step 1: Brainstorm core concepts.** Generate 3-5 unique ideas for the star's 'loss' and its immediate feelings. Select the most compelling one. * **Step 2: Outline stanza themes.** For each of the four stanzas, write a brief sentence or two describing its primary thematic focus. * **Step 3: Draft poetic lines.** For each outlined stanza theme, compose the 4-6 lines, paying close attention to word choice, metaphor, and rhythm. * **Step 4: Refine and review.** Read the complete poem aloud. Check for flow, consistency in tone, powerful imagery, and emotional impact. Make any necessary revisions to enhance clarity and poetic quality. Finally, present the completed poem. Do not include your intermediate steps, only the finished poem.
Structured, task-focused, reduced hallucinations

Engineering Rationale

The optimized prompt works by providing a clear persona for the AI, explicit constraints on length and style, and a highly structured chain-of-thought process that guides the AI through brainstorming, outlining, drafting, and refining. This breaks down the complex task of poetry generation into manageable steps, ensuring a more coherent, high-quality, and stylistically consistent output. It reduces ambiguity and encourages the AI to 'think' through the creative process, rather than simply generating a quick, unreflective response. The specific imagery and thematic guidelines further focus the output.

0%
Token Efficiency Gain
The generated poem strictly adheres to the 'free verse, 4 stanzas, 4-6 lines per stanza' constraint.
The poem successfully incorporates themes of solitude, wonder, and existential musings.
The imagery in the poem prominently features cosmic elements like nebulae, dark matter, or galaxies.

Ready to stop burning tokens?

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

Optimize My Prompts