Browser Acceptance Evidence 标志

Browser Acceptance Evidence

组织
zenobi-us
browser-acceptance-evidence

Writes manual test steps, drives them in a real browser with surf or Playwright, captures screenshots and element selectors as evidence, and publishes an HTML report to shared context. Use when a change must be proved in a running app - manual test steps, QA steps, acceptance criteria, a smoke test, visual verification, "show me it works", or a hand-off that needs screenshots. Results in a written plan, a re-runnable script, and a linked report instead of a claim in chat.

概览

发布者zenobi-us
代码仓库dotfiles
技能名称browser-acceptance-evidence
星标数
67
复刻数
6
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 3 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/zenobi-us/dotfiles/tree/master/files/devtools/agent/bundles/developer/skills/browsers/browser-acceptance-evidence
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zenobi-us/dotfiles.git /tmp/dotfiles
mkdir -p .claude/skills
cp -r /tmp/dotfiles/files/devtools/agent/bundles/developer/skills/browsers/browser-acceptance-evidence .claude/skills/browser-acceptance-evidence
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

browser-acceptance-evidence

Proving a change works in a running application is a procedure, not a vibe. The procedure is the same whichever browser tool drives it, so this skill holds the invariant part and routes the driving to a driver reference.

Three artifacts come out, all in shared context:

ArtifactWhat it is
test-plan.mdThe steps, written before the browser opens
evidence.jsonlOne record per step: selector, URL, screenshot, verdict
report/index.htmlThe reviewable page, built by the writing-reports skill

When to use

  • The user asks for manual test steps, QA steps, acceptance evidence, or a test report.
  • A fix needs proving in the running app, not just in tests.
  • Someone will ask "did you actually look at it?" and the answer must be a link.

Do not use for unit or integration tests. Those belong in the test suite.

Procedure

1. Resolve the shared-context root. MUST.

sh
cd "<repository being worked on>" && "<shared-context-skill>/scripts/shared-context/cli.ts"

Every artifact goes under <root>/<work-id>/manual-tests/. You MUST NOT write the plan, the evidence, the screenshots, or the report into the repository being tested. A repository holds code, not session output.

2. Write the plan before opening a browser. MUST.

<root>/<work-id>/manual-tests/test-plan.md. It MUST contain:

  • A Preconditions block: feature flags, plan tier, permissions, account, seed data, environment. Each one stated as a fact to be checked, not assumed.
  • Numbered tests. Each test has numbered steps, written in the imperative, one action per step, with any condition first.
  • An explicit PASS line and FAIL line per test. If you cannot write what failure looks like, you do not understand the test yet.

Writing steps after the fact is not testing, it is narrating. The plan exists so the browser work has something to disagree with.

3. Route to a driver. MUST read the reference first.

DriverReferenceUse when
surfreferences/drivers/surf-cli.mdA live browser with the user's real profile, existing logins and extensions
playwrightreferences/drivers/playwright-cli.mdA clean isolated profile, repeatable from zero

You MUST read the chosen driver's reference before the first browser command. If that reference is marked TODO, you MUST stop and tell the user the driver is not ready. You MUST NOT improvise a driver from general knowledge — the whole point of the reference is the traps it records.

4. Execute, recording evidence as you go. MUST.

Append one record per step to evidence.jsonl at the time you take the step. The contract is in references/evidence-schema.md. You MUST NOT batch the records at the end from memory — that is how selectors become e46 and observations become wishful thinking.

Loop per step: read state, act, verify, record.

5. Build the report with the writing-reports skill. MUST.

Load writing-reports. Run its new-report.ts into <root>/<work-id>/manual-tests/report, fill it from evidence.jsonl, and pass its validator.

You MUST NOT hand-write report HTML, invent CSS, or emit a Markdown file instead. Report presentation is that skill's job and it has a validator that this skill does not duplicate.

You MUST copy test-plan.md, evidence.jsonl and every workflow file into the report's own files/ directory, and link them from a "Related files" or "How to re-run this" section:

sh
cp test-plan.md evidence.jsonl workflows/*.json \
   <root>/<work-id>/manual-tests/report/files/

Link them as files/<name>. You MUST NOT link them as ../test-plan.md. The report is handed to a reviewer on its own, and writing-reports rejects a link that reaches outside the report directory.

Map each evidence record onto the template:

Evidence fieldReport node
stepthe section id a summary row targets
screenshot<img class="figure__image">
observed.figure__caption — what the shot proves
resolved<code class="code"> next to the figure
verdictthe badge--* in the summary row and the section heading

6. Name every gap. MUST.

The report's "Not covered" section lists each test you could not complete and the risk it leaves. The "Test data left behind" section lists every override, account, record or running process, with the undo for each.

Verdict rules

These exist because each one has been got wrong in a real run.

  • A synthesized click does not beat the popup blocker. window.open called from an automated click is suppressed. No tab appears. You MUST record PARTIAL, capture the underlying href or config value as supporting evidence, and name the human click still needed. You MUST NOT record PASS because the code obviously would work.
  • A missing element is BLOCKED, not FAIL, until the precondition is proved. A feature flag, plan tier or permission hides things. Check the precondition before you write a failure into a report that someone will act on.
  • PASS requires a screenshot. Reading the source is not evidence. If the only artifact you have is a config file or a code path, the verdict is PARTIAL and the config is supporting evidence, not proof.
  • Record the resolved selector, not the tool's ref. e46 is meaningless next week and to everyone else. Record what it resolved to.

Traps

  • Never dump full page text. One unfiltered page.text of a real app can run to thousands of tokens of inline CSS and buries the finding. Filter the accessibility tree, search for the string you need, or screenshot it.
  • Preconditions cost more time than the tests. Budget for flags and seed data. Finding no book, tenant, or account in the right state is a normal outcome — report it as NOT COVERED rather than faking a near-enough case.
  • A direct URL is not always navigation. A client-routed app can render blank when entered mid-route with state in the hash. Click through the UI once to confirm the route works, then use direct URLs.
  • Changing a config to enable the test changes the test. Record every override in "Test data left behind" with its undo, and say in the report that the run used it.

Reference

  • references/evidence-schema.md — the evidence.jsonl record contract.
  • references/drivers/surf-cli.md — the surf driver.
  • references/drivers/playwright-cli.md — the Playwright driver. TODO.

附带文件

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

常见问题

Browser Acceptance Evidence AI 技能有什么作用?

Writes manual test steps, drives them in a real browser with surf or Playwright, captures screenshots and element selectors as evidence, and publishes an HTML report to shared context. Use when a change must be proved in a running app - manual test steps, QA steps, acceptance criteria, a smoke test, visual verification, "show me it works", or a hand-off that needs screenshots. Results in a written plan, a re-runnable script, and a linked report instead of a claim in chat.

为什么在 TypingMind 中使用 Browser Acceptance Evidence?

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

如何在 TypingMind 中安装 Browser Acceptance Evidence?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/zenobi-us/dotfiles/tree/master/files/devtools/agent/bundles/developer/skills/browsers/browser-acceptance-evidence。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Browser Acceptance Evidence?

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

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

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

Browser Acceptance Evidence AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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