From 85b5943b9e9e6828556818f31fc5a550fbfc2813 Mon Sep 17 00:00:00 2001 From: cc <98377878+hicccc77@users.noreply.github.com> Date: Mon, 16 Mar 2026 21:14:11 +0800 Subject: [PATCH] Update issue templates --- .github/ISSUE_TEMPLATE/bug-报告.md | 31 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/性能优化.md | 20 ++++++++++++++ .github/ISSUE_TEMPLATE/技术询问.md | 20 ++++++++++++++ .github/ISSUE_TEMPLATE/文档改进.md | 20 ++++++++++++++ .github/ISSUE_TEMPLATE/现有功能改进.md | 20 ++++++++++++++ .github/ISSUE_TEMPLATE/重构与技术债.md | 21 +++++++++++++++ .github/ISSUE_TEMPLATE/重要功能提案.md | 36 ++++++++++++++++++++++++++ 7 files changed, 168 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-报告.md create mode 100644 .github/ISSUE_TEMPLATE/性能优化.md create mode 100644 .github/ISSUE_TEMPLATE/技术询问.md create mode 100644 .github/ISSUE_TEMPLATE/文档改进.md create mode 100644 .github/ISSUE_TEMPLATE/现有功能改进.md create mode 100644 .github/ISSUE_TEMPLATE/重构与技术债.md create mode 100644 .github/ISSUE_TEMPLATE/重要功能提案.md diff --git a/.github/ISSUE_TEMPLATE/bug-报告.md b/.github/ISSUE_TEMPLATE/bug-报告.md new file mode 100644 index 0000000..244c2b1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-报告.md @@ -0,0 +1,31 @@ +--- +name: Bug 报告 +about: 报告发现的问题,帮助我们修复它 +title: "[Bug]: <在这里简述问题>" +labels: 'type: bug' +assignees: '' + +--- + +## 问题描述 + + +## 复现步骤 + +1. 第一步... +2. 第二步... +3. 看到错误结果... + +## 预期行为 + + +## 截图 / 录屏 + + +## 环境信息 +- **操作系统:** (例如: Windows 11 / macOS 26) +- **版本号:** (例如: v5.2.0/源码开发) +- **相关依赖(仅源码编译时需要提供此项):** (例如: Node.js 20) + +## 额外信息 + diff --git a/.github/ISSUE_TEMPLATE/性能优化.md b/.github/ISSUE_TEMPLATE/性能优化.md new file mode 100644 index 0000000..6ab59da --- /dev/null +++ b/.github/ISSUE_TEMPLATE/性能优化.md @@ -0,0 +1,20 @@ +--- +name: 性能优化 +about: 报告性能瓶颈并提议优化方案 +title: "[PERF]: <优化点名称>" +labels: 'type: enhancement' +assignees: '' + +--- + +## 当前性能现状 + + +## 瓶颈分析 + + +## 预期优化目标 + + +## 优化思路 + diff --git a/.github/ISSUE_TEMPLATE/技术询问.md b/.github/ISSUE_TEMPLATE/技术询问.md new file mode 100644 index 0000000..b523540 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/技术询问.md @@ -0,0 +1,20 @@ +--- +name: 技术询问 +about: 如果你对使用方法有疑问,可以在这里提问 +title: "[Q&A]: <在这里简述你的疑问>" +labels: 'type: question' +assignees: '' + +--- + +## 你的问题是什么? + + +## 你已经尝试过的方法 + + +## 相关代码片段 (如果有) + +```javascript +// 代码示例 +``` diff --git a/.github/ISSUE_TEMPLATE/文档改进.md b/.github/ISSUE_TEMPLATE/文档改进.md new file mode 100644 index 0000000..e9371d5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/文档改进.md @@ -0,0 +1,20 @@ +--- +name: 文档改进 +about: 修正文档错误或补充说明 +title: "[DOCS]: <文档位置或主题>" +labels: 'type: docs' +assignees: '' + +--- + +## 相关文档链接 + + +## 当前问题 + + +## 建议修改内容 + + +## 我可以贡献 PR +- [ ] 是的,我愿意认领此任务并提交 Pull Request diff --git a/.github/ISSUE_TEMPLATE/现有功能改进.md b/.github/ISSUE_TEMPLATE/现有功能改进.md new file mode 100644 index 0000000..b3dbbe0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/现有功能改进.md @@ -0,0 +1,20 @@ +--- +name: 现有功能改进 +about: " 提交你的想法,让这个项目变得更好" +title: "[Enhancement]: <在这里简述你的需求>" +labels: 'type: enhancement' +assignees: '' + +--- + +## 是否遇到了具体的问题? + + +## 你的建议 + + +## 备选方案 + + +## 备注 + diff --git a/.github/ISSUE_TEMPLATE/重构与技术债.md b/.github/ISSUE_TEMPLATE/重构与技术债.md new file mode 100644 index 0000000..da68ea0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/重构与技术债.md @@ -0,0 +1,21 @@ +--- +name: 重构与技术债 +about: 针对现有代码结构的优化,不涉及业务逻辑改变 +title: "[REFACTOR]: <重构模块名>" +labels: 'priority: high' +assignees: '' + +--- + +## 重构背景 + + +## 技术债描述 + + +## 重构计划 + + + +## 回归测试说明 + diff --git a/.github/ISSUE_TEMPLATE/重要功能提案.md b/.github/ISSUE_TEMPLATE/重要功能提案.md new file mode 100644 index 0000000..5c58882 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/重要功能提案.md @@ -0,0 +1,36 @@ +--- +name: 重要功能提案 +about: 提议新特性或重大改进,需详细描述方案 +title: "[FEAT]: <提案简述>" +labels: 'type: feature' +assignees: '' + +--- + +## 摘要 + + +## 动机 + + +## 目标 + +- [ ] +- [ ] + +## 非目标 (可选) + + +## 提议方案 + +### 1. 实现细节 + + +### 2. 破坏性变更 + + +## 备选方案 + + +## 测试计划 +