Developers

Prompt

Learn about prompts in Char

Development

  • In VSCode-like editor, Better Jinja extension is recommended.
  • We use .md.jinja extension for Jinja Markdown highlighting. If it doesn't work, you can change the language manually.

In-app prompt workbench

The desktop app includes a split-pane prompt editor under Settings > Personalization > Advanced. The left pane is a Jinja template source editor and the right pane shows a live-formatted draft preview. Draggable insert chips let you drop available template variables and filters into the editor without memorizing their names. A scoped prompt assistant (powered by the configured LLM) can suggest rewrites and structural improvements to the template.

Guidelines

For consistency, we maintain guidelines for prompts in AGENTS.md files.