Evidence Artifact 标志

Evidence Artifact

组织
upex-galaxy
evidence-artifact

将工单的测试证据整理成一个私密的 claude.ai 页面(工件),供开发人员或 PM 打开查看。页面包含结论标题、被测构建版本、测试用例与 Bug 看板,以及每个用例的全窗口查看器,其中有带标注的截图(标记根据元素的实际边界框绘制)、预期与实际结果对比、API 请求、SQL 结果和时间线。每个被测 Story 工单对应一个页面,每个提交的 Bug 也对应一个页面;ATR、Bug 描述、QA 评论、TC 备注、聊天和 Sprint Board 中都会附上链接,每个 Bug 还会保留一张带标注的缩略图供跟踪器使用。适用于冲刺测试的 Stage 2(边测试边编写证据包)和 Stage 3(构建、发布并添加链接)、提交 Bug 时、重新测试时(使用相同 URL,开启新一轮),以及探索性测试中任何需要将证据交给他人查看的情况。触发词:证据页面、证据工件、证据包、发布证据、构建证据页面、重新测试证据、合并截图、证据拼图、构建测试流程图、绿色已验证标注、Bug 缩略图、evidencia、página de evidencia、publica la evidencia、junta las capturas、mosaico de evidencia、marca en verde lo validado、miniatura del bug。不要用于提交 Bug 问题本身(sprint-testing 负责其字段和文本)、创建跟踪器需要内嵌的一次性带标注 PNG(使用 bug-screenshot-annotation)、不会交给他人查看的内部冒烟测试或调试截图,或将证据发送到任何外部图片服务(绝不可使用:references/privacy.md)。

概览

发布者upex-galaxy
代码仓库agentic-qa-boilerplate
技能名称evidence-artifact
星标数
26
复刻数
13
附带文件
9
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 9 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 upex-galaxy 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Evidence Artifact AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/upex-galaxy/agentic-qa-boilerplate/tree/main/.agents/skills/evidence-artifact
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/upex-galaxy/agentic-qa-boilerplate.git /tmp/agentic-qa-boilerplate
mkdir -p .claude/skills
cp -r /tmp/agentic-qa-boilerplate/.agents/skills/evidence-artifact .claude/skills/evidence-artifact
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Evidence Artifact,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Evidence Artifact。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Evidence Artifact 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Evidence Artifact

A testing session records what it proved in a JSON evidence pack while it tests, renders it with one command into a self-contained HTML page, and publishes that page with the Artifact tool. The link then goes to every place a reader looks. The page design is fixed (ADR-0022): it is never changed per ticket.

A workflow skill (metadata.kind: workflow) with no dispatch of its own: it is loaded INSIDE the session or subagent already running a testing stage (typically /sprint-testing Stages 2 and 3), spawns no agents, and is not a stage owner.

RuleWhat it means here
One page per ticketOne artifact per story ticket under test, plus one per bug filed; the story's bug card links the bug's page
Inline imagesScreenshots inline as JPEG data URIs at native size; the build stops over 14 MB (artifact limit 16 MB)
Who publishesThe worker publishes; the conductor checks the link at wave close and publishes when the worker could not
Where the link goesThe ATR, the bug description, the QA comment, each TC's notes, chat and the Sprint Board
One thumbnailA bug keeps ONE annotated thumbnail where its tracker embeds images; everything else is a link
PrivatePublished private; the owner shares it from the page's Share menu; personal data burned out, never covered
StaticA static page: no capabilities
RetestSame URL, a new retest round with before/after, history kept: earlier rounds render as amber BEFORE FIX history and never count in the verdict
RetentionDelete 6 months after the ticket is Done, list-and-review, owner confirms each delete
MarksMarks come from the element's bounding box at capture time; placing them by reading the screenshot is the fallback
Reading orderBug pages open on their board like stories; defect items first in a case (a retest: current round, compare, then the collapsed history); compare labels EXPECTED / ACTUAL plus a per-case line (BEFORE FIX / AFTER FIX on a retest); full-window viewer, Esc back to the board

Compact Rules

  • DO: load this skill in any dispatch whose stage captures evidence (sprint-testing Stage 2) or reports it (Stage 3, filing a bug), and append every proof to <PBI>/evidence/evidence-pack.json AS you test, never reconstructed at the end.
  • DO: take marks from the element's box via playwright-cli eval (coords: "px"); do NOT read a screenshot back to place a mark unless no element reaches it.
  • DO NOT: mask with a mark. Personal data on screen goes in the image's redact boxes, which the build burns into the pixels.
  • DO NOT: put a trace, a HAR, a token, a cookie or an .auth file in a pack. Credentials in API/SQL text are written as <redacted>; the build refuses the rest and names the field.
  • DO: give a bug its own pack (evidence-pack-<BUG>.json, kind: "bug", a repro case) once the bug issue exists, and build and publish bug pages BEFORE the story page: a story's RETEST PASSED / RETEST FAILED bug card is refused unless the bug's own pack confirms it.
  • DO: build with bun run evidence build --pack <pack>; it needs Python 3.9+ and Pillow and names the one thing to install when either is missing.
  • DO: publish with the Artifact tool; when the pack already has artifact.url, run Artifact action: "read" on it first and publish with that url. Omitting url mints a second page and orphans every link.
  • DO: record the URL with bun run evidence record --pack <pack> --url <url> and on the board (bun run board evidence-artifact <KEY> <url> [--bug <BUG>] --by worker), add it to the issue with bun run evidence link --pack <pack>, then link it from the ATR, the bug description, the QA comment footer and each TC's notes.
  • DO: embed a bug's ONE thumbnail with bun run evidence attach --pack <bug pack> (--dry-run first prints every call), after the bug page link is in its Description; write "(image embedded below)" and pass bun run board bug ... --evidence-embedded only once a live run printed read-back OK (a dry run never does).
  • DO NOT: run bun run evidence attach --replace without a person's OK: it deletes the bug's earlier thumbnail attachment, which cannot be undone. attach refuses on its own when an earlier thumbnail (same name, other bytes) is there.
  • DO: on a retest, keep every earlier case and item with its round, set currentRound and rounds[], append the retest case, and republish to the SAME URL. A retest never passes on a DEFERRED case.
  • DO: report the URLs as published private for the owner to share; when the Artifact tool is unavailable, report the pack path instead (the conductor publishes).
  • DO NOT: send evidence to any external image service, whatever the chat authorises.

The flow

Stage 2  screenshot --filename -> pack: image item + marks from `eval` bbox (px)
         API / SQL items, redacted at write time; personal data -> `redact` boxes
         bug filed -> its own pack (kind "bug", a repro case)
Stage 3  bun run evidence build --pack -> index.html  ->  Artifact publish (same path = same URL)
         URL -> bun run evidence record  ->  bun run board evidence-artifact <KEY> <url> --by worker
         bun run evidence link (issue remote link)  ·  bug: build --thumb -> bun run evidence attach
         link -> ATR, bug description (+ one thumbnail), QA comment, TC notes, chat
         owner hand-off: "published private, share it from the page's Share menu"
Retest   same pack: old evidence `round: 0`, `currentRound`, `rounds[]` + a retest case
         -> same page path -> publish with the recorded url -> same link

Step by step, with the exact commands and publish parameters: references/workflow.md.

Commands

bash
bun run evidence build --pack <PBI>/evidence/evidence-pack.json            # the page (prints the publish step)
bun run evidence build --pack <PBI>/evidence/evidence-pack-<BUG>.json \
  --thumb <PBI>/evidence/evidence-artifact/<BUG>/<BUG>-thumbnail.png       # the bug's tracker image
bun run evidence extract --page <saved page.html> --out <pack.json>         # recover a pack from a published page
bun run evidence record --pack <pack.json> --url <url>                      # store the published URL
bun run evidence link --pack <pack.json> [--test <TC> --exec <ATR>]          # page -> issue remote link (+ jira-xray run comment)
bun run evidence attach --pack <bug pack.json> [--test <TC> --exec <ATR>]    # thumbnail -> end of the bug's Description, read back
bun run evidence demo                                                       # synthetic story, bug and review pages

The builder is scripts/build.py (Python 3.9+ and Pillow: python3 -m pip install pillow; a Homebrew Python: brew install pillow or a venv; Windows: py -m pip install pillow); the bun run evidence commands pass it the project's ticket key pattern and check both are installed. It runs locally and makes no network call. attach and link are the only commands that reach the tracker (the modality from board.source, else testing.tms_cli; --source overrides): every write is read back before they say done, --dry-run prints the calls and sends nothing, and with no tracker (none) they write nothing and say where the thumbnail and the link live. It validates the pack and names the field when something is wrong, refuses credentials in any text, warns on email addresses, burns redact boxes into the pixels, and inlines every screenshot at native size (JPEG q88). --host local writes a standalone document to open from disk, for a harness with no Artifact tool. Relative image paths resolve against the PRIMARY checkout, also when the build runs in a worktree (--repo <root> to point elsewhere), and a story's RETEST bug pill is checked against the bug's own pack (--bug-pack <BUG>=<pack.json> when it is neither beside the story pack nor in the bug's PBI folder). Its regression tests: python3 -m unittest discover -s .agents/skills/evidence-artifact/scripts (also run by bun test).

References

FileRead it when
references/workflow.mdEvery time: Stage 2 capture, Stage 3 publish and links, the conductor check, retests
references/pack-schema.mdWriting or reading a pack (fields, statuses, shapes, compare, retest cases, what the verdict must agree with, an example)
references/privacy.mdAnything personal on screen, any API/SQL text, sharing, retention, why nothing goes to an external service
templates/evidence-artifact.html, templates/shared.css, templates/shared.jsOnly when the owner asks for a design change (the page is the approved standard; the Auto / Light / Dark switch is an owner requirement)

