gathering-evidence
Decide what evidence to record while checking software, for web, CLI, desktop, and mobile apps, and how to name and store it so a report can point at it. Use before and during any check whose verdicts must stand on what was recorded rather than on what was claimed.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- gathering-evidence
- description
- Decide what evidence to record while checking software, for web, CLI, desktop, and mobile apps, and how to name and store it so a report can point at it. Use before and during any check whose verdicts must stand on what was recorded rather than on what was claimed.
03 SKILL.md 正文
A verdict stands on what was recorded. Each item in the report names the files it rests on. An item you could not record is "not checked", never a pass.
Where it goes
Everything goes in the evidence directory you were given, or else one you create for the check, flat, named so it sorts in step order:
01-open-home.png
02-click-send.png
02-click-send.har
02-click-send.console.log
03-export.terminal.txt
timings.json
Use <step>-<what>.<ext>, with the step number from the report. In the report, give each file's
path relative to where the report is saved, such as evidence/01-open-home.png, so its links
work wherever the report is read.
What to record, by kind
- Web: a screenshot after each step that matters (full page when layout matters, and at a phone,
a tablet, and a desktop width when it differs between them); the network log as HAR or a list
of method, URL, status, size, time, and for a redirect its
Locationheader (HAR keeps it); the console messages and page errors; timings such as time to first content and to the page being usable. With agent-browser, these arescreenshot <path>(--fullfor the full page),set viewport <width> <height>,network har startthennetwork har stop <path>,console, anderrors. - CLI: the exact command, its stdout, stderr, and exit code, in one transcript per step; the files it wrote when they matter.
- Terminal UIs, such as editors: run the app in tmux with a UTF-8 locale. After each step that
matters, keep the screen from
tmux capture-pane -p -e, the cursor fromtmux display-message -p '#{cursor_x},#{cursor_y}', and the position the app shows, such as a status bar's line and column. An image of the screen must show what the user sees: the cursor, and real glyphs for wide characters and emoji. Take it from a real terminal emulator, such as xterm under Xvfb with CJK and emoji fonts, not from a re-render that drops them. - Desktop and mobile: a screenshot or a short screen recording per step, and the app's logs
(
adb logcat,xcrun simctl spawn booted log, the app's own log file). With computer use, the screenshots areget_window_state'sscreenshot_out_file, before and after each checked action, andverify_stateoutput where the app has an accessibility tree. - Services: the log lines from the time of the failure, from the app or its universe.
What makes it evidence
- It was captured while you did the step, not reconstructed afterwards. Start recording before the first action that can fail.
- A failure's record shows the moment it happened: the request that returned 500, the console error, the screenshot of the wrong state. When a page fails to load, record its URL and the error; the browser's error page often screenshots blank.
- It can show what it is cited for. A screen image that does not draw the cursor is no evidence of where the cursor is; cite a record that does.
- You looked at it. Open every screenshot you cite and check that it shows what you cite it for; a file that was saved is not proof of what the screen showed.
- A failure is repeated once before it is a finding, and written down when it is found, not rebuilt from memory at the end.
- It is kept as captured: do not merge, rename, or delete evidence files afterwards.
- Large responses, repeated polling, and slow requests are findings too; keep the record that shows them.
- Never put secrets in evidence: blur or omit tokens, passwords, and cookies.
04 同仓库更多 Skills
using-software
See and use software as a real user does while checking it: a browser that is already open and signed in, a browser in a universe, agent-browser, computer use, a terminal for a CLI, or a tester for a native or mobile app. Use when choosing how to drive the app and see what a user sees.
using-computer-use
Drive any app's real UI on the desktop through the cua-driver CLI: see it in screenshots, read it through its accessibility tree when it has one, click and type. Use for desktop and native apps, and for anything with no better option that is also realistic enough to validate effectively.
using-browser
Drive a web app's real UI in a headless browser through the agent-browser CLI: open pages, read them, click and type, and screenshot them. Use for any software with a web UI.
reaching-software
Reach software where it runs when checking it as a user: a local process, a deployed site, a Digital Twin Universe on this or another machine, or an app that is not running yet. Use when the app, the agent, and the user's view may be on different machines, or a URL does not answer.
reality-check
Checks that an app works the way a real user would experience it and returns evidence for every finding. Drive it from the command line as `reality-check`, or from Python through `reality_check.lib`. Use whenever a fix or capability needs to be validated: once you have fixed a bug, or built or changed a feature, run a check of what changed before you report the work as done, so the report says what a user can actually do, not only what the code or tests suggest. Also use when asked to check, verify, or make sure an app works, and when the user mentions "reality check" directly.