feat: add GitHub issue templates for bug, feature, and question

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
crispyberry
2026-02-09 20:05:34 +08:00
parent d2c2188a72
commit 003323754d
4 changed files with 94 additions and 0 deletions

44
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,44 @@
name: Bug Report
description: Report a bug or unexpected behavior
title: "[Bug] "
labels: ["bug"]
body:
- type: textarea
id: description
attributes:
label: Describe the bug
placeholder: A clear description of what the bug is.
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
placeholder: |
1. Flash firmware with ...
2. Send message ...
3. See error ...
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
placeholder: What you expected to happen.
validations:
required: false
- type: textarea
id: logs
attributes:
label: Logs / Screenshots
placeholder: Paste serial monitor output or screenshots here.
render: shell
validations:
required: false
- type: input
id: board
attributes:
label: Board / Hardware
placeholder: e.g. Xiaozhi ESP32-S3 16MB/8MB
validations:
required: false

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Discord
url: https://discord.gg/r8ZxSvB8Yr
about: Join our Discord for quick help and discussion

View File

@@ -0,0 +1,26 @@
name: Feature Request
description: Suggest a new feature or improvement
title: "[Feature] "
labels: ["enhancement"]
body:
- type: textarea
id: description
attributes:
label: Describe the feature
placeholder: A clear description of the feature you'd like.
validations:
required: true
- type: textarea
id: motivation
attributes:
label: Motivation
placeholder: Why do you want this? What problem does it solve?
validations:
required: false
- type: textarea
id: alternatives
attributes:
label: Alternatives considered
placeholder: Any alternative solutions or workarounds you've considered.
validations:
required: false

19
.github/ISSUE_TEMPLATE/question.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Question
description: Ask a question about setup, usage, or development
title: "[Question] "
labels: ["question"]
body:
- type: textarea
id: question
attributes:
label: Your question
placeholder: What would you like to know?
validations:
required: true
- type: textarea
id: context
attributes:
label: Context
placeholder: Any relevant details about your setup or what you've tried.
validations:
required: false