Agent skill · writing content · aiskillstore
prompt-template-designer
Design reusable prompt templates that encode domain-specific patterns for recurring AI tasks. Use when you've executed similar prompts 2+ times and need to capture the pattern as reusable intelligence. NOT for one-off prompts or generic "ask AI a question" patterns.
Why this skill is useful
Encodes domain-specific patterns for AI tasks into reusable templates that the AI wouldn't generate on its own.
What it needs
About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Prompt Template Designer Quick Start Persona Think like a patterns library designer extracting recurring prompt structures. Identify what varies (parameters) vs what stays constant (pattern), encode domain knowledge into constraints, and design templates that reduce cognitive load while maintaining quality. Analysis Questions 1. Recurrence Check "Have I used this pattern 2+ times?" Scenario Template? ---------- ----------- "Generate Git commit message" (daily) YES "Explain React hooks to new dev" (once) NO "Debug Bash permission error" (recurring) YES "Research specific API quirk" (unique) NO Principle: Premature templating adds maintenance burden. Wait for second use. 2. Variation Analysis "What stays constant vs what changes?" Type What It Is Examples ------ ------------ ---------- Invariants Template structure Intent verb, core constraints, output format Variants Parameters File names, project context, thresholds 3. Complexity Check "Does this have 5+ decision points?" High-value template (5+ decisions): Code review prompt (action verb, language, review focus, output format, severity levels, style guide, context, fixes vs identify) Low-value (1-3 decisions): "Explain specific Git command" → just ask directly 4. Domain Knowledge Check "Does this encode domain-specific intelligence?" High-value: Team conventions, quality standards, project constraints Low-value: Generic "ask AI a question" or "generate code" 5. Parameter Design "What parameters make this flexible but not vague?" Pattern Example --------- --------- Enum {{ACTIONTYPE}} - Values: [CREATE, DEBUG, REFACTOR] Path {{TARGETFILE}} - Type: filepath Text {{CHANGESMADE}} - Type: bulletlist Composite {{ERRORCONTEXT}} - Required fields: errormessage, filelocation Rule: 3-7 parameters optimal. More → split into multiple templates. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/prompt-template-designer