From 3d0f1acfb7a60497ff6ae3b9528b5376b7bbae15 Mon Sep 17 00:00:00 2001 From: claude-code-best Date: Tue, 12 May 2026 16:39:45 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=20GitHub=20Issue=20?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=EF=BC=8C=E8=A7=84=E8=8C=83=20Issue=20?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 禁用空白 issue,添加 Bug 报告和功能建议两个中文模板, 引导不相关问题前往 Discussions。 Co-Authored-By: glm-5-turbo --- .github/ISSUE_TEMPLATE/bug_report.md | 52 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 ++++ .github/ISSUE_TEMPLATE/feature_request.md | 31 ++++++++++++++ 3 files changed, 91 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..a1f9aa7ed --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,52 @@ +--- +name: Bug 报告 +description: 报告一个可复现的 bug +title: "bug: " +labels: ["bug"] +assignees: [] +--- + +## 发帖前必读 + +- [ ] 我已经搜索过 [现有 Issues](https://github.com/claude-code-best/claude-code/issues),没有找到重复。 +- [ ] 我使用的是 **最新版本**(`bun run build` 或最新 release)。 +- [ ] 我已经阅读过 [README](https://github.com/claude-code-best/claude-code) 和相关文档。 + +**未完成以上检查的 Issue 将被直接关闭。** + +--- + +## 运行环境 + +| 项目| 值| +|---|---| +| 操作系统| 例如 macOS 15.4、Ubuntu 24.04| +| Bun 版本| 例如 `bun --version` 的输出| +| Claude Code 版本| 例如 `2.4.3` 或 commit hash| +| 安装方式| `bun run build` / npm / 其他| +| 模型| 例如 claude-sonnet-4-6、claude-opus-4-7| + +## 复现步骤 + +1. +2. +3. + +## 期望行为 + + + +## 实际行为 + + + +## 相关日志 + + + +```text +``` + +## 补充信息 + + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..2d9c27a9c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: 💬 讨论区 + url: https://github.com/claude-code-best/claude-code/discussions + about: 使用问题、功能建议和一般讨论 — 请使用 Discussions 而非 Issues。 + - name: 📖 项目文档 + url: https://github.com/claude-code-best/claude-code + about: 提交 issue 前,请先阅读 README 和相关文档,你的问题可能已经有答案了。 diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..5cec41524 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,31 @@ +--- +name: 功能建议 +description: 提出新功能或改进建议 +title: "feat: " +labels: ["enhancement"] +assignees: [] +--- + +## 发帖前必读 + +- [ ] 我已经搜索过 [现有 Issues](https://github.com/claude-code-best/claude-code/issues),没有找到重复。 +- [ ] 这是功能建议,不是 Bug 报告或使用问题。 +- [ ] 使用问题请前往 [Discussions](https://github.com/claude-code-best/claude-code/discussions)。 + +--- + +## 要解决的问题 + + + +## 建议方案 + + + +## 考虑过的替代方案 + + + +## 补充信息 + +