GitHub Bug Report Issue Template Builder

Generate a bug_report.yml issue form for your GitHub repo

Creates a structured GitHub issue form (bug_report.yml) with Steps to Reproduce, Expected and Actual Behavior, Environment, and Screenshots fields using the modern YAML issue-form schema, ready to drop into .github/ISSUE_TEMPLATE.

Where does this file go in my repo?

Place it at .github/ISSUE_TEMPLATE/bug_report.yml. GitHub automatically detects files in that folder and offers them as choices when a user clicks New Issue.

GitHub issue forms turn vague bug reports into structured, validated submissions. This builder generates a complete bug_report.yml with the sections maintainers actually need — reproduction steps, expected versus actual behavior, environment, and screenshots — using the modern YAML issue-form schema.

How it works

The file is a YAML document with top-level metadata (name, description, title, labels, assignees) and a body array of typed fields. Each field has a type (textarea, input, dropdown, or markdown), an id, and attributes like the label and placeholder. Required fields set validations.required: true:

- type: textarea
  id: steps
  attributes:
    label: Steps to Reproduce
    placeholder: |
      1. Go to '...'
      2. Click on '...'
      3. See error
  validations:
    required: true

GitHub reads any file under .github/ISSUE_TEMPLATE/ and presents it as a guided form when someone opens a new issue, applying your default labels and assignees automatically.

Tips and notes

Keep at least the reproduction steps and a description required — those two fields prevent the most common “cannot reproduce” back-and-forth. The title prefix (for example [Bug]: ) makes bugs easy to filter in your issue list. If you also add a config.yml in the same folder you can disable blank issues so every report flows through a form.