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)。 + +--- + +## 要解决的问题 + + + +## 建议方案 + + + +## 考虑过的替代方案 + + + +## 补充信息 + +