Add minimal GitHub Issue Forms (bug, request, docs/inquiry)

Structured issue templates that turn the README's 'Open an issue' entry
into guided forms with required fields for vendor, location, and details.

Files:
- .github/ISSUE_TEMPLATE/bug_report.yml (Bug Report)
- .github/ISSUE_TEMPLATE/request.yml  (Feature Request)
- .github/ISSUE_TEMPLATE/config.yml  (Docs / Typo / Inquiry)

Validation: PyYAML loads each file; body is a non-empty list of valid
form element types (input, textarea, dropdown); top-level keys
(name, description, body) are present in each template.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ming 2026-08-04 02:13:09 +08:00
parent e6d85a8f80
commit 9e86c6c4e1
3 changed files with 94 additions and 0 deletions

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

@ -0,0 +1,38 @@
name: Bug Report
description: Report an error in a system prompt, broken link, or incorrect content.
title: "[Bug] "
labels:
- bug
body:
- type: input
id: vendor
attributes:
label: Vendor / Tool
description: Which AI tool or vendor is affected (e.g., Cursor, Claude Code, Windsurf).
placeholder: "e.g., Cursor"
validations:
required: true
- type: input
id: location
attributes:
label: File path
description: Path of the affected file inside this repository, if known.
placeholder: "e.g., Cursor Prompts/Agent Prompt.txt"
validations:
required: false
- type: textarea
id: summary
attributes:
label: What is wrong?
description: A clear description of the issue and how it should look.
placeholder: "Describe the problem..."
validations:
required: true
- type: textarea
id: repro
attributes:
label: Steps to reproduce / evidence
description: Reproduction steps, screenshots, or links to upstream sources.
placeholder: "1. ...\n2. ..."
validations:
required: false

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

@ -0,0 +1,26 @@
name: Docs / Typo / Inquiry
description: Fix a typo, clarify README, or ask a question about the repository.
title: ""
labels:
- question
body:
- type: dropdown
id: category
attributes:
label: Category
description: What kind of issue is this?
options:
- Documentation / README
- Typo
- Folder layout / organization
- General question
validations:
required: true
- type: textarea
id: details
attributes:
label: Details
description: Provide the location (file path or section) and what should change or what you're asking.
placeholder: "..."
validations:
required: true

30
.github/ISSUE_TEMPLATE/request.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: Feature Request
description: Request a new AI tool, vendor, or system prompt to be added to the collection.
title: "[Request] "
labels:
- enhancement
body:
- type: input
id: vendor
attributes:
label: Vendor / Tool
description: Name of the AI tool or vendor you want added.
placeholder: "e.g., Augment Code"
validations:
required: true
- type: input
id: source
attributes:
label: Source URL
description: Link to the official docs, repo, or other verifiable source.
placeholder: "https://..."
validations:
required: true
- type: textarea
id: rationale
attributes:
label: Why should this be added?
description: Brief explanation of the tool's relevance and what prompts/entries are available.
placeholder: "Explain..."
validations:
required: true