Gotchas

  • A PASSED retest showing a red DEFECT means an item lacks round. Earlier-round evidence moved into the retest case keeps "round": 0, or the page treats it as current and sorts it first (pack-schema.md §Retest rounds).
  • Publishing without url from a new session mints a second artifact. Once the pack has artifact.url, every later publish from any session reads that URL first and passes it.
  • A mark is not a mask. Viewers can toggle marks off. Personal data goes in redact.
  • Never a trace, HAR, token or cookie in a pack. The build refuses tokens; it cannot see a trace you did not reference, so never reference one.
  • Do not read screenshots back during Stage 2 to place marks: the eval box costs one line and is exact; reading a full-page PNG costs context on every later turn.
  • The thumbnail is embedded only when a live attach printed read-back OK. A --dry-run prints DRY RUN: read-back not performed instead. "(image embedded below)" and --evidence-embedded come after it, never before; a bug board call that printed the evidence reminder without that flag is a bug still missing its image.
  • A test secret made only of x reads as a mask (xxxx): the scanner treats it as already masked.

Briefing snippet for sub-agents

Any dispatch whose stage captures evidence (sprint-testing Stage 2) or reports it (Stage 3, filing a bug) MUST carry this verbatim in component 7, Rules:

Evidence artifact rule. Load the evidence-artifact skill. Stage 2: append every proof to <PBI>/evidence/evidence-pack.json as you test: screenshots with --filename, marks from the element's box via playwright-cli eval (coords: "px"), personal data as redact boxes (a mark over it is not a mask), API/SQL items with credentials written as <redacted>; a bug gets its own pack (evidence-pack-<BUG>.json) once its issue exists. Stage 3 (references/workflow.md §3): build with bun run evidence build, publish with the Artifact tool (bug pages first; any later publish from another session passes the pack's artifact.url after an action: "read"), record the URL in the pack (bun run evidence record) and on the board (bun run board evidence-artifact <KEY> <url> [--bug <BUG>] --by worker), add it to the issue (bun run evidence link --pack <pack>), link it from the ATR, the bug description, the QA comment footer and each TC's notes; a new bug's ONE thumbnail goes in with bun run evidence attach --pack <bug pack> and counts as embedded only after a live run prints read-back OK; never --replace (it deletes the earlier thumbnail attachment) without a person's OK. Never a trace, HAR, token or cookie in a pack. Report the URLs and say they were published private for the owner to share; if the Artifact tool is unavailable, report the pack path instead.

Relation to bug-screenshot-annotation

That skill flattens callouts into a PNG through a browser capture. This page keeps marks as data and is the direction: when a ticket has a page, link the page and use the --thumb image where a tracker needs one inline. Retiring the annotation skill is a separate decision.

History

Replaces the evidence page this repo shipped first (evidence-pack/1.0, its own design, ADR-0021): the page, the pack format and the builder are now the reference implementation's, copied (ADR-0022). agentic-qa-core/references/evidence-page.md points here. Session close for the stage that loaded this skill follows agentic-qa-core/references/session-footer-contract.md; a defect in this skill itself is reported per agentic-qa-core/references/upstream-feedback.md, and lessons are proposed per agentic-qa-core/references/skill-refinement-protocol.md.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Evidence Artifact AI 技能有什么作用?

将工单的测试证据整理成一个私密的 claude.ai 页面(工件),供开发人员或 PM 打开查看。页面包含结论标题、被测构建版本、测试用例与 Bug 看板,以及每个用例的全窗口查看器,其中有带标注的截图(标记根据元素的实际边界框绘制)、预期与实际结果对比、API 请求、SQL 结果和时间线。每个被测 Story 工单对应一个页面,每个提交的 Bug 也对应一个页面;ATR、Bug 描述、QA 评论、TC 备注、聊天和 Sprint Board 中都会附上链接,每个 Bug 还会保留一张带标注的缩略图供跟踪器使用。适用于冲刺测试的 Stage 2(边测试边编写证据包)和 Stage 3(构建、发布并添加链接)、提交 Bug 时、重新测试时(使用相同 URL,开启新一轮),以及探索性测试中任何需要将证据交给他人查看的情况。触发词:证据页面、证据工件、证据包、发布证据、构建证据页面、重新测试证据、合并截图、证据拼图、构建测试流程图、绿色已验证标注、Bug 缩略图、evidencia、página de evidencia、publica la evidencia、junta las capturas、mosaico de evidencia、marca en verde lo validado、miniatura del bug。不要用于提交 Bug 问题本身(sprint-tes...

为什么在 TypingMind 中使用 Evidence Artifact?

因为您只需安装一次,就能搭配任何模型使用。Evidence Artifact 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Evidence Artifact?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/upex-galaxy/agentic-qa-boilerplate/tree/main/.agents/skills/evidence-artifact。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Evidence Artifact?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Evidence Artifact 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Evidence Artifact 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Evidence Artifact AI 技能免费吗?

是的。upex-galaxy 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