Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计未展示

wtf.verify-taskwtf 验证任务

Agent Skill

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

总安装

749

周安装

30

GitHub Stars

3

下载量

242
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/xiduzo/wtf --skill wtf.verify-task

简介

wtf.verify-task 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中验证任务相关材料。
  • 通过 npx 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态,注意是否触发联网或命令执行。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Verify Task

Pick up an existing Task as a QA engineer. Core value: uses the Gherkin scenarios as the executable test script — each scenario is a concrete test case with Given/When/Then steps to run against the implementation.

Read references/qa-verdict-guide.md before starting — it defines the status symbols, verdict options, and the expected Test Mapping table format used throughout this skill.

Process

0. GitHub CLI setup

Run steps 1–2 of ../references/gh-setup.md (install check and auth check). Stop if gh is not installed or not authenticated. Extensions are not required for this skill.

Skip this step if invoked from wtf.implement-task or another skill that already ran gh-setup this session.

1. Identify the verification scope

Call AskUserQuestion with:

  • question: "Are you verifying a single Task or a full Feature?"
  • header: "Scope"
  • options: [{label: "Single Task", description: "Verify one Task's Gherkin scenarios"}, {label: "Full Feature", description: "Verify all Tasks under a Feature using its sub-issues"}]

If Single Task:

Search for recent open issues with labels task or implemented to populate options. Call AskUserQuestion with question: "Which Task are you testing?", header: "Task", and options pre-filled with 1–2 likely open Task issue references.

Fetch the Task first, extract the Feature number from its Context section, then fetch the Feature:

gh issue view <task_number>    # Gherkin, Contracts, Edge Cases, Test Mapping, DoD — also yields feature number
# Extract feature number, then:
gh issue view <feature_number> # ACs, edge cases for additional probe scenarios

Check task labels. If implemented is absent, warn and call AskUserQuestion with:

  • question: "This task hasn't been implemented yet. How would you like to proceed?"
  • header: "Implement first?"
  • options: [{label: "Implement first", description: "Go back and run wtf.implement-task (default)"}, {label: "Verify anyway", description: "Skip and proceed with verification"}]
  • Implement first → follow the wtf.implement-task process, passing the Task number in as context.
  • Verify anyway → proceed.

If Full Feature:

Call AskUserQuestion with question: "Which Feature are you verifying?", header: "Feature", and options pre-filled from open feature issues.

Fetch all sub-issues of the Feature using the extension:

gh sub-issue list <feature_number>

This returns the authoritative list of Tasks — do not search by label or title matching.

Sub-phase the task list. Apply the file-conflict coloring algorithm in ../references/conflict-graph.md to partition the tasks into conflict-free sub-phases — tasks within a sub-phase can run in parallel worktrees; sub-phases run sequentially.

Spawn one sub-agent per task, per sub-phase. Apply the rules in ../references/subagent-protocol.md for every Agent call. Specifically for Full Feature mode:

  • Read skills/wtf.verify-task/SKILL.md at spawn time and paste steps 3–9 into each sub-agent prompt (inline instructions — sub-agents cannot load this skill by name).
  • Override interactive prompts as follows:

- "Test surface" confirmation (step 3) → skip, proceed with all found scenarios - Per-scenario pass/fail (step 4) → return as NEEDS_INPUT to the orchestrator - Bug-filing prompts → defer to the aggregated step 9

  • Mandatory label (non-skippable): gh issue edit <task_number> --add-label "verified" after verification completes.

Wait for all sub-agents in a sub-phase to complete (and any NEEDS_INPUT responses to be resolved) before starting the next sub-phase. After all sub-phases finish, aggregate into a feature-level summary (total tasks, pass/fail/blocked counts) and present it.

2. Load the QA steering document

Use the Read tool to attempt reading docs/steering/QA.md.

If the file exists: keep its content in context. Use its test strategy, coverage thresholds, definition of done, and known flaky areas to inform every verification decision in this session. Do not surface it to the user — just apply it silently.

