qa-bug-report
Skill0 starsChanged 3 months agoMITView on GitHub
当测试发现缺陷、需要产出结构化缺陷单,或需要提交到 TAPD / 禅道 / Jira 时使用。 本技能把缺陷 JSON 转成标准化的 Markdown 缺陷报告,并生成主流缺陷平台可直接使用的 字段映射载荷。触发词:"提交缺陷"、"提bug"、"缺陷单"、"bug报告",或在 qa-execution / qa-api-runner / qa-perf-analysis / qa-security-report 发现失败之后使用。 英文触发词(English triggers):bug report, defect, issue tracker.
In this repository39 other files it gives its agents.
- qa-a11ySkill
- qa-agent-evalSkill
- qa-agent-securitySkill
- qa-api-contractSkill
- qa-api-docSkill
- qa-api-runnerSkill
- qa-archiveSkill
- qa-bug-verifySkill
- qa-chaosSkill
- qa-ciSkill
- qa-code-reviewSkill
- qa-compat-matrixSkill
- qa-env-configSkill
- qa-executionSkill
- qa-exploratorySkill
- qa-flaky-detectSkill
- qa-mobile-autotestSkill
- qa-mutationSkill
- qa-orchestratorSkill
- qa-perf-analysisSkill
- qa-perf-designSkill
- qa-perf-jmeterSkill
- qa-perf-locustSkill
- qa-release-checkSkill
- qa-reportSkill
- qa-req-specSkill
- qa-risk-basedSkill
- qa-security-reportSkill
- qa-security-scanSkill
- qa-synthetic-monitoringSkill
- qa-test-analysisSkill
- qa-test-case-genSkill
- qa-test-dataSkill
- qa-test-strategySkill
- qa-ui-automationSkill
- qa-ui-kbSkill
- qa-ui-testidSkill
- qa-unit-tddSkill
- qa-visual-regressionSkill
The file
Files
qa-bug-report — 缺陷提交(结构化 + 对接平台)
把一次失败转化成一个规范、可复现、可对接的缺陷单: 标准字段(标题/模块/类型/严重级/优先级/环境/步骤/期望/实际/证据)+ 给 TAPD / 禅道 / Jira 的字段映射,减少「开发看不懂、复现不了」的扯皮。
缺陷质量 = 复现步骤是否清晰 + 严重级是否准确。先定级,再写步骤。
何时使用
- 测试发现失败(
qa-execution路由来的 api/ui 失败、qa-security-report高危项)。 - 用户说「提交缺陷」「提bug」「缺陷单」「bug 报告」。
操作流程
步骤 1 — 填缺陷 JSON
按 references/bug-schema.md 填:
{"title":"下单页提交后无响应","module":"下单","type":"ui","severity":"S1",
"priority":"P0","env":"staging","reporter":"张三","assignee":"李四",
"steps":["打开下单页","填收货地址","点提交"],"expected":"订单创建成功","actual":"按钮转圈后无反应",
"evidence":"screenshot_01.png"}步骤 2 — 生成报告 + 平台载荷
python scripts/gen_bug.py --bug bug.json --out bug_report.md --tracker tapd产出:
bug_report.md:人读的标准缺陷单。- 控制台/同目录输出
<tracker>字段映射 JSON(TAPD/禅道/Jira 可直接贴)。
步骤 3 — 提交
按 references/tracker-guide.md 把映射 JSON 投到对应平台 API / 手工录入。
深化能力(V2)
- 严重级判定:
scripts/rate_severity.py按「影响 × 可能性」矩阵(含 CWE / EPSS) 自动给出 S1–S4 与修复优先级建议。 - 测试清单(复现步骤模板 / 附件采集 / 严重级矩阵)见
references/checklist.md。
字段约定
- 严重级 S1–S4:S1 致命(核心不可用/数据丢失)、S2 严重、S3 一般、S4 轻微。
- 优先级 P0–P3:P0 立即修、P1 本迭代、P2 排期、P3 backlog。
与上下游衔接
- 输入:
qa-execution失败路由、qa-api-runner报错、qa-perf-analysis不达标、qa-security-report高危。 - 输出:缺陷单 → 研发修复 →
qa-bug-verify验证。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

