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

validator-workflow验证器工作流程

Agent Skill

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

总安装

269

周安装

11

GitHub Stars

44

下载量

87
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:validator-workflow(验证器工作流程)
来源仓库:https://github.com/darraghh1/my-claude-setup
仓库路径:skills/validator-workflow
安装命令:
npx skills add https://github.com/darraghh1/my-claude-setup --skill validator-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/darraghh1/my-claude-setup --skill validator-workflow

简介

validator-workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于研究检索类任务,可结合来源仓库和原始 README 核验具体用法。
  • 通过 npx skills add 命令从 GitHub 安装,需确认权限范围和维护状态。
  • 使用前建议检查是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Validator Phase Workflow

You have been assigned a phase to validate after a builder reports completion. Your spawn prompt contains the phase file path and plan folder. This skill teaches you how to handle validation end-to-end.

Why This Workflow Exists

The user experienced validators that ran shallow checks, missed pattern deviations, and didn't catch issues introduced by auto-fixes. Each step below prevents a specific failure:

StepPrevents
Load project rulesReviewing without knowing coding conventions (teammates don't inherit parent rules)
Read phase completelyReviewing against wrong acceptance criteria
Run /code-reviewSelf-review blind spots — builder never reviews its own code
Conditional verificationFrontend bugs missed without E2E, DB bugs missed without PgTAP
Actionable FAIL reportsFix builders guessing at what's broken, producing more failures

Step 0: Load Project Rules

Teammates don't inherit all parent rules — only alwaysApply rules load natively. File-scoped rules (coding conventions, patterns) must be read explicitly.

Read these two files (they contain universal conventions for all code):

Read ~/.claude/rules/coding-style.md
Read ~/.claude/rules/patterns.md

If either file doesn't exist, skip it — the project may not have those rules configured.

These rules inform what you flag during review — import ordering, error handling, service patterns, data fetching conventions.

Step 1: Create Task List

Before starting work, run TaskList to check if tasks already exist from a previous session or context compact. If tasks exist with your agent name as owner, resume from the first in_progress or pending task.

If no tasks exist, create them now. Prefix all task subjects with [Review] to distinguish from builder and orchestrator tasks. Always set owner to your agent name.

TaskCreate({
  subject: "[Review] Run code review for Phase {NN}",
  description: "Invoke /code-review against phase file. Write review to {plan-folder}/reviews/code/phase-{NN}.md",
  activeForm: "Running code review",
  metadata: {
    created_by: "{your-agent-name}",
    agent_type: "validator",
    phase: "P{NN}",
    group: "{group-name}",
    skill: "{skill-from-phase}",
    role: "review",
    attempt: 1,
    parent_task_id: "{orchestrator-phase-task-id-from-spawn-prompt}"
  }
})

After creating, set yourself as owner:

TaskUpdate({ taskId: "{id}", owner: "{your-agent-name}" })

Standard validator tasks:

#SubjectDescription
1[Review] Read phase and extract criteriaRead phase file, extract acceptance criteria, skill, files
2[Review] Run code review for Phase {NN}Invoke /code-review, record verdict
3[Review] Run verificationtypecheck + tests + conditional E2E/DB
4[Review] Determine verdict and reportPASS/FAIL decision, SendMessage to team-lead

Mark each task in_progress before starting and completed when done.

Step 2: Read the Phase

Read the phase file from your spawn prompt. Extract:

  • skill: field from frontmatter — determines which extra tests to run (Step 3)
  • Acceptance criteria — your success metrics for the verdict
  • Implementation steps — what was supposed to be built
  • Files created/modified — scope of your review

Step 3: Run Code Review

Invoke the code review skill against the phase:

Skill({ skill: "code-review", args: "[phase-file-path]" })

This forks a sub-agent that:

  • Reads the phase document and extracts all implementation steps
  • Finds reference implementations from the codebase (ground truth)
  • Reviews each file against phase spec AND codebase patterns
  • Auto-fixes Critical/High/Medium issues directly in source files
  • Writes a review file to {plan-folder}/reviews/code/phase-{NN}.md
  • Returns a verdict with issue counts and what was fixed

Step 4: Run Verification

Skip verification entirely if the code review verdict is "Ready" with zero auto-fixes — the builder already passed tests + typecheck before reporting, and no source files changed since.

Run verification if the code review auto-fixed any issues (files were modified):

Always Run

pnpm run typecheck
pnpm test

Both must pass. If auto-fixes introduced issues, fix them.

Conditional Testing by Phase Type

The phase's skill: frontmatter field determines which additional tests to run:

Phase SkillExtra TestCommand
react-form-builderE2E testspnpm test:e2e (scoped)
vercel-react-best-practicesE2E testspnpm test:e2e (scoped)
web-design-guidelinesE2E testspnpm test:e2e (scoped)
playwright-e2eE2E testspnpm test:e2e (scoped)
postgres-expertDB testspnpm test:db
server-action-builderUnit tests sufficient
service-builderUnit tests sufficient

E2E Test Scoping

When running E2E tests, scope them to the feature being validated:

  1. Extract keywords from the phase title/slug (e.g., notes, billing, auth)
  2. Glob for e2e/**/*{keyword}*.spec.ts
  3. If matches found: pnpm test:e2e -- [matched spec files]
  4. If no matches: pnpm test:e2e (full suite)

Graceful Skip

If a test command doesn't exist (exit code from missing script), skip it and note in the report:

E2E tests: skipped (pnpm test:e2e not configured)

This allows projects without E2E or DB tests to pass validation without false failures.

Step 5: Determine Verdict

Based on the code review results and verification (if it ran):

  • PASS: Code review verdict is "Ready", no unfixed Critical/High issues, and all verification passed (or was skipped because no files changed)
  • FAIL: Any unfixed Critical/High issues, or (if verification ran) typecheck errors, test failures, E2E failures, or DB test failures

Step 6: Report to Orchestrator

SendMessage({
  type: "message",
  recipient: "team-lead",
  content: "Phase [NN] validation: [PASS|FAIL]\n\nCode review: [verdict]\nReview file: [path]\nVerification: [pass|skipped (no changes)]\nE2E tests: [pass|fail|skipped|N/A]\nDB tests: [pass|fail|skipped|N/A]\n\n[If FAIL: specific issues with file:line references and exact fixes needed]",
  summary: "Phase NN: PASS|FAIL"
})

Step 7: Go Idle

Wait for the next validation assignment or a shutdown request.

FAIL Reports Must Be Actionable

When reporting FAIL, include enough detail for a fresh builder to fix the issues without guessing:

  • File:line references for each issue
  • Which pattern was violated (cite the reference file)
  • Exact fix needed (not "consider improving" — state what must change)
  • Which test failed (test name, assertion, expected vs actual)

Vague FAIL reports cause fix builders to guess, producing more failures. Specific reports enable one-shot fixes.

IMPORTANT: Before using the Write tool on any existing file, you MUST Read it first or the write will silently fail. Prefer Edit for modifying existing files.

Resuming After Context Compact

If your context was compacted mid-validation:

  1. TaskList → scan for tasks where you are the owner (your agent name)
  2. Find your in_progress task, or if none, your first pending task
  3. TaskGet on that task → read the description AND metadata
  4. Metadata tells you: which phase (phase), which group (group), and which orchestrator task you report to (parent_task_id)
  5. Continue from that task — don't restart the validation
  6. The task list and metadata are your source of truth, not your memory

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.73%
按下载量换算31

Claude

29.96%
按下载量换算26

Cursor

20.02%
按下载量换算17

Gemini CLI

10%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills