SOP Prompt Usage Guide

This file describes how to use Langfuse-backed behaviors for creating and refining SOPs.


Canonical Langfuse Prompts

1. sop.generator.v1

Purpose: Generate a step-by-step SOP using a template + process description.
Inputs:

  • template_markdown
  • workflow_description
  • responsibilities
  • prerequisites

2. sop.cleaner.v1

Purpose: Rewrite SOPs for clarity, simplicity, and actionability.
Inputs:

  • draft_sop
  • desired tone
  • formatting constraints

How to Use in Cursor

Generate a SOP

“Act according to Langfuse prompt sop.generator.v1.
Use the SOP template in this file and the process description I provide to draft a complete SOP.”

Clean Up a SOP

“Act according to Langfuse prompt sop.cleaner.v1.
Rewrite the SOP in clearer, more structured steps. Ensure it is actionable and unambiguous.”


Usage Guidance

Use sop.generator.v1 during initial creation.
Use sop.cleaner.v1 when the structure exists but readability or ordering needs improvement.