Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计异常

trust-but-verify信任但验证

Agent Skill

trust-but-verify 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

272

周安装

11

GitHub Stars

17

下载量

85
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:trust-but-verify(信任但验证)
来源仓库:https://github.com/buildbetter-app/bb-skills
仓库路径:skills/trust-but-verify
安装命令:
npx skills add https://github.com/buildbetter-app/bb-skills --skill trust-but-verify
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/buildbetter-app/bb-skills --skill trust-but-verify

简介

trust-but-verify 用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 适用于需要根据关键词或任务场景从来源线索中筛选信息的场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装使用。
  • 安装前建议确认权限范围和维护状态,注意是否会触发联网或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Trust But Verify

Verify that a feature implementation actually matches its plan by testing it in a real browser.

Core principle: Plans describe intent. Code describes implementation. Only the browser shows reality. This skill bridges all three — reading the plan, analyzing the diff, and verifying the result in a live browser.

When to Use

  • After completing a feature branch and before merging
  • When a plan exists in docs/plans/ for the current work
  • When the diff touches frontend source files (UI changes)
  • When you want confidence that the UI matches the spec
  • When recommended by superpowers:finishing-a-development-branch

Not for: Backend-only changes, API-only work, or branches without a plan.

Process

digraph trust_but_verify {
    "Phase 1:\nGather Context\n(subagent)" [shape=box];
    "Phase 2:\nPreflight Check\n(main)" [shape=box];
    "Phase 3:\nBrowser Verification\n(main + MCP)" [shape=box];
    "Phase 4:\nReport\n(subagent)" [shape=box];
    "Print summary\n+ link to report" [shape=doublecircle];

    "Phase 1:\nGather Context\n(subagent)" -> "Phase 2:\nPreflight Check\n(main)";
    "Phase 2:\nPreflight Check\n(main)" -> "Phase 3:\nBrowser Verification\n(main + MCP)";
    "Phase 3:\nBrowser Verification\n(main + MCP)" -> "Phase 4:\nReport\n(subagent)";
    "Phase 4:\nReport\n(subagent)" -> "Print summary\n+ link to report";
}

Phase 0: Check for App Navigator

Before starting, check if ~/.claude/skills/app-navigator/app-map.md exists.

If it does NOT exist:

"I notice the app hasn't been mapped yet. Running /app-navigator setup first will map all your routes, build login playbooks, and document UI patterns — which makes verification much faster and more accurate. Would you like to run /app-navigator setup first, or proceed without it?"

If the user says yes, invoke the app-navigator skill. When it completes, continue to Phase 1. If the user says no, proceed without it — Phase 1 will derive pages from the plan and diff only.

If it exists: proceed to Phase 1.

Phase 1: Gather Context

Dispatch a subagent (type: general-purpose) with the prompt template from ./analysis-prompt.md.

The subagent reads:

  • The ExecPlan from docs/plans/ (find the most recent plan matching the branch name or topic)
  • git diff main...HEAD to see what files changed
  • gh pr view to get PR description (if a PR exists)
  • ~/.claude/skills/app-navigator/app-map.md (if it exists)
  • ~/.claude/skills/app-navigator/playbooks/ (if they exist)

The subagent returns a verification checklist — a structured markdown document listing:

  • Pages/routes to visit
  • UI elements to verify on each page
  • Happy path interactions to perform
  • Edge cases to test
  • Error states to trigger
  • Responsive checks needed (only for pages in the diff)

Phase 2: Preflight Check

