Логотип Trust But Verify

Trust But Verify

Організація
buildbetter-app
trust-but-verify

Use when a feature branch has been implemented and you need to verify the UI/UX and functionality match the original plan before merging

Огляд

Видавецьbuildbetter-app
Репозиторійskills
Назва навичкиtrust-but-verify
Зірки
24
Форки
5
Файли в пакеті
2
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 2

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: buildbetter-app. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Trust But Verify у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/buildbetter-app/skills/tree/main/plugins/skills/skills/trust-but-verify
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/buildbetter-app/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/skills/skills/trust-but-verify .claude/skills/trust-but-verify
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Trust But Verify в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Trust But Verify, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Trust But Verify не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу 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 your branch-finishing workflow

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

Process

dot
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 docs/verification/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)
  • docs/verification/app-navigator/app-map.md (if it exists)
  • docs/verification/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 ~/.codex/memories/<project-slug>/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:

bash
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:

bash
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 local/test-only credentials (email/password), fill the form, submit, wait for redirect. Do not use production or personal credentials. Save credentials to reference_local_auth.md for future runs with owner-only permissions (chmod 600).
  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 and the saved App URL matches the current local/test target, 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
  2. 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
  3. 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
  4. Edge cases and error states

    • Follow the checklist's edge case scenarios
    • Test empty states, invalid input, boundary values
    • Record results
  5. 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)
  6. 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:
      bash
      mkdir -p docs/verification/screenshots/<branch>
  7. 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:

markdown
# 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 use production credentials. Verification may save reusable credentials and browser sessions locally.
  • 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 ~/.codex/memories/<project-slug>/reference_local_auth.md after first successful login.
  • Recommended by: app-navigator or a repo's normal branch-finishing workflow
  • Can be invoked after: implementation or review work when a plan and runnable UI are available

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Trust But Verify?

Use when a feature branch has been implemented and you need to verify the UI/UX and functionality match the original plan before merging

Навіщо використовувати Trust But Verify у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Trust But Verify — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Trust But Verify у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/buildbetter-app/skills/tree/main/plugins/skills/skills/trust-but-verify. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Trust But Verify?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Trust But Verify?

Зі скількома забажаєте. У TypingMind ви можете використовувати Trust But Verify із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Trust But Verify?

На GitHub цю навичку публікує buildbetter-app. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