Merge pull request #270 from yunyingk/mac15/refine-github-templates

refactor(github): 为 seal-use 量身优化精简 GitHub PR 与 Issue 模板
This commit is contained in:
yunyingk authored and GitHub committed 2026-10-27 11:20:17 +08:00
commit 477cc630b4
3 files changed
+34 -72

No files matched your search

+16 -47
View File
@@ -1,6 +1,6 @@
name: 🐛 缺陷反馈 (Bug Report)
description: 反馈 seal-use CLI 或 MCP 服务运行中的异常、报错或非预期行为
title: "[缺陷反馈]: "
title: "[缺陷]: "
labels: ["bug"]
body:
- type: markdown
@@ -10,74 +10,43 @@ body:
感谢抽出宝贵时间反馈问题!请尽可能提供详细的环境信息与复现步骤。
> **语言规范提醒**:本仓库统一使用**简体中文**进行缺陷反馈与技术排查。
- type: input
id: version
attributes:
label: seal-use 版本
description: 您正在使用的 seal-use 版本号(可运行 `seal-use version` 或 `bun run cli version` 查询)
placeholder: "例如:0.11.16"
validations:
required: true
- type: dropdown
id: os
attributes:
label: 运行操作系统与架构
options:
- macOS (Apple Silicon / arm64)
- macOS (Intel / x64)
- Linux (x64)
- Linux (arm64)
- Windows (x64)
- Windows WSL2 (Ubuntu)
- 源码开发模式 (Bun / Node)
validations:
required: true
- type: dropdown
id: mode
attributes:
label: 运行形态
options:
- CLI 命令行 (seal-use ...)
- MCP 服务模式 (seal-use mcp / Claude Desktop / Cursor)
- Agent Skill 自动触发 (~/.agents/skills/seal-use)
- 研发脚本或本地探针 (bun run probe 等)
validations:
required: true
- type: textarea
id: description
attributes:
label: 缺陷描述
label: 缺陷简述
description: 请清晰、简要地描述遇到的具体异常或错误现象。
placeholder: 简述在什么场景下触发了什么错误...
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: 复现步骤
description: 请提供能触发该异常的完整命令行输入、参数或 MCP 工具调用入参(请务必脱敏 Enterprise 凭据与真实 Token)。
label: 复现命令或操作步骤
description: 请提供能触发该异常的具体 CLI 命令、参数或 MCP 工具调用 payload(请务必脱敏 Enterprise 凭据与真实 Token)。
placeholder: |
1. 执行 `seal-use ...`
2. 返回报错 ...
1. 执行命令:`seal-use <command> ...`
2. 出现报错:...
validations:
required: true
- type: textarea
id: expected
attributes:
label: 预期行为
description: 请描述您预期系统应当如何正常响应或输出。
label: 预期行为 vs 实际表现
description: 请描述您预期系统应当如何正常响应,以及实际返回了什么。
validations:
required: false
- type: textarea
id: logs
id: diagnostics
attributes:
label: 终端输出与错误日志 (Logs / Stderr)
description: 请粘贴完整的终端报错日志或调用堆栈(已脱敏敏感信息)。
label: 环境诊断与日志 (建议附带 `seal-use doctor` 输出)
description: |
- 强烈建议在终端运行 `seal-use doctor` 并粘贴其输出(已内置版本、系统、权限与连通性检查)。
- 也可附带完整的终端报错调用栈或 `stderr` 日志。
placeholder: |
# 粘贴 seal-use doctor 或报错日志
render: shell
validations:
required: false
+8 -8
View File
@@ -1,6 +1,6 @@
name: 💡 功能建议 (Feature Request)
description: 为 seal-use 提出新的功能建议、CLI 命令或优化方案
title: "[需求建议]: "
title: "[需求]: "
labels: ["enhancement"]
body:
- type: markdown
@@ -15,16 +15,16 @@ body:
attributes:
label: 功能建议概述
description: 请用简洁清晰的简体中文概述该功能建议或期望改进点。
placeholder: 例如:希望 seal-use corps list 支持按拼音首字母过滤...
placeholder: 例如:希望 seal-use corps list 支持按拼音首字母模糊检索...
validations:
required: true
- type: textarea
id: context
attributes:
label: 业务背景与使用场景
description: 该建议在什么具体业务场景下产生?(如 Seal 审批流诊断、规则修复与仿真、Hose/合思鉴权与单据查询、材料包导出、MCP 工具等)
placeholder: 描述当前操作流程中的痛点或不便之处...
label: 业务场景与痛点
description: 该功能在什么具体场景下使用?当前操作流程有什么痛点或不便之处?
placeholder: 描述当前遇到的效率瓶颈或限制...
validations:
required: true
@@ -32,16 +32,16 @@ body:
id: proposal
attributes:
label: 期望的实现方案或 CLI/MCP 交互设计
description: 您期望系统如何运作?如果有具体的 CLI 命令格式、MCP 工具接口或架构思路,请在此说明。
description: 您期望如何使用此功能?如果有具体的 CLI 命令格式、MCP 工具接口、参数命名或架构思路,请在此说明。
placeholder: |
例如:seal-use my-command --option ...
例如:seal-use <command> --option ...
validations:
required: false
- type: textarea
id: additional
attributes:
label: 补充信息与参考截图
label: 补充信息与参考
description: 可在此附上相关的设计思路、对比、脱敏日志或额外说明。
validations:
required: false
+10 -17
View File
@@ -1,13 +1,13 @@
## 变更说明
> **语言规范提醒**:本仓库统一使用**简体中文**进行技术交流、Commit 记录与 PR 评审,请使用简体中文填写以下内容。
> **语言规范提醒**:本仓库统一使用**简体中文**进行技术交流、Commit 记录与 PR 评审。
### 关联 Issue
- Fixes #
- Closes #
### 变更背景与内容概述
<!-- 请简要说明发起此 PR 的背景原因,以及本次变更的核心内容 -->
### 变更背景与核心内容
<!-- 请简要说明发起此 PR 的背景原因、拟解决的问题以及具体改动内容 -->
-
@@ -18,18 +18,11 @@
- [ ] 📝 文档补充或更新 (Docs)
- [ ] 🎨 代码风格或性能重构 (Refactor)
### 影响范围
- [ ] CLI 命令与标准输出流 (`src/cli/`)
- [ ] 本地 MCP 服务与网关工具 (`src/server.ts`, `src/domains/*/capabilities/`)
- [ ] Seal 租户、规则与审批领域逻辑 (`src/domains/seal/`)
- [ ] Agent 规范、Skill 与治理检查 (`skills/`, `.agents/`, `scripts/governance/`)
- [ ] 核心网络通信、鉴权与配置加载 (`src/core/`)
### 验证与测试记录
<!-- 请描述本地测试场景及测试结果,例如运行系统 (macOS / Linux / Windows) 等 -->
- [ ] `bun run check` (TypeScript 类型检查通过,0 错误)
- [ ] `bun run lint` (oxlint 代码检查通过,0 警告 0 错误)
- [ ] `bun run verify:agents-md` & `verify:skill-md` (文档契约与路由治理校验通过)
### 质量与契约核验 (Checklist)
- [ ] `bun run check` (TypeScript 类型检查 0 错误)
- [ ] `bun run lint` (oxlint 检查 0 警告 0 错误)
- [ ] `bun test` (单元测试全量通过)
- [ ] CLI / MCP 本地运行与输出流格式验证通过
- [ ] 治理门禁核验:若修改治理文档或 Skill,`bun run verify:agents-md` / `verify:skill-md` 通过
- [ ] 协议纯净度:CLI 数据命令 `stdout` 严格保持纯 JSON(人类日志与诊断走 `stderr`)
- [ ] 安全预览防线:凡状态变更或破坏性命令,均已支持 `--dry-run` 预览机制
- [ ] 核心红线:严禁自动或私自提前发版(严格禁止未经用户显式指令执行 bump / 打 tag / release)