SuperAPI AI 工具集

log-production-issues

通用与其它

查看项目

更新于 10-16 03:41

技能介绍

用途:这是一个 issue 创建器。它先调用 /check-production 审计生产环境健康,解析发现的问题并按 P0-P3 优先级分类,检查现有 issue 避免重复,然后为每个发现创建 GitHub issue。它只创建工作项,不做修复;需要修复时使用 /triage。

主要能力与用法:先运行 /check-production 获取结构化发现。用 gh issue list --state open --label "domain/production" --limit 50 检查现有 issue,并用 gh issue list --state open --search "SENTRY-123" --limit 5 去重;若已有则更新出现次数,否则用 gh issue create 创建。issue 标题格式为 [P{0-3}] 简洁问题描述,标签包括 priority/p0 至 priority/p3、domain/production 以及 type/bug、type/enhancement、type/chore。正文分 Problem、Impact、Location、Suggested Fix、Source 五节,并标注由 /log-production-issues 创建。

优先级映射:活跃 Sentry 错误(超过5名用户)为 P0;Vercel 日志中的 5xx 错误和缓慢健康端点为 P1;静默失败(空 catch)为 P2;缺少监控为 P3。输出为汇总各优先级创建数量的统计,可用 gh issue list --label domain/production 查看。

相关技能:/check-production 仅审计;/triage 修复生产问题;/groom 执行完整待办整理并运行本技能。限制:资料未提供收费、平台要求、具体环境依赖或其他使用条件。