docs: add CONTRIBUTING and GitHub issue templates

Document fork/PR workflow for external contributors; 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 4444a8040e
commit 25e36d67c2
5 changed files with 107 additions and 0 deletions

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

@ -0,0 +1,31 @@
---
name: 缺陷报告
about: 报告可复现的问题
title: "[bug] "
labels: ["bug"]
---
## 环境
- OS(如 Windows 11):
- Python 版本(如 3.11.x):
- 分支 / 提交(可选):
## 现象
(实际发生了什么?)
## 预期
(你期望发生什么?)
## 复现步骤
1.
2.
3.
## 补充
- 日志片段、截图(可打码):
- 是否改过 `_local/system.env` / `oclaw.json`(仅说明类型,勿贴密钥):

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

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

View file

@ -0,0 +1,22 @@
---
name: 功能建议
about: 提议新能力或改进
title: "[feat] "
labels: ["enhancement"]
---
## 背景 / 动机
(要解决什么问题?谁受益?)
## 建议方案
(你认为可以怎么做?可粗可细。)
## 替代方案
(如有想过的其它做法,可简写。)
## 其它
- 是否愿意自行提交 PR:(是 / 否 / 未确定)