Логотип Verify Before Done

Verify Before Done

Спільнота
andreaswasita
verify-before-done

Підтверджує виконану роботу тестами, відмінностями та журналами перед затвердженням.

Огляд

Видавецьandreaswasita
Репозиторійcopilot-agents-dojo
Назва навичкиverify-before-done
Зірки
54
Форки
15
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

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

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

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

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

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

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

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

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

1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Verify Before Done Skill

Refuses to mark a task complete without concrete evidence from both automated checks and the real artifact or user-facing surface. Produces an explicit VERIFIED, NOT VERIFIED, or INCONCLUSIVE verdict. Does NOT replace scripts/verify.sh — it tells the agent when to run it and what evidence the gate cannot supply.

When to Use

  • Before flipping any step in tasks/todo.md from - [ ] to - [x].
  • Before opening a pull request.
  • After any fix or feature implementation.
  • After performance work, migrations, or changes whose success depends on runtime behavior.
  • Any time the agent is about to say "done" or "ready" without evidence.

Prerequisites

  • A test runner installed for the stack (pytest, vitest, go test, etc.).
  • scripts/verify.sh (or scripts/run-checks.ps1 on Windows) executable.
  • The powershell tool to invoke runners and git.
  • git available so diffs can be inspected.

How to Run

text
1. State the success predicate and capture a baseline when behavior is changing.
2. Run the project's tests and the dojo gate via the `powershell` tool.
3. Exercise the real artifact or user-facing surface.
4. Inspect the diff and working tree.
5. Record evidence and assign a verdict.
6. Mark the step complete only when the verdict is `VERIFIED`.

Quick Reference

CheckCommand (run via powershell)Pass criterion
Tests passpytest / npm test / go test ./... / dotnet test / mvn testexit 0, no failures reported
Dojo gatebash scripts/verify.sh --checkexit 0
Real artifactMatching browser, CLI, API, package, migration, or runtime checkobserved result satisfies the stated predicate
Baseline comparisonSame measurement before and after the changeresult moves from failing/old state to expected state
Diff summarygit diff main --statmatches plan in tasks/todo.md
No regressionsgit diff main -- <touched paths>only intended changes
Clean treegit status --porcelainempty output (or expected untracked)
Evidence capturededit tasks/todo.mdVerification Results block added
VerdictMeaningCompletion allowed?
VERIFIEDEvidence proves the success predicate on the real artifact.Yes
NOT VERIFIEDEvidence proves the result is wrong or regressed.No
INCONCLUSIVEThe check was unavailable, used the wrong surface, or could not distinguish success from failure.No

Procedure

Step 1: State the Predicate and Baseline

Write one falsifiable sentence describing success before running checks. For a bug, capture the failing behavior first. For performance work, record the original measurement. For a migration, record the pre-change state and the expected post-change invariant.

Examples:

  • "Submitting an expired token returns HTTP 401."
  • "The p95 latency for this fixture is below 200 ms."
  • "Running the migration twice leaves the schema and data unchanged."

If no meaningful baseline exists, state why. Do not invent one after seeing the result.

Step 2: Run the Full Test Suite

Run via the powershell tool — not "it compiles", not "the unit test I wrote". The full suite catches regressions in adjacent code.

If the area you changed has no tests, write one as part of the task. An untested change is unverified by definition.

Step 3: Run the Dojo Gate

bash
bash scripts/verify.sh --check

This wraps the spec/plan/actions/tests checks in CI parity mode. If it fails locally, it will fail in CI.

Step 4: Exercise the Real Artifact

Use the matching surface:

ChangeRequired runtime evidence
Browser or desktop UIDrive the affected flow and capture the observed state or screenshot.
CLI or TUIRun the command with representative inputs and inspect exit code and output.
APISend a representative request and inspect status, headers, and response body.
Package or libraryExercise the public entry point from a consumer-shaped test or example.
MigrationRun forward, validate invariants, and test the supported retry or rollback path.
PerformanceRepeat the same measurement method used for the baseline.

Tests prove code paths. The real-surface check proves the reported problem or requested outcome. A check on the wrong surface is INCONCLUSIVE, not a pass.

Step 5: Diff Against Main

bash
git diff main --stat
git diff main

The change set must match the plan in tasks/todo.md. Unexpected files in the diff are a red flag — either the plan is stale or you've leaked scope.

Step 6: Clean Tree Check

bash
git status --porcelain

Output must be empty (or contain only deliberately-untracked files). Debug prints, leftover scratch files, and stray .tmp artifacts all surface here.

Step 7: Record Evidence and Verdict

Append to tasks/todo.md under the current task:

markdown
### Verification Results
- Predicate: Expired tokens return HTTP 401.
- Verdict: VERIFIED
- Baseline: expired token returned HTTP 500 before the fix
- [x] Tests: 47 passed, 0 failed (`pytest tests/`)
- [x] Dojo gate: `verify.sh --check` PASS
- [x] Real artifact: API request returned HTTP 401 with expected body
- [x] Diff: 3 files changed, +84/-12 (matches plan)
- [x] Clean tree
- [x] Evidence: <paste relevant test output, log snippet, or screenshot ref>

Only a VERIFIED block permits flipping the step to - [x]. Record NOT VERIFIED and INCONCLUSIVE honestly, then keep working or report the blocker.

Step 8: Staff-Engineer Sniff Test

Final question: "Would a senior reviewer approve this on the evidence alone?" If no, add the missing evidence before claiming done.

Pitfalls

  • DO NOT say "done" without a Verification Results block. Verbal claims don't count.
  • DO NOT skip tests because "it's a small change." Small changes cause big outages.
  • DO NOT test only the happy path. Edge cases are where bugs live.
  • DO NOT ignore flaky tests. A flaky test is a test that sometimes catches bugs — fix it, don't ignore it.
  • DO NOT trust "it compiles." Compilation is the lowest possible bar.
  • DO NOT treat unit tests as proof that a user-visible or runtime problem is gone.
  • DO NOT convert an unavailable or wrong-surface check into a pass. Use INCONCLUSIVE.
  • DO NOT change the measurement method between baseline and result.
  • DO NOT mark a step done before scripts/verify.sh --check exits 0.

Verification

  • Test suite ran to completion with exit 0.
  • scripts/verify.sh --check (or run-checks.ps1 -Check) passed.
  • The real artifact or user-facing surface satisfies the stated predicate.
  • Baseline and result used the same measurement method when comparison applies.
  • git diff main --stat matches the plan.
  • git status --porcelain is empty.
  • tasks/todo.md has a Verification Results block with an explicit verdict.

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

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

Підтверджує виконану роботу тестами, відмінностями та журналами перед затвердженням.

Навіщо використовувати Verify Before Done у TypingMind?

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

Як встановити Verify Before Done у TypingMind?

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

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

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

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

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

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

Так. На GitHub цю навичку публікує andreaswasita за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

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

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

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

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

Усі
Логотип openclaw

Slack E2e

openclaw
ОрганізаціяПопулярне

Тестуйте Slack за допомогою користувачів OAuth або QA-ботів із орендованими через Convex обліковими даними; перевіряйте облікові дані, тестуйте повідомлення, якими ви керуєте, підтверджуйте роботу Gateway і розрізняйте докази з API та взаємодію з реальним клієнтом Slack.

82.2K
391K
Файлів: 4
Відкрити
Логотип openclaw

Telegram E2e Userbot

openclaw
ОрганізаціяПопулярне

Перевіряйте поведінку OpenClaw Telegram, яку бачать користувачі, на Test Server Telegram із командними обліковими даними, отриманими через Convex; проходьте сценарії від імені реального користувача та фіксуйте повідомлення, редагування, видалення, реакції, індикатор набору тексту й розширений…

82.2K
391K
Файлів: 45
Відкрити
Логотип affaan-m

Module Regression

affaan-m
СпільнотаПопулярне

Govern cross-module regression in large repositories with a REGRESSION.md ledger that records each module's downstream consumers and executable acceptance command. After a change, run the changed…

41.4K
277.3K
Файлів: 2
Відкрити
Логотип affaan-m

Test Collaboration

affaan-m
СпільнотаПопулярне

Inventory and govern a project's test assets. Connect requirements, business rules, risks, bugs, and cross-boundary contracts to stable TEST-IDs and executable evidence in the repository's existing…

41.4K
277.3K
Файлів: 2
Відкрити

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

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