Individual skill

template-design

Creating reusable, parameterised prompt templates for consistent outputs.

claude-plugin/prompt-architecture/skills/template-design/SKILL.md

Read pinned source

Source commit f41b650435b62dec6d5b1dc3598ac4679f8b7ae7

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
Yes
Observed behavior
Instructions only
Last checked
Nov 11, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
203
Repository last updated
Jun 9, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt
# Template Design
A prompt template is a reusable prompt structure with variable slots that get filled at runtime. Templates create consistency across similar tasks and make prompt management scalable.
## Template Anatomy
A template has:
- **Fixed text**: The parts that stay the same every time (instructions, format, role)
- **Variables**: Slots that get filled with specific content (user input, retrieved data, configuration)
- **Conditional sections**: Parts that appear or disappear based on context
- **Default values**: What fills a variable if no specific value is provided
## Designing Variables
Each variable should be:
- **Named clearly**: `{user_query}` not `{input1}`
- **Typed**: Is it free text, a selection from options, a number, a boolean?
- **Bounded**: What are valid values? What's the maximum length?
- **Documented**: What is this variable for? Where does its value come from?
- **Defaulted**: What happens if the value is missing?
Back to top