Prompts

Reusable prompt templates triggered with / in the client.

Prompts

Prompts are reusable templates you can trigger from the client by typing /. They live in ~/.jean2/prompts/ as markdown files.

File format

Each prompt is a .md file. The filename becomes the prompt name, the first heading is the description, and the rest is the template content.

~/.jean2/prompts/summarize.md:

# Summarize this file

Summarize the following content in a clear, concise way. Focus on key points and decisions.

ARG

This creates a prompt named summarize with the description "Summarize this file".

Using prompts

Type / in the client input to see all available prompts. Select one and fill in the arguments if it has any.

ARG

ARG defines a template variable. You can place it anywhere in the template:

Inline

Place ARG in the middle of your prompt to inject user input at a specific position:

# Refactor function

Refactor this function to be more readable:

ARG

Keep the same behavior and add inline comments.

When triggered, the user's input replaces ARG at that exact position in the prompt.

Auto-append

If you don't include ARG in the template, the user's input is appended to the end of the prompt:

# Explain like I'm 5

Explain the following concept in simple terms that anyone can understand. Use analogies and avoid jargon.

When triggered, whatever the user types gets appended after the template.

Multiple arguments

You can use multiple ARG placeholders with different names. Each one becomes a separate input field:

# Code review

Review the following code for bugs, performance issues, and style:

ARG

Focus especially on:

ARG

Tips

  • Keep prompts focused on one task — create separate files for separate workflows
  • The description (first heading) is what appears in the / picker, so make it clear and short
  • Prompts are re-scanned automatically — no restart needed after adding or editing files