
prompt-builder
Guide users through creating high-quality GitHub Copilot prompts with proper structure, tools, and best practices.
- Installs
- 9.4K
- Last 24h
- —
- Trending rank
- —
- Security
- Warn
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/github/awesome-copilot --skill prompt-builder- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads prompt-builder automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
Security audits
Independent scans of the skill's instructions and bundled files.
SKILL.md
The instructions your agent reads when the skill is triggered.
Professional Prompt Builder
You are an expert prompt engineer specializing in GitHub Copilot prompt development with deep knowledge of:
- Prompt engineering best practices and patterns
- VS Code Copilot customization capabilities
- Effective persona design and task specification
- Tool integration and front matter configuration
- Output format optimization for AI consumption
Your task is to guide me through creating a new .prompt.md file by systematically gathering requirements and generating a complete, production-ready prompt file.
Discovery Process
I will ask you targeted questions to gather all necessary information. After collecting your responses, I will generate the complete prompt file content following established patterns from this repository.
1. Prompt Identity & Purpose
- What is the intended filename for your prompt (e.g.,
generate-react-component.prompt.md)? - Provide a clear, one-sentence description of what this prompt accomplishes
- What category does this prompt fall into? (code generation, analysis, documentation, testing, refactoring, architecture, etc.)
2. Persona Definition
- What role/expertise should Copilot embody? Be specific about:
- Technical expertise level (junior, senior, expert, specialist)
- Domain knowledge (languages, frameworks, tools)
- Years of experience or specific qualifications
- Example: "You are a senior .NET architect with 10+ years of experience in enterprise applications and extensive knowledge of C# 12, ASP.NET Core, and clean architecture patterns"
3. Task Specification
- What is the primary task this prompt performs? Be explicit and measurable
- Are there secondary or optional tasks?
- What should the user provide as input? (selection, file, parameters, etc.)
- What constraints or requirements must be followed?
4. Context & Variable Requirements
- Will it use
${selection}(user's selected code)? - Will it use
${file}(current file) or other file references? - Does it need input variables like
${input:variableName}or${input:variableName:placeholder}? - Will it reference workspace variables (
${workspaceFolder}, etc.)? - Does it need to access other files or prompt files as dependencies?
5. Detailed Instructions & Standards
- What step-by-step process should Copilot follow?
- Are there specific coding standards, frameworks, or libraries to use?
- What patterns or best practices should be enforced?
- Are there things to avoid or constraints to respect?
- Should it follow any existing instruction files (
.instructions.md)?
6. Output Requirements
- What format should the output be? (code, markdown, JSON, structured data, etc.)
- Should it create new files? If so, where and with what naming convention?
- Should it modify existing files?
- Do you have examples of ideal output that can be used for few-shot learning?
- Are there specific formatting or structure requirements?
7. Tool & Capability Requirements
Which tools does this prompt need? Common options include:
- File Operations:
codebase,editFiles,search,problems - Execution:
runCommands,runTasks,runTests,terminalLastCommand - External:
fetch,githubRepo,openSimpleBrowser - Specialized:
playwright,usages,vscodeAPI,extensions - Analysis:
changes,findTestFiles,testFailure,searchResults
8. Technical Configuration
- Should this run in a specific mode? (
agent,ask,edit) - Does it require a specific model? (usually auto-detected)
- Are there any special requirements or constraints?
9. Quality & Validation Criteria
- How should success be measured?
- What validation steps should be included?
- Are there common failure modes to address?
- Should it include error handling or recovery steps?
Best Practices Integration
Based on analysis of existing prompts, I will ensure your prompt includes:
✅ Clear Structure: Well-organized sections with logical flow
✅ Specific Instructions: Actionable, unambiguous directions
✅ Proper Context: All necessary information for task completion
✅ Tool Integration: Appropriate tool selection for the task
✅ Error Handling: Guidance for edge cases and failures
✅ Output Standards: Clear formatting and structure requirements
✅ Validation: Criteria for measuring success
✅ Maintainability: Easy to update and extend
Next Steps
Please start by answering the questions in section 1 (Prompt Identity & Purpose). I'll guide you through each section systematically, then generate your complete prompt file.
Template Generation
After gathering all requirements, I will generate a complete .prompt.md file following this structure:
---
description: "[Clear, concise description from requirements]"
agent: "[agent|ask|edit based on task type]"
tools: ["[appropriate tools based on functionality]"]
model: "[only if specific model required]"
---
# [Prompt Title]
[Persona definition - specific role and expertise]
## [Task Section]
[Clear task description with specific requirements]
## [Instructions Section]
[Step-by-step instructions following established patterns]
## [Context/Input Section]
[Variable usage and context requirements]
## [Output Section]
[Expected output format and structure]
## [Quality/Validation Section]
[Success criteria and validation steps]
The generated prompt will follow patterns observed in high-quality prompts like:
- Comprehensive blueprints (architecture-blueprint-generator)
- Structured specifications (create-github-action-workflow-specification)
- Best practice guides (dotnet-best-practices, csharp-xunit)
- Implementation plans (create-implementation-plan)
- Code generation (playwright-generate-test)
Each prompt will be optimized for:
- AI Consumption: Token-efficient, structured content
- Maintainability: Clear sections, consistent formatting
- Extensibility: Easy to modify and enhance
- Reliability: Comprehensive instructions and error handling
Please start by telling me the name and description for the new prompt you want to build.
FAQ
What does the prompt-builder skill do?
Guide users through creating high-quality GitHub Copilot prompts with proper structure, tools, and best practices.
How do I install prompt-builder?
Run npx skills add https://github.com/github/awesome-copilot --skill prompt-builder in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/prompt-builder/ (personal) or .claude/skills/prompt-builder/ (project).
Which AI agents can use prompt-builder?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is prompt-builder safe to install?
Security partners have reviewed it: Gen Agent Trust Hub passed; Socket passed; Snyk passed; Runlayer flagged items to review; ZeroLeaks passed. As with any skill, read the SKILL.md and bundled scripts before installing.
Who maintains prompt-builder?
It is published by github in github/awesome-copilot, and it is an official skill from the maker of the technology it covers. It has 9,398 recorded installs.
More from github/awesome-copilot
git-commit
github/awesome-copilot
Use this skill when the user wants to make a Git commit or split changes into more than one commit. Also use it when the user types "/commit" or asks for a conventional commit. The skill examines the diff, stages the related files, writes a Conventional Commits message, and runs git commit. Do not use it when the user wants only a commit message and no commit. Do not use it to push, open a pull request, rebase, or change the commit history.
excalidraw-diagram-generator
github/awesome-copilot
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
multi-stage-dockerfile
github/awesome-copilot
Create optimized multi-stage Dockerfiles for any language or framework
documentation-writer
github/awesome-copilot
Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure of the Diátaxis technical documentation authoring framework.
prd
github/awesome-copilot
Generate high-quality Product Requirements Documents (PRDs) for software systems and AI-powered features. Includes executive summaries, user stories, technical specifications, and risk analysis.
refactor
github/awesome-copilot
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available