If the file does not exist, call AskUserQuestion with:

  • question: "docs/steering/QA.md doesn't exist yet. This document captures your test strategy, coverage thresholds, and definition of done. Would you like to create it now?"
  • header: "QA steering doc missing"
  • options: [{label: "Create it now", description: "Runwtf.steer-qabefore continuing (recommended)"}, {label: "Skip for this session", description: "Continue without it — QA decisions won't reference project standards"}]
  • Create it now → follow the wtf.steer-qa process, then return to this skill and continue from step 3.
  • Skip for this session → continue without it.

3. Establish the test surface

From the Task, extract and present:

  • All Gherkin scenarios (these are the test cases)
  • The contracts (request/response schemas to verify against)
  • Edge Cases & Risks (additional scenarios to probe)
  • Observability requirements (logs, metrics, alerts to verify)

Call AskUserQuestion with question: "I found [n] Gherkin scenarios and [m] edge cases to cover. Does this match what you expect?" (replace [n] and [m] with actual counts), header: "Test surface", and options: [{label: "Yes — that's everything", description: "Proceed to testing"}, {label: "There are more scenarios", description: "I want to add some"}].

4. Walk through each Gherkin scenario

For each scenario, one at a time:

  1. Present it as a concrete test case — restate the Given/When/Then in plain language.
  2. Call AskUserQuestion with:

- question: "Did this scenario pass?" - header: "Result" - options: [{label: "Yes ✅", description: "Scenario passed"}, {label: "No ❌", description: "Scenario failed"}, {label: "Blocked 🚫", description: "Could not test due to dependency or environment issue"}, {label: "N/A or Conditional ⚠️", description: "Not applicable, or passes only under a specific condition"}] - Yes ✅ → mark ✅ in the running Test Mapping table. Set bug filed to . - No ❌ → call AskUserQuestion with question: "What actually happened?", header: "Failure details", and options pre-filled with 1–2 plausible failure modes inferred from the scenario (e.g. "No error shown", "Wrong data returned"). Record findings with repro steps. Then call AskUserQuestion with question: "Would you like to file a bug report now?", header: "File bug?", options: [{label: "File now", description: "Runwtf.report-bugimmediately (default)"}, {label: "Continue and file later", description: "Defer and move to the next scenario"}] — if "File now", follow the wtf.report-bug process immediately with the task number and scenario details before moving on. Mark bug filed as yes (filed now) or no (deferred). Set bug filed accordingly. - Blocked 🚫 → call AskUserQuestion with question: "What dependency or environment issue prevented testing?", header: "Blocker", and options pre-filled with common blockers inferred from the task context (e.g. "Missing test environment", "Depends on unmerged task"). Set bug filed to . - N/A or Conditional ⚠️ → call AskUserQuestion with question: "Is this N/A, or does it pass only under a condition?", header: "Condition", and options: [{label: "N/A — not applicable", description: "This scenario does not apply"}, {label: "Conditional — specify the condition", description: "Passes only under a specific circumstance"}]. Record appropriately. Set bug filed to (track the condition separately).

  1. After recording the result, immediately update the Task issue with the current state of the Test Mapping table (do not wait until all scenarios are done). The table must include a Bug Filed column: The running Test Mapping table format (update after every scenario): Scenario Result Bug Filed <scenario name> ✅/❌/🚫/N/A/⚠️ yes / no / — gh issue view <task_number> --json body -q.body > /tmp/wtf.verify-<task_number>-body.md Programmatically replace the Test Mapping table section in /tmp/wtf.verify-<task_number>-body.md using the Write or Edit tool, preserving all other sections unchanged. Then push: gh issue edit <task_number> --body-file /tmp/wtf.verify-<task_number>-body.md
  2. Keep a running tally. After updating, confirm: "Updated. Moving to next scenario..."

5. Probe the edge cases

For each Edge Case listed in the Task (and the parent Feature), one at a time:

  1. Derive a concrete test action from the edge case description.
  2. Call AskUserQuestion with:

- question: "Did this edge case pass?" - header: "Result" - options: [{label: "Yes ✅", description: "Edge case passed"}, {label: "No ❌", description: "Edge case failed"}, {label: "Blocked 🚫", description: "Could not test"}, {label: "N/A", description: "Not applicable"}] - No ❌ → call AskUserQuestion with question: "What actually happened?", header: "Failure details", and options pre-filled with 1–2 plausible failure modes inferred from the edge case. Record findings with repro steps, then ask to file a bug report as in step 4.

  1. After each result, update the Task issue — append an Edge Cases section (or update it if present) with the same table format used in step 4.

6. Verify observability

For each item in the Observability section (logs, metrics, alerts), one at a time:

  1. Call AskUserQuestion with:

- question: "Was this observability item present and correct?" - header: "Result" - options: [{label: "Yes ✅", description: "Present and correct"}, {label: "No ❌", description: "Missing or incorrect"}, {label: "N/A", description: "Not applicable to this task"}]

  1. Record the result. On ❌, ask for details and offer to file a bug report as in step 4.
  2. After each result, update the Task issue with an Observability Results section.

7. Finalize results and post QA summary

The Test Mapping table has been updated after each scenario (step 4). Now do a final update: check off DoD items that passed; leave failing ones unchecked.

gh issue view <task_number> --json body -q .body > /tmp/wtf.verify-<task_number>-final.md

Programmatically update the DoD checklist in /tmp/wtf.verify-<task_number>-final.md using the Write or Edit tool. Then push:

gh issue edit <task_number> --body-file /tmp/wtf.verify-<task_number>-final.md

Post a QA summary comment:

gh issue comment <task_number> --body "<qa_summary>"

The QA summary must include:

  • Total scenarios tested and pass/fail/conditional count
  • Any findings with repro steps
  • Conditional passes: list each ⚠️ scenario with its required condition
  • Clear verdict: ✅ Ready for merge / ❌ Needs fixes / ⚠️ Conditional pass (list conditions)

If the verdict is ✅ or ⚠️, add the verified lifecycle label:

gh issue edit <task_number> --add-label "verified"

Print the updated Task issue URL.

8. Offer to open a PR and close the issue

If the verdict is ✅ or ⚠️, call AskUserQuestion with:

  • question: "Task verified. What would you like to do next?"
  • header: "Next step"
  • options: [{label: "Open PR now", description: "Create a pull request — the task closes automatically when the PR is merged (recommended)"}, {label: "Skip for now", description: "Exit — I'll open the PR later"}]
  • Open PR now → follow the wtf.create-pr process, passing the Task number in as context. The Task (and Feature / Epic) will be closed automatically when the PR with Closes #<task_number> is merged — do not close issues directly.
  • Skip for now → continue.
Closing policy: Issues are only "closed as completed" via a merged PR that contains Closes #<n>. Never call gh issue close <n> for completed work. Direct closes are reserved for: - gh issue close <n> --reason "not planned" — won't implement - gh issue close <n> --reason "duplicate" — duplicate of another issue

9. Offer bug reports for remaining failures

Check all result tables (Gherkin scenarios from step 4, edge cases from step 5, observability from step 6): find all rows where Result is ❌ and Bug Filed is no. These are the unfiled failures.

If none exist, skip this step entirely.

If unfiled failures exist, present them as a numbered list, then call AskUserQuestion with:

  • question: "[n] failing scenario(s) without a bug report. How would you like to handle them?" *(replace [n] with the actual count)*
  • header: "File bugs?"
  • options: [{label: "File separately", description: "File one bug report per failing scenario (default)"}, {label: "File combined", description: "File one combined bug report for all failures"}, {label: "Skip", description: "Exit — I'll handle it manually"}]
  • File separately → spawn one sub-agent per failing scenario in parallel using the Agent tool, each running the report-bug fast path (read skills/wtf.report-bug/SKILL.md and paste steps 1–3 and 6–8 into the sub-agent prompt). Pass in the task number and the specific failing scenario. Apply ../references/subagent-protocol.md — no AskUserQuestion in sub-agents; return NEEDS_INPUT for anything ambiguous. Wait for all sub-agents to complete before exiting.
  • File combined → follow the wtf.report-bug process once, passing in the task number and all failing scenarios together.
  • Skip → exit without filing reports.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

33.29%
按下载量换算81

Claude

32.15%
按下载量换算78

Cursor

18.62%
按下载量换算45

Gemini CLI

9.29%
按下载量换算22

安全审计

暂无安全审计结果可展示。

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/xiduzo/wtf --skill wtf.verify-task 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills