docs: add CONTRIBUTING and GitHub issue templates

Document fork/PR workflow; add bug and feature issue templates.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-05-04 12:17:04 +08:00
parent b997c3ee49
commit 0e0d6141e0
5 changed files with 66 additions and 0 deletions

26
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View file

@ -0,0 +1,26 @@
---
name: 缺陷报告
about: 报告可复现的问题
title: "[bug] "
labels: ["bug"]
---
## 环境
- OS:
- Python / Node(如相关):
- 分支 / 提交(可选):
## 现象
## 预期
## 复现步骤
1.
2.
## 补充
- API 路径或前端页面:
- 请勿粘贴密钥或 `.env` 内容。

1
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View file

@ -0,0 +1 @@
blank_issues_enabled: true

View file

@ -0,0 +1,14 @@
---
name: 功能建议
about: 提议新能力或改进
title: "[feat] "
labels: ["enhancement"]
---
## 背景 / 动机
## 建议方案
## 其它
- 是否愿意自行提交 PR:(是 / 否 / 未确定)