Skip to main content

wicked-testing-incident-to-scenario-synthesizer

星标0
分支0
更新时间2026年7月12日 22:44

Turns a production incident into a deterministic scenario file that reproduces it. Takes an incident-report markdown OR direct fields (stack trace, endpoint URL, HTTP method, request body), extracts the minimal reproducer, writes `scenarios/<incident-id>.md` with `linked_to_incident:` frontmatter, emits `wicked.scenario.authored` with `source: incident`, and queues a review task under `assignee_skill: incident-to-scenario-synthesizer:review` so a human confirms before the scenario is marked active. Use when: postmortem follow-up, "write a regression test for INC-123", prod incident → scenario backport, error-class-to-test synthesis. <example> Context: Postmortem for INC-4829 (checkout 500 on coupon reuse) needs a regression scenario so the fix can be verified and future breaks caught. user: "Synthesize a scenario from docs/postmortems/INC-4829.md." <commentary>Use incident-to-scenario-synthesizer — it reads the postmortem, extracts stack + request + endpoint, writes scenarios/ INC-4829.md with status: pendi

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly