Skip to content

System Prompt Contribution Guide

This guide explains how to contribute to and maintain the rover-agent system prompts with consistent weighting strategies.

Our system prompts use a structured weighting approach based on four key concepts:

Direct, unambiguous instructions using strong language.

  • Use: You **MUST**, **NEVER**, **ALWAYS**
  • Avoid: “should”, “try”, “consider”, “might”
  • Purpose: Critical behaviors that cannot be violated
  • Example: You **MUST** use non-offer tools FIRST for product knowledge

Safety nets and boundary conditions to prevent unwanted behavior.

  • Use: **NEVER** show offers with low relevancy scores
  • Use: If no relevant offers match, simply answer without mentioning offers
  • Purpose: Prevent edge cases and undesired outputs
  • Example: **NEVER** create components with fake data

Knowledge and context the agent needs to make good decisions.

  • Use: Clear explanations of what tools provide
  • Use: OFFERS: Provide points to users, contain products but NO pricing/popularity data
  • Purpose: Give agent understanding of capabilities and limitations
  • Example: Tool descriptions, data source explanations

Gentle guidance and preferences for style/tone.

  • Use: “Keep it snappy with personality”
  • Use: “Be warm and conversational”
  • Purpose: Influence tone and approach without being mandatory
  • Example: Voice and tone guidelines

All section headers MUST use brackets:

[CRITICAL RULES - MUST FOLLOW]
[TOOL UNDERSTANDING]
[OFFER PRESENTATION RULES]

Use bullet points with for consistency:

• **NEVER** show irrelevant offers
• **ALWAYS** check relevancy scores
• Filter offers by relevancy threshold

Based on research showing beginning/end instructions are retained better:

  1. Critical Commands - Place at very beginning and end
  2. Guards - Near critical sections they protect
  3. Inform - Middle sections with context
  4. Nudge - Throughout for tone/style
  • You **MUST**
  • **NEVER**
  • **ALWAYS**
  • **ONLY**
  • CRITICAL:
  • “should”
  • “try to”
  • “consider”
  • “might”
  • “could”
  • “prefer”
[CRITICAL RULES - MUST FOLLOW] ← Commands (Highest Weight)
You **MUST**:
1. Use non-offer tools FIRST
2. **NEVER** skip offer search after finding products
[TOOL UNDERSTANDING] ← Inform (Medium Weight)
• OFFERS: Provide points, contain products
• WEB SEARCH: Has pricing, reviews, popularity
[GUARDS - SAFETY RULES] ← Guards (High Weight)
You **MUST**:
• **NEVER** show offers with low relevancy scores
• If no relevant offers, respond without mentioning offers
[VOICE & TONE GUIDE] ← Nudge (Lower Weight)
- Keep it snappy with personality
- Be warm and conversational
[CRITICAL RULES REMINDER] ← Commands (Highest Weight)
Remember, you **MUST**:
1. Use non-offer tools FIRST
2. **NEVER** skip the offer search
[TOOL SELECTION RULES]
You **MUST**: ← Command
• **ALWAYS** use [specific tool] for [specific case] ← Command
• **NEVER** go directly to offers without research ← Guard
• Both tools return full data including points ← Inform
[ERROR HANDLING]
You **MUST**: ← Command
• **NEVER** lead with "I couldn't find..." ← Guard
• **ALWAYS** pivot with helpful alternatives ← Command
• Keep energy high even when searches fail ← Nudge
[DATA QUALITY RULES]
You **MUST**: ← Command
• **NEVER** invent data, IDs, or point values ← Guard
• **ONLY** use real data from tool responses ← Command
• Tool responses contain relevancy scores ← Inform
  1. Determine weight level (Command/Guard/Inform/Nudge)
  2. Use appropriate language strength
  3. Place in correct section based on weight
  4. Ensure consistency with existing patterns
  1. Maintain or increase weight level (never decrease)
  2. Keep consistent language patterns
  3. Update both beginning and end if it’s a critical rule
  4. Test that the change doesn’t contradict other rules
  1. Check for consistency in language strength
  2. Verify critical rules appear at beginning and end
  3. Ensure no contradictions between sections
  4. Test with edge cases that guards are meant to prevent
  • conversational-v1.txt - Legacy version
  • conversational-v2.txt - Current weighted version
  • Always increment version when making major changes
  • Update config.json to reference new default version

Before submitting prompt changes:

  • All headers use bracket formatting
  • Critical rules use MUST/NEVER language
  • Guards prevent edge cases
  • No weak language (“should”, “try”, “consider”)
  • Bullet points use consistently
  • Critical rules appear at beginning and end
  • No contradictions between sections
  • New rules follow established patterns