重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
bug-reporting-excellence by proffesor-for-testing/agentic-qe
npx skills add https://github.com/proffesor-for-testing/agentic-qe --skill bug-reporting-excellence<default_to_action> 报告缺陷时:
[组件] 在 [条件] 下失败,导致 [影响]缺陷报告模板:
## [组件] 问题标题
**严重性:** 严重/高/中/低
**环境:** 生产/预发布/开发
### 预期行为
应该发生什么
### 实际行为
实际发生了什么(包含错误信息)
### 重现步骤
1. 第一步
2. 第二步
3. 观察到问题
### 影响
这对用户/业务产生了何种影响
关键成功因素:
| 等级 | 定义 | 示例 |
|---|---|---|
| 严重 | 系统宕机、数据丢失、安全问题 | 数据库被删除、支付功能损坏、凭证泄露 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 高 | 主要功能损坏,影响大量用户 | 无法结账、搜索功能损坏、仪表板加载失败 |
| 中 | 部分功能损坏,存在变通方案 | 筛选器损坏(刷新后可用)、导出缓慢 |
| 低 | 界面问题、罕见的边缘情况 | 移动端按钮换行、工具提示颜色错误 |
❌ 差:”结账功能坏了” ✅ 好:”当订单总额 > $1000 时,Visa 卡支付失败”
模式: [组件] 在 [条件] 下失败,导致 [影响]
Browser: Chrome 120.0.6099.109 (Windows)
OS: Windows 11 Pro
URL: https://example.com/checkout
Date/Time: 2025-10-17 14:23 UTC
User: test@example.com (ID: 12345)
Request ID: abc-123-def-456
错误信息:
{
"error": "Payment service unavailable",
"code": "GATEWAY_TIMEOUT",
"requestId": "abc-123-def-456"
}
控制台日志:
[ERROR] PaymentGateway: Connection timeout after 30000ms
at PaymentGateway.charge (gateway.js:145)
## [Checkout] 订单金额 > $1000 时支付处理超时
**严重性:** 高
**环境:** 生产环境
**受影响用户:** 约 15% 的高价值购买
### 预期行为
无论金额多少,支付应在 5 秒内完成。
### 实际行为
对于超过 $1000 的订单,支付网关在 30 秒后超时。
用户看到“支付失败”错误。订单未创建。
### 重现步骤
1. 将总价值为 $1,050 的商品加入购物车
2. 进入结账页面
3. 输入支付信息:Visa 4532 1234 5678 9010
4. 点击“下订单”
5. 等待 30 秒以上
6. 观察到超时错误
### 环境
- 浏览器:Chrome 120 (Windows 11)
- 用户:test@example.com
- 请求 ID:abc-123-def-456
### 证据
控制台错误:`PaymentGateway timeout: 30000ms exceeded`
网络请求:/api/checkout: 30.14s (超时)
### 影响
- 收入损失:每周约 $15K 来自失败的订单
- 本周收到 23 个支持工单
- 影响 15% 超过 $1000 的订单
### 额外背景
问题始于 10 月 15 日部署后 (v2.3.0)
可能与 PR #456 (欺诈检查) 相关
| ❌ 差 | 问题 | ✅ 好 |
|---|---|---|
| “结账功能坏了” | 什么不工作? | “点击支付按钮时无响应” |
| “我看到了一个错误” | 没有重现步骤 | 包含条件的完整步骤 |
| “页面加载慢” | 没有具体信息 | “仪表板加载需要 12 秒 (应 <3 秒)” |
| 一份报告包含多个缺陷 | 无法单独跟踪 | 每个缺陷一份报告 |
// Automated bug triage
const triage = await Task("Triage Bug", {
title: 'Payment fails for orders > $1000',
description: bugDescription,
steps: reproductionSteps
}, "qe-quality-analyzer");
// Returns: { severity, priority, component, suggestedAssignee, relatedIssues }
// Duplicate detection
const dupeCheck = await Task("Check Duplicates", {
bugReport: newBug,
similarityThreshold: 0.85
}, "qe-quality-analyzer");
// Bug report enhancement
const enhanced = await Task("Enhance Report", {
originalReport: userSubmittedBug,
addMissingInfo: true,
identifyRootCause: true
}, "qe-production-intelligence");
aqe/bug-reports/
├── triaged/* - 缺陷分类结果
├── duplicates/* - 重复检测
├── patterns/* - 重复出现的缺陷模式
└── root-cause/* - 根本原因分析
const bugFleet = await FleetManager.coordinate({
strategy: 'bug-investigation',
agents: [
'qe-quality-analyzer', // 分类和归类
'qe-flaky-test-hunter', // 检查是否与测试相关
'qe-production-intelligence' // 检查生产日志
],
topology: 'parallel'
});
你的缺陷报告是他人工作的起点。让它完整(包含所有必要信息)、清晰(任何人都能理解)、简洁(没有冗余信息)且可操作(开发者知道下一步该做什么)。
好的缺陷报告 = 更快的修复 = 更好的产品 = 更满意的用户
/test-failure-investigator 开始进行根本原因分析/regression-testing 添加防止复发的测试/test-metrics-dashboard 进行趋势分析每周安装量
65
代码仓库
GitHub 星标数
281
首次出现
2026 年 1 月 24 日
安全审计
安装于
codex62
github-copilot62
gemini-cli61
opencode61
cursor60
kimi-cli58
<default_to_action> When reporting bugs:
[Component] fails [Condition] causing [Impact]Bug Report Formula:
## [Component] Issue Title
**Severity:** Critical/High/Medium/Low
**Environment:** Production/Staging/Dev
### Expected Behavior
What should happen
### Actual Behavior
What actually happens (with error messages)
### Steps to Reproduce
1. Step one
2. Step two
3. Observe issue
### Impact
How this affects users/business
Critical Success Factors:
| Level | Definition | Examples |
|---|---|---|
| Critical | System down, data loss, security | DB deleted, payments broken, credentials exposed |
| High | Major feature broken, many users | Can't checkout, search broken, dashboard fails |
| Medium | Partial break, workaround exists | Filter broken (refresh works), slow export |
| Low | Cosmetic, rare edge case | Button wraps on mobile, tooltip wrong color |
❌ Bad: "Checkout broken" ✅ Good: "Payment fails with Visa cards when order total > $1000"
Pattern: [Component] fails [Condition] causing [Impact]
Browser: Chrome 120.0.6099.109 (Windows)
OS: Windows 11 Pro
URL: https://example.com/checkout
Date/Time: 2025-10-17 14:23 UTC
User: test@example.com (ID: 12345)
Request ID: abc-123-def-456
Error Messages:
{
"error": "Payment service unavailable",
"code": "GATEWAY_TIMEOUT",
"requestId": "abc-123-def-456"
}
Console Logs:
[ERROR] PaymentGateway: Connection timeout after 30000ms
at PaymentGateway.charge (gateway.js:145)
## [Checkout] Payment processing times out for orders > $1000
**Severity:** High
**Environment:** Production
**Affected Users:** ~15% of premium purchases
### Expected Behavior
Payment completes within 5 seconds regardless of amount.
### Actual Behavior
For orders above $1000, payment gateway times out after 30 seconds.
User sees "Payment failed" error. Order not created.
### Steps to Reproduce
1. Add items totaling $1,050 to cart
2. Proceed to checkout
3. Enter payment: Visa 4532 1234 5678 9010
4. Click "Place Order"
5. Wait 30+ seconds
6. Observe timeout error
### Environment
- Browser: Chrome 120 (Windows 11)
- User: test@example.com
- Request ID: abc-123-def-456
### Evidence
Console error: `PaymentGateway timeout: 30000ms exceeded`
Network: /api/checkout: 30.14s (timeout)
### Impact
- Lost revenue: ~$15K/week from failed orders
- 23 support tickets this week
- Affects 15% of orders over $1000
### Additional Context
Started after Oct 15 deployment (v2.3.0)
Possibly related to PR #456 (fraud check)
| ❌ Bad | Problem | ✅ Good |
|---|---|---|
| "Checkout is broken" | What doesn't work? | "Payment button doesn't respond when clicked" |
| "I saw an error" | No reproduction steps | Full steps with conditions |
| "Page loads slowly" | No specifics | "Dashboard takes 12s to load (should be <3s)" |
| Multiple bugs in one | Can't track separately | One report per bug |
// Automated bug triage
const triage = await Task("Triage Bug", {
title: 'Payment fails for orders > $1000',
description: bugDescription,
steps: reproductionSteps
}, "qe-quality-analyzer");
// Returns: { severity, priority, component, suggestedAssignee, relatedIssues }
// Duplicate detection
const dupeCheck = await Task("Check Duplicates", {
bugReport: newBug,
similarityThreshold: 0.85
}, "qe-quality-analyzer");
// Bug report enhancement
const enhanced = await Task("Enhance Report", {
originalReport: userSubmittedBug,
addMissingInfo: true,
identifyRootCause: true
}, "qe-production-intelligence");
aqe/bug-reports/
├── triaged/* - Bug triage results
├── duplicates/* - Duplicate detection
├── patterns/* - Recurring bug patterns
└── root-cause/* - Root cause analyses
const bugFleet = await FleetManager.coordinate({
strategy: 'bug-investigation',
agents: [
'qe-quality-analyzer', // Triage and categorize
'qe-flaky-test-hunter', // Check if test-related
'qe-production-intelligence' // Check production logs
],
topology: 'parallel'
});
Your bug report is the starting point for someone else's work. Make it complete (all info needed), clear (anyone can follow), concise (no noise), and actionable (developer knows next step).
Good bug reports = Faster fixes = Better product = Happier users
/test-failure-investigator for root cause/regression-testing to add test preventing recurrence/test-metrics-dashboard for trend analysisWeekly Installs
65
Repository
GitHub Stars
281
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex62
github-copilot62
gemini-cli61
opencode61
cursor60
kimi-cli58
测试策略完整指南:单元/集成/E2E测试金字塔与自动化实践
11,200 周安装