If you keep copying the same promptPromptThe text you give a model to work on, from a short question to long instructions with a role, context, examples and a required format. The quality of the output follows the clarity of the prompt more than its length. and changing two words, you need a template: a fixed prompt with blanks called variables that you fill on each use.
The shape of a variable
In Talqeen a variable is written in double curly braces:
Review this function written in {{language}}.
Focus on {{focus}} and name the line of every problem.
{{code}}Open such a prompt in the library and you get one field per variable to fill before copying. Prompts imported from prompts.chat write ${language}; the import converts them to the same form.
Name variables by meaning
{{language}} beats {{x}}. Use lowercase Latin letters and underscores ({{target_audience}}), and never one name for two meanings.
Defaults
Write common values in the template's description ("language: TypeScriptTypeScriptJavaScript with types: you write that this variable is a number and this function returns text, so type checking catches errors before running. It helps models too, since types tell them the shape of the data. if not given") so nobody is stuck on an empty field.
Keep long variables apart
Put long inputs at the end between clear markers:
<code>
{{code}}
</code>That separates your instructions from pasted input, and is a first line of defence against prompt injectionPrompt injectionText that slips into a model's input (from a user, a web page or a file) and tries to change its instructions, such as "ignore the above". The defence is treating outside text as data, with strict limits on permissions..
Do not forget a variable
The most common mistake is sending {{focus}} as is. Talqeen's prompt pages warn you about any empty field before you copy.
Templates in Claude Code
A slash commandSlash commandA command you type with a slash in Claude Code, such as /init. Custom commands are Markdown files in .claude/commands, each holding the prompt sent when you type its name. is Claude CodeClaude CodeA coding tool from Anthropic that runs in the terminal and editor inside your repository: it reads files, runs the commands it is allowed, and writes changes. You steer it with CLAUDE.md, settings, agents, commands and skills.'s template: a file in .claude/commands/ whose text is a prompt, with $ARGUMENTS for what you type after the command. Connect Talqeen's library serverServerA computer or program that waits for requests and answers them, such as a web server returning pages or a database server. What runs on the server the user cannot see, so secrets and checks belong there. with your personal tokenTokenThe unit a model reads and writes text in, which may be a word, part of one or a punctuation mark. Prices and context limits are counted in tokens, and Arabic text often needs more tokens than English of the same length. and your saved prompts appear as commands that ask for their variables.
Start with something you repeated three times this week and turn it into one template.