diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..66e692b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,84 @@ +name: 🐛 Bug Report +description: Report an issue with the plugin | 报告插件使用中的问题 +title: "[Bug] " +labels: ["bug"] +assignees: [] +body: + - type: input + id: openclaw-version + attributes: + label: OpenClaw Version | OpenClaw 版本 + placeholder: e.g. 2026.3.13 | 例如:2026.3.13 + validations: + required: true + + - type: input + id: plugin-version + attributes: + label: Plugin Version | 插件版本 + description: TencentDB-Agent-Memory + placeholder: e.g. 0.1.0 | 例如:0.1.0 + validations: + required: true + + - type: input + id: os + attributes: + label: Operating System | 操作系统 + placeholder: e.g. Linux / Ubuntu 22.04 / macOS 14 / Windows 11 / CentOS 7 + validations: + required: true + + - type: input + id: system-spec + attributes: + label: System Specification | 系统配置 + description: Optional, e.g. CPU model, memory size | 可选,如 CPU、内存大小等,不清楚可略过 + placeholder: Intel i7 16GB RAM / 8C16G | Intel i7 16GB内存 / 8核16G + validations: + required: false + + - type: textarea + id: bug-description + attributes: + label: Describe the bug | 问题描述 + description: A clear and concise description of the problem | 清晰简洁地描述你遇到的问题 + placeholder: Please describe the issue in detail | 请详细说明问题现象... + validations: + required: true + + - type: textarea + id: reproduce + attributes: + label: To Reproduce | 复现步骤 + description: Steps to reproduce the behavior | 复现该问题的操作步骤 + placeholder: | + 1. Go to / Call API | 执行操作/调用接口 + 2. Set parameters | 传入参数/配置 + 3. See error | 出现报错/异常 + validations: + required: true + + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior | 预期行为 + description: What you expected to happen | 你期望的正确结果 + validations: + required: true + + - type: textarea + id: logs + attributes: + label: Error Logs / Screenshots | 报错日志/截图 + description: Please attach full logs or screenshots | 请附上完整报错日志或截图 + validations: + required: false + + - type: textarea + id: additional-context + attributes: + label: Additional context | 补充信息 + description: Any other relevant information | 其他相关信息 + validations: + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..bdac252 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,42 @@ +name: ✨ Feature Request +description: Propose a feature or suggestion | 提出一个功能需求或建议 +title: "[Feature] " +labels: ["enhancement"] +assignees: [] + +body: + - type: textarea + id: related-problem + attributes: + label: Is this feature related to a problem? | 该功能需求是否与某个问题相关?请描述 + description: A clear and concise description of the problem | 清晰简洁地描述问题是什么 + placeholder: e.g. I'm frustrated when... | 例如:我总是在使用 XX 功能时感到不便... + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Describe the solution you'd like | 描述你期望的解决方案 + description: A clear and concise description of what you want to happen | 清晰简洁地说明你希望实现的效果 + placeholder: Describe the feature you want to add or improve | 请描述你希望新增或改进的功能... + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Describe alternatives you've considered | 描述你考虑过的其他方案 + description: A clear and concise description of any alternative solutions | 清晰简洁地描述你考虑过的其他替代方案或功能 + placeholder: Optional | 可选 + validations: + required: false + + - type: textarea + id: additional-context + attributes: + label: Additional context | 补充说明 + description: Add any other context or screenshots about the feature | 在此添加与该功能需求相关的其他背景信息或截图 + placeholder: Optional | 可选 + validations: + required: false \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..8cbe310 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,18 @@ +## Description | 描述 + + +## Related Issue | 关联 Issue + + +## Change Type | 修改类型 +- [ ] Bug fix | Bug 修复 +- [ ] New feature | 新功能 +- [ ] Documentation update | 文档更新 +- [ ] Code optimization | 代码优化 + +## Self-test Checklist | 自测清单 +- [ ] Verified locally | 本地验证通过 +- [ ] No existing features affected | 无影响现有功能 + +## Additional Notes | 其他说明 + \ No newline at end of file