Skip to content
  1. Home
  2. Prompt libraries
  3. LangGPT

LangGPT

Structured prompt template framework with roles, rules and workflows

What it is

LangGPT is a template convention for writing prompts as structured documents with sections such as Role, Rules and Workflow, plus variables and reusable modules. The repository holds the templates, examples and a related paper, with documentation in English, Chinese and Japanese. Aimed at people who write and maintain many prompts.

Good for

  • Write a role prompt from a fixed template
  • Standardise prompts across a team
  • Ask a model to draft a structured prompt
Worth knowingMuch of the surrounding community material and many examples are in Chinese.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for writing & content

See the topic →
  • Fabric pattern: improve_writing

    danielmiessler/Fabric

    Tidy grammar, clarity and style without changing the meaning

    PromptsGitHub stars: 45k
  • AiShort (ChatGPT Shortcut)

    rockbenben/ChatGPT-Shortcut

    Searchable, tagged prompt library website you can also self-host

    PromptsGitHub stars: 8.9k
  • talk-normal

    hexiecs/talk-normal

    System prompt that cuts filler and padding from LLM answers

    PromptsGitHub stars: 1.9k
  • Academic Prompts collection

    Kiteflyingee/academic_prompts

    Common prompts for polishing and translating academic text

    PromptsGitHub stars: 1k