-
Notifications
You must be signed in to change notification settings - Fork 6
Build Template
github-actions[bot] edited this page Feb 23, 2026
·
1 revision
Build a GitHub issue template interactively. The agent guides you through field selection — markdown sections, text inputs, dropdowns, and checkboxes — then outputs valid YAML and confirms before saving.
- Creating a custom bug report template for your project
- Building a feature request form with structured fields
- Setting up a template for recurring issue types
- Teaching contributors exactly what information to provide
In GitHub Copilot Chat:
/build-template
With a starting description:
/build-template bug report for a web app
/build-template feature request with priority dropdown
- Determine template type — Bug / Feature / Task / Question or custom
- Guide field selection — Interactive builder for each field type
-
Assemble YAML — Produces the complete
.github/ISSUE_TEMPLATE/*.ymloutput - Preview — Shows rendered form and raw YAML side by side
- Confirm — Saves only after you confirm the structure
| Type | YAML key | When to use |
|---|---|---|
| markdown | type: markdown |
Static instructional text or section headers |
| input | type: input |
Short single-line answers (title, version, URL) |
| textarea | type: textarea |
Long descriptions, steps to reproduce, logs |
| dropdown | type: dropdown |
Constrained choices (OS, browser, severity) |
| checkboxes | type: checkboxes |
Multi-select checklist (tested on, confirms) |
Agent: What type of template are you building?
(bug / feature / task / question / custom)
You: bug report
Agent: Let's build your fields.
Field 1 of ? — What's the first field?
e.g. "OS dropdown", "steps to reproduce textarea", "version input"
You: OS dropdown with options: Windows, macOS, Linux, iOS, Android, Other
Agent: ✅ Field added: OS (dropdown)
Options: Windows | macOS | Linux | iOS | Android | Other
Next field? (or "done" to finish)
name: Bug Report
description: Report a reproducible bug
title: "[Bug]: "
labels: ["bug", "triage-needed"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report this bug!
- type: dropdown
id: os
attributes:
label: Operating System
options:
- Windows
- macOS
- Linux
- iOS
- Android
- Other
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to Reproduce
placeholder: "1. Go to... 2. Click..."
validations:
required: true/build-template # Start from scratch, interactive
/build-template bug report # Pre-fill type, then guided
/build-template feature request with priority dropdown
/build-template see existing # Show current templates in repo
| Agent | Role |
|---|---|
| template-builder agent | Executes this prompt |
- build-a11y-template — pre-built accessibility bug template
- create-issue — use the template to file an issue
- Accessibility Lead
- Web Accessibility Wizard
- Document Accessibility Wizard
- Alt Text and Headings
- ARIA Specialist
- Contrast Master
- Forms Specialist
- Keyboard Navigator
- Link Checker
- Live Region Controller
- Modal Specialist
- Tables Data Specialist
- Word Accessibility
- Excel Accessibility
- PowerPoint Accessibility
- PDF Accessibility
- Office Scan Config
- PDF Scan Config
- Testing Coach
- WCAG Guide