Agent skill · Code Review & Quality

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".

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/ai-llm/prompt-template-builder/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Core Components
  2. System Prompt Template
  3. Style Guidelines
  4. Constraints
  5. Example 1: Good Code
  6. Output Contracts
  7. Template Variables
  8. Style Rules
  9. Do's and Don'ts
  10. Prompt Chaining
  11. Version Control
  12. Testing Prompts
  13. Best Practices
  14. Output Checklist
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going