prompts

Installation
SKILL.md

Version Your Prompts with LangWatch Prompts CLI

Determine Scope

If the user's request is general ("set up prompt versioning", "version my prompts"):

  • Read the full codebase to find all hardcoded prompt strings
  • Study git history to understand what changed and why: focus on agent behavior changes, prompt tweaks, bug fixes. Read commit messages for context.
  • Set up the Prompts CLI and create managed prompts for each hardcoded prompt
  • Update all application code to use langwatch.prompts.get()

If the user's request is specific ("version this prompt", "create a new prompt version"):

  • Focus on the specific prompt
  • Create or update the managed prompt
  • Update the relevant code to use langwatch.prompts.get()

In Langy, do not print the code change for the user to apply by hand: call code_access and follow the code-changes skill to make it on their machine or through GitHub.

Installs
112
GitHub Stars
3
First Seen
Mar 18, 2026
prompts — langwatch/skills