App URL: Read ~/.claude/projects/<project>/memory/reference_local_auth.md.

  • If found: extract the App URL
  • If not found: ask the user for the local app URL (e.g. http://localhost:5173), save it

Dev server: Check if the app is reachable:

curl -s -o /dev/null -w "%{http_code}" <App URL> 2>/dev/null || echo "unreachable"

If unreachable:

"The dev server at isn't reachable. You'll need to start it. Want me to start it, or will you handle it?"

Setup: Create the verification output directory:

mkdir -p docs/verification

Gate: Do not proceed to Phase 3 until the server is confirmed reachable.

Phase 3: Browser Verification

Initial Load & Authentication:

  1. Navigate to the App URL with mcp__playwright__browser_navigate
  2. mcp__playwright__browser_snapshot to see what's on screen
  3. If there's a login form: ask the user for credentials (email/password), fill the form, submit, wait for redirect. Save credentials to reference_local_auth.md for future runs.
  4. If there's a workspace/org selector or first-run setup: handle it (select first option or ask user which to pick)
  5. If the app loads directly: proceed — no auth needed
  6. If login fails or redirects back to login: ask user to verify credentials
  7. On future runs, if reference_local_auth.md has saved credentials, use them automatically. Only ask the user again if they fail.

For each checklist item:

  1. Navigate to the target page

- Use mcp__playwright__browser_navigate with the full URL - mcp__playwright__browser_wait_for with text set to a known element on the target page - If page doesn't load in 30 seconds: record FAIL, move to next item

  1. Verify elements

- mcp__playwright__browser_snapshot to get the page structure - Check each expected element from the checklist against the snapshot - Record PASS/FAIL for each element

  1. Happy path interactions

- Follow the checklist's step-by-step interaction sequence - Use mcp__playwright__browser_click, browser_fill_form, browser_type, browser_select_option as needed - After each interaction, browser_snapshot to verify the expected outcome - Record PASS/FAIL/CONCERN for each interaction

  1. Edge cases and error states

- Follow the checklist's edge case scenarios - Test empty states, invalid input, boundary values - Record results

  1. Responsive checks (only for pages that changed in the diff)

- mcp__playwright__browser_resize to 1440x900 (desktop) -- screenshot - mcp__playwright__browser_resize to 768x1024 (tablet) -- screenshot - mcp__playwright__browser_resize to 375x812 (mobile) -- screenshot - Record any layout issues - mcp__playwright__browser_resize to 1440x900 (reset to desktop before next item)

  1. Screenshots

- mcp__playwright__browser_take_screenshot at key states - Save to docs/verification/screenshots/<branch>/ with naming: <page-slug>-<state>-<viewport>.png - Create the directory if it doesn't exist: mkdir -p docs/verification/screenshots/<branch>

  1. Session handling

- If any page redirects to login: re-authenticate using the same login flow, then resume from the current checklist item

Collect all results as structured markdown to pass to Phase 4.

Phase 4: Report

Dispatch a subagent (type: general-purpose) with the prompt template from ./report-prompt.md.

Pass the subagent:

  • The verification results markdown from Phase 3
  • The original plan reference
  • Screenshot file paths
  • Branch name and PR link (if any)

The subagent writes the full report to docs/verification/YYYY-MM-DD-<branch-slug>.md (where <branch-slug> is the branch name with / replaced by -) and returns a concise summary.

Print the summary in conversation. Include:

  • The summary counts (PASS/CONCERN/FAIL/OUT-OF-SCOPE)
  • Any FAIL items with one-line descriptions
  • Link to the full report file

Cleanup: Close the browser session with mcp__playwright__browser_close.

Report Format

The full report follows this structure:

# Verification Report: <branch-name>
**Date:** YYYY-MM-DD
**Plan:** <link to ExecPlan>
**PR:** <link if exists>
**Branch:** <branch> (N commits ahead of main)

## Summary
- X items verified and working
- X concerns noted
- X mismatches or failures
- X out-of-scope observations

## Detailed Findings

### Working as Expected
| Feature | Page | What was verified | Screenshot |
|---------|------|-------------------|------------|

### Mismatches / Broken
| Feature | Expected (from plan) | Actual | Severity | Screenshot |
|---------|---------------------|--------|----------|------------|

### Concerns
| Feature | Issue | Suggestion | Screenshot |
|---------|-------|------------|------------|

### Out of Scope
| Observation | Where | Notes |
|-------------|-------|-------|

## Edge Cases & Error States Tested
| Scenario | Result | Notes |
|----------|--------|-------|

## Responsive Checks
| Page | Desktop | Tablet | Mobile | Notes |
|------|---------|--------|--------|-------|

Red Flags

  • Never skip the preflight check. Always verify the server is reachable before browser work.
  • Never hardcode credentials. Read from memory or ask the user.
  • Never modify code. This skill only verifies -- it does not fix issues it finds.
  • Never run services without asking. Check reachability first, ask permission.
  • Don't test pages unrelated to the plan. Stay scoped to what changed.
  • Don't spend more than 30 seconds per interaction. Record FAIL and move on.

Integration

  • Depends on: app-navigator (optional but recommended -- provides playbooks and app map)
  • Credential source: Detected automatically from the browser. Saved to reference_local_auth.md in project memory after first successful login.
  • Recommended by: superpowers:finishing-a-development-branch
  • Can be invoked after: superpowers:executing-plans, superpowers:subagent-driven-development

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.18%
按下载量换算31

Claude

31.99%
按下载量换算27

Cursor

17.54%
按下载量换算15

Gemini CLI

9.02%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills