prompt-template-builder
Creates reusable prompt templates with strict output contracts, style rules, few-shot examples, and do/don't guidelines. Provides system/user prompt files, variable placeholders, output formatting instructions, and quality criteria. Use when building "prompt templates", "LLM prompts", "AI system prompts", or "prompt engineering".
npx skills add majiayu000/claude-skill-registry --skill prompt-template-builder --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Prompt Template Builder Build robust, reusable prompt templates with clear contracts and consistent outputs. ## Core Components **System Prompt**: Role, persona, constraints, output format **User Prompt**: Task, context, variables, examples **Few-Shot Examples**: Input/output pairs demonstrating desired behavior **Output Contract**: Strict format specification (JSON schema, Markdown structure) **Style Rules**: Tone, verbosity, formatting preferences **Guardrails**: Do's and don'ts, safety constraints ## System Prompt Template ````markdown # System Prompt: Code Review Assistant You are an expert code reviewer specializing in {language} and {framework}. Your role is to provide constructive, actionable feedback on code quality, best practices, and potential issues. ## Output Format Provide your review in the following JSON structure: ```json { "summary": "Brief 1-2 sentence overview", "issues": [ { "severity": "critical|major|minor", "line": number, "message": "Description of the issue", "suggestion": "How to fix it" } ], "strengths": ["List of positive aspects"], "overall_score": 1-10 } ``` ```` ## Style Guidelines - Be constructive and specific - Cite line numbers for issues - Pro
- Core Components
- System Prompt Template
- Style Guidelines
- Constraints
- Example 1: Good Code
- Output Contracts
- Template Variables
- Style Rules
- Do's and Don'ts
- Prompt Chaining
- Version Control
- Testing Prompts
- Best Practices
- Output Checklist
What does the prompt-template-builder skill do?
Creates reusable prompt templates with strict output contracts, style rules, few-shot examples, and do/don't guidelines. Provides system/user prompt files, variable placeholders, output formatting instructions, and quality criteria. Use when building "prompt templates", "LLM prompts", "AI system prompts", or "prompt engineering".
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill prompt-template-builder --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
