Logo Evidence Artifact

Evidence Artifact

Tổ chức
upex-galaxy
evidence-artifact

Chuyển bằng chứng kiểm thử của một ticket thành MỘT trang claude.ai riêng tư (một Artifact) mà developer hoặc PM có thể mở và đọc: phần đầu nêu kết luận, bản build đang được kiểm thử, bảng các test case và bug, cùng trình xem toàn màn hình cho từng case với ảnh chụp màn hình có chú thích (đánh dấu dựa trên khung thực tế của phần tử), so sánh kết quả mong đợi/thực tế, yêu cầu API, kết quả SQL và dòng thời gian. Tạo một trang cho mỗi story ticket đang kiểm thử và một trang cho mỗi bug được ghi nhận; ATR, mô tả bug, bình luận QA, ghi chú TC, chat và Sprint Board đều chứa liên kết, còn mỗi bug có một ảnh thu nhỏ đã chú thích để đưa vào tracker. Dùng trong giai đoạn 2 của sprint-testing (ghi lại bộ bằng chứng trong lúc kiểm thử) và giai đoạn 3 (tạo, xuất bản, gắn liên kết), khi ghi nhận bug, khi kiểm thử lại (giữ nguyên URL, tạo vòng mới) và trong kiểm thử thăm dò mỗi khi bằng chứng được chuyển cho người thật. Kích hoạt khi có yêu cầu về: trang bằng chứng, Artifact bằng chứng, bộ bằng chứng, xuất bản bằng chứng, tạo trang bằng chứng, bằng chứng kiểm thử lại, ghép ảnh chụp màn hình, ảnh ghép bằng chứng, tạo sơ đồ luồng kiểm thử, thông báo xanh xác nhận đã kiểm tra, ảnh thu nhỏ bug, evidencia, página de evidencia, publica la evidencia, junta las capturas, mosaico de evidencia, marca en verde lo validado, miniatura del bug. KHÔNG dùng để tự ghi issue bug (sprint-testing phụ trách các trường và nội dung của issue), tạo một ảnh PNG có chú thích để chèn trực tiếp vào tracker (bug-screenshot-annotation), chụp ảnh nội bộ để smoke test hoặc debug mà không gửi cho người khác, hoặc gửi bằng chứng đến bất kỳ dịch vụ hình ảnh bên ngoài nào (tuyệt đối không: references/privacy.md).

Tổng quan

Nhà phát hànhupex-galaxy
Kho mãagentic-qa-boilerplate
Tên kỹ năngevidence-artifact
Sao
26
Bản fork
13
Tệp đi kèm
9
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 9 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được upex-galaxy công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Evidence Artifact trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/upex-galaxy/agentic-qa-boilerplate/tree/main/.agents/skills/evidence-artifact
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Evidence Artifact trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Evidence Artifact ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Evidence Artifact với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Evidence Artifact làm được gì?

Chuyển bằng chứng kiểm thử của một ticket thành MỘT trang claude.ai riêng tư (một Artifact) mà developer hoặc PM có thể mở và đọc: phần đầu nêu kết luận, bản build đang được kiểm thử, bảng các test case và bug, cùng trình xem toàn màn hình cho từng case với ảnh chụp màn hình có chú thích (đánh dấu dựa trên khung thực tế của phần tử), so sánh kết quả mong đợi/thực tế, yêu cầu API, kết quả SQL và dòng thời gian. Tạo một trang cho mỗi story ticket đang kiểm thử và một trang cho mỗi bug được ghi nhận; ATR, mô tả bug, bình luận QA, ghi chú TC, chat và Sprint Board đều chứa liên kết, còn mỗi bug...

Vì sao nên dùng Evidence Artifact trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Evidence Artifact là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Evidence Artifact trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/upex-galaxy/agentic-qa-boilerplate/tree/main/.agents/skills/evidence-artifact. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Evidence Artifact?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Evidence Artifact với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Evidence Artifact với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Evidence Artifact có miễn phí không?

Có. Kỹ năng này được upex-galaxy phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