Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

verification-before-completion完成前的验证

Agent Skill

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

总安装

380

周安装

16

GitHub Stars

公开资料未说明

下载量

133
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:verification-before-completion(完成前的验证)
来源仓库:https://github.com/brite-nites/britenites-claude-plugins
仓库路径:skills/verification-before-completion
安装命令:
npx skills add https://github.com/brite-nites/britenites-claude-plugins --skill verification-before-completion
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/brite-nites/britenites-claude-plugins --skill verification-before-completion

简介

在标记任务完成前强制验证问题是否真正解决。

  • 防止 Agent 误判编译成功即为功能完整,规避虚假交付。
  • 适用于 Bug 修复、功能验收与上线前的最终复核环节。
  • 依赖具体检查清单与预期行为比对,确保闭环验证。
  • verification-before-completion 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Verification Before Completion

You are verifying that a task is genuinely complete before it's marked as done. The goal is to prevent the common failure mode where an agent declares success while the problem still exists.

When to Activate

  • At every task checkpoint during plan execution
  • Before marking a Linear issue as done
  • After fixing a bug (verify the fix, not just that the code compiles)
  • Before shipping — final pre-review verification

Preconditions

This skill is invoked directly by executing-plans at each task checkpoint. No independent precondition checks are needed.

Activation

After being invoked, print the activation banner (see _shared/observability.md):

---
**Verification Before Completion** activated
Trigger: Task checkpoint reached
Produces: 4-level verification report
---

Verification Protocol

Level 1: Build Verification

Narrate: Level 1/4: Build verification...

Minimum bar — the project compiles and runs:

  1. Build succeeds: Run the build command, check for zero errors
  2. No type errors: Run typecheck (tsc --noEmit or equivalent)
  3. Lint passes: Run the linter with zero errors (warnings OK)

If Level 1 fails, the task is NOT complete. Stop and fix.

Narrate: Level 1/4: Build verification... [PASS/FAIL]

Level 2: Test Verification

Narrate: Level 2/4: Test verification...

Tests prove the behavior works:

  1. All tests pass: Run the full test suite, not just the new tests
  2. New tests exist: The task's changes should have corresponding tests
  3. Tests are meaningful: The tests actually verify the behavior, not just that the code runs
  4. No skipped tests: describe.skip or test.todo for the current task's tests = not done

Verify tests are genuine by checking:

  • Does the test fail if you revert the implementation change?
  • Does the test cover the acceptance criteria from the issue?
  • Does the test cover edge cases mentioned in the plan?

Narrate: Level 2/4: Test verification... [PASS/FAIL]

Level 3: Acceptance Criteria

Narrate: Level 3/4: Acceptance criteria...

The issue's requirements are met:

  1. Read the acceptance criteria from the Linear issue
  2. Check each criterion individually: Acceptance Criteria: - [x] Users can log in with email/password — VERIFIED (test: auth.test.ts:24) - [x] Invalid credentials show error message — VERIFIED (test: auth.test.ts:38) - [] Rate limiting after 5 failed attempts — NOT VERIFIED (no test, no implementation found)
  3. If any criterion is unmet: The task is NOT complete

Narrate: Level 3/4: Acceptance criteria... [PASS/FAIL]

Level 4: Integration Verification

Narrate: Level 4/4: Integration verification...

The changes work in context:

  1. No regression: Pre-existing tests still pass
  2. No side effects: Changes don't break unrelated features
  3. API contracts: If you changed an interface, all consumers are updated
  4. Data consistency: If you changed a schema, migrations exist and work

Verification Strategies

For Bug Fixes

  1. Confirm the original reproduction steps no longer trigger the bug
  2. Confirm the regression test fails on the old code and passes on the new
  3. Check for related bugs that might have the same root cause

For New Features

  1. Walk through the user flow end-to-end (mentally or via tests)
  2. Check empty states, error states, edge cases
  3. Verify the feature is discoverable and documented

For Refactors

  1. Behavior is identical before and after (tests prove this)
  2. Performance is not degraded (if relevant)
  3. The refactored code is actually cleaner (not just different)

Narrate: Level 4/4: Integration verification... [PASS/FAIL]

Failure Handling

When verification fails:

  1. Document what failed: VERIFICATION FAILED Level: [1/2/3/4] Criterion: [what was being checked] Expected: [what should happen] Actual: [what happened instead]
  2. Don't retry blindly — Analyze why it failed first. Log the decision: Decision: [Retry approach] Reason: [root cause analysis] Alternatives: [other fix strategies considered]
  3. Fix the root cause, then re-verify from Level 1
  4. Max 3 retries — After 3 failures, use error recovery (see _shared/observability.md). AskUserQuestion with options: "Retry from Level 1 with different approach / Skip this verification level / Stop and report for manual review."

Completion Report

Only after all relevant levels pass:

## Verification: PASS

**Build**: Clean
**Tests**: [N] passing, 0 failing, [N] new
**Acceptance Criteria**: [N/N] met
**Integration**: No regressions

Task is genuinely complete.

Or if issues remain:

## Verification: BLOCKED

**Passing**: Levels 1-2
**Failing**: Level 3 — acceptance criterion [X] unmet
**Details**: [what's missing and why]
**Recommendation**: [what needs to happen next]

Task is NOT complete.

Rules

  • Never mark a task as done without running verification
  • Never trust "it should work" — run the actual commands and check the actual output
  • Tests passing is necessary but not sufficient — check acceptance criteria too
  • If there's no test suite, flag it as a risk but don't block on it
  • Verification should be fast — if it takes more than 2 minutes, the project's test/build setup needs improvement (flag this)
  • Be honest about failures — a clearly reported failure is more valuable than a false success
  • Check output against anti-slop guardrails (see _shared/anti-slop-guardrails.md). Relevant patterns: R1-R2 (premature completion, skipped verification levels). Violations cap Adherence score at 2 in rubric evaluation.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.46%
按下载量换算48

Claude

28.81%
按下载量换算38

Cursor

18.76%
按下载量换算25

Gemini CLI

8.97%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills