verification-gate
БесплатноБез исполняемых скриптовНе проверенEnforce mandatory pre-action verification checkpoints to prevent pattern-matching from overriding explicit reasoning. Use this skill when about to execute…
Об этом скилле
Verification Gate
Overview
This skill implements mandatory verification checkpoints that prevent pattern-matching from training data from overriding explicit reasoning. It enforces structural gates between hypothesis formation and action execution, ensuring actions align with verified hypotheses rather than reflexive pattern-matching responses.
When to use this skill:
- Before executing ANY implementation action (Bash, Write, Edit, MultiEdit, NotebookEdit)
- After stating a hypothesis about what system/component has an issue
- When choosing between multiple implementation approaches
- When detecting potential pattern-matching from training data
- When error messages or observations could trigger multiple solution paths
Core principle: Verification is not advisory—it is a mandatory gate. Actions that don't align with verified hypotheses are BLOCKED.
Mandatory Pre-Action Verification Gate
Before executing ANY implementation action, complete ALL checkpoints in sequence. If any checkpoint fails, HALT and report the failure.
Checkpoint 1: Hypothesis Stated
Requirement: Have I explicitly stated what system/component the issue affects?
Test:
- Can I name the specific system? (e.g., "PEP 723 inline metadata", "pyproject.toml dependencies", "Docker network configuration")
- Have I written this hypothesis explicitly in my response?
If NO:
BLOCKED - Hypothesis not stated
REQUIRED: State hypothesis explicitly before proceeding
EXAMPLE: "Hypothesis: The issue affects [specific system/component]"
If YES: Proceed to Checkpoint 2
Checkpoint 2: Hypothesis Verified
Requirement: Have I gathered evidence to confirm or refute my hypothesis?
Verification methods:
- Read relevant files to confirm system state
- Check official documentation for expected behavior (use MCP tools: Ref for docs, exa for code context)
- Test or execute commands to observe actual behavior
- Grep for configuration or implementation details
Test:
- Have I used Read/Grep/MCP tools (Ref/exa)/Bash (read-only) to gather evidence?
- Can I cite specific files, line numbers, or outputs supporting my hypothesis?
- Note: Prefer MCP tools (mcpRef for documentation, mcpexa for code examples) over WebFetch for higher fidelity
If NO:
BLOCKED - Hypothesis not verified
REQUIRED: Gather evidence before proceeding
NEXT STEPS:
1. Identify what evidence would confirm/refute hypothesis
2. Use appropriate tools to gather that evidence
3. Document findings with file paths and line numbers
4. Revise hypothesis if evidence contradicts it
If YES: Proceed to Checkpoint 3
Checkpoint 3: Hypothesis-Action Alignment
Requirement: Does my planned action target the SAME system as my hypothesis identified?
Alignment template:
┌─────────────────────────────────────────────────────────┐
│ HYPOTHESIS SYSTEM: [What system does my hypothesis │
│ identify as the problem location?] │
├─────────────────────────────────────────────────────────┤
│ ACTION SYSTEM: [What system does my planned action │
│ operate on or modify?] │
├─────────────────────────────────────────────────────────┤
│ ALIGNMENT CHECK: [Same system = ✓ Proceed] │
│ [Different systems = ✗ BLOCKED] │
└─────────────────────────────────────────────────────────┘
Common misalignments:
| Hypothesis System | Wrong Action System | Why Blocked |
|---|---|---|
PEP 723 inline metadata (# /// script) |
uv sync (pyproject.toml) |
Different dependency systems |
| Docker container config | Host network settings | Different network layers |
| Git repository state | File system permissions | Different system domains |
| Python virtual environment | Global pip install | Different installation scopes |
| Application code logic | Infrastructure configuration | Different operational layers |
If MISALIGNED:
✗ BLOCKED - Hypothesis-action misalignment detected
HYPOTHESIS targets: [system A]
ACTION operates on: [system B]
REQUIRED: Either:
1. Revise action to target same system as hypothesis
2. Revise hypothesis after gathering new evidence
3. Report that systems are unrelated and task needs clarification
If ALIGNED: Proceed to Checkpoint 4
Checkpoint 4: Pattern-Matching Detection
Requirement: Is this action based on verified project reality or pattern-matching from training data?
Detection questions:
- Did I read any files in THIS project to verify this approach?
- Did I check official documentation for THIS version/tool?
- Is my action based on what THIS project actually uses?
- Or is my action based on common patterns I've seen in train
Установить verification-gate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл verification-gate?
Enforce mandatory pre-action verification checkpoints to prevent pattern-matching from overriding explicit reasoning. Use this skill when about to execute implementation actions (Bash, Write, Edit, MultiEdit) to verify hypothesis-action alignment. Blocks execution when hypothesis unverified or action targets different system than hypothesis identified. Critical for preventing cognitive dissonance where correct diagnosis leads to wrong implementation.
Как установить скилл verification-gate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл verification-gate запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic