Token导航 LogoToken导航

Agent Skill · 研究检索

wtf.report-bug(wtf 报告错误)

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

wtf.report-bug 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 48,626。

总安装 682周安装 29GitHub Stars 3下载 239核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/xiduzo/wtf --skill wtf.report-bug

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

wtf.report-bug 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。它支持基于关键词、任务场景或来源线索进行信息聚合与过滤,适用于错误报告相关研究。

通过 npx skills add 命令从 GitHub 仓库安装,具体用法需结合原始 README 进一步确认。安装前请核实权限范围、维护状态,并注意是否涉及联网、命令执行或文件读写操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/wtf.report-bug

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/xiduzo/wtf --skill wtf.report-bug;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

wtf.report-bug 怎么安装?

在终端执行 npx skills add https://github.com/xiduzo/wtf --skill wtf.report-bug。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

wtf.report-bug 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

wtf.report-bug 需要什么权限?

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

wtf.report-bug 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

wtf.report-bug 用的人多吗?

公开数据是累计安装 682 次,近一周安装 29 次,下载 239 次,GitHub 3 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

wtf.report-bug 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
wtf.report-bug

wtf 报告错误 · 本页

6823执行命令未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Report Bug

File a structured Bug issue from a QA finding. Core value: the Gherkin scenario that failed becomes the reproducible test evidence, and the originating Task and Feature are linked automatically so nothing loses its context.

Fast path (for wtf.hotfix)

When invoked from wtf.hotfix, skip the Gherkin-derivation and Ubiquitous-Language mapping work — the goal is to file the issue fast so the fix can start. Run only:

  • Step 0 — GitHub CLI setup (skip if already confirmed this session).
  • Step 1 — Identify the source (one-sentence bug, impact, optional task link).
  • Step 3 — Gather bug details, but only a. Observed behavior, b. Expected behavior, and c. Reproduction steps. Skip contract violation / regression risk / suggested fix questions — the hotfix will uncover those.
  • Step 6 — Draft the Bug report with only the sections the fast path produced (leave Contracts Violated, Regression Risk, Suggested Fix blank or marked "Fast path — to be captured during hotfix").
  • Step 7 — Review briefly (or skip if the caller signalled non-interactive).
  • Step 8 — Create the issue.

Return the bug issue number to the caller. Do not run the offer-next-steps prompt in step 9.

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.verify-task or another skill that already ran gh-setup this session.

1. Identify the source

If called from wtf.verify-task: the task number and failing scenario(s) are already in context — skip to step 2. Do not ask the questions below.

If invoked directly:

Ask in a single message:

  • "What is the bug? (one sentence)"
  • "Which Task does this trace back to? (issue number, or 'unknown')"

If a task number is known, fetch the Task first, extract the Feature number from its Context section, then fetch the Feature:

gh issue view <task_number>    # Gherkin, Contracts, ACs, DoD — also yields feature number
# Extract feature number, then:
gh issue view <feature_number> # ACs, user stories for expected behavior context

2. Identify the failing scenario(s)

If the Task has Gherkin, present the full scenario list and call AskUserQuestion with question: "Which scenarios failed?", header: "Failing scenarios", and options pre-filled with the scenario names from the Task (one option per scenario), plus {label: "New — not covered by existing scenarios", description: "This bug isn't covered by the current Gherkin"}.

For each failing scenario, note:

  • The scenario name
  • The file path of the automated test (if it exists) or "manual"
  • The failing step (the first Then / When that did not hold)

If no Gherkin exists for this bug, skip this step and rely on step 3.

3. Gather bug details

If called from wtf.verify-task and all six details below are already in context, skip this step entirely.

Otherwise, gather each unknown item one at a time using AskUserQuestion, omitting any item already known:

  • a. Observed behavior — call AskUserQuestion with question: "What was the exact behavior you observed?", header: "Actual behavior", and options pre-filled with 1–2 plausible failure descriptions inferred from the scenario context.
  • b. Expected behavior — call AskUserQuestion with question: "What did you expect to happen instead?", header: "Expected behavior", and options pre-filled with the relevant Gherkin Then step or AC text if available.
  • c. Reproduction steps — call AskUserQuestion with question: "What are the reproduction steps?", header: "Repro steps", and options: [{label: "I'll type them out", description: "Enter numbered steps"}].
  • d. Contract violation — call AskUserQuestion with question: "Is any contract violated?", header: "Contract", and options pre-filled with contract names from the Task (e.g. API schema name, event name), plus {label: "None identified"}.
  • e. Regression risk — call AskUserQuestion with question: "What else might break if we fix this?", header: "Regression risk", and options pre-filled with adjacent areas found in the codebase or related Aggregates.
  • f. Suggested fix — call AskUserQuestion with question: "Do you have a suggested fix in mind?", header: "Suggested fix", and options: [{label: "No suggestion", description: "Leave blank"}].

4. Map to Ubiquitous Language

Review the bug description and reproduction steps. If implementation vocabulary has crept in (e.g. "the database returned null", "the HTTP 500 response", "the JSON field"), restate in domain terms that match the Task's Ubiquitous Language (e.g. "the Order could not be found", "the Payment Settlement failed", "the Shipment Reference was missing").

Confirm the restatement with the user before proceeding.

When called from wtf.verify-task with multiple failures to file: apply the restatement silently — do NOT ask for confirmation. Note the language changes made in the draft instead of asking the user to approve them. This prevents an interrogation when processing multiple bugs in sequence.

5. Find linked test files

Use the Grep tool to locate:

  • Automated test files that cover the failing Gherkin scenario (search by scenario name or feature area)
  • Any existing test for the contract section violated

List each file found with a one-line description of what it covers. These become the Test Evidence in the bug report.

6. Draft the Bug report

Before drafting, verify .github/ISSUE_TEMPLATE/BUG.md exists. If missing, ask the user (per ../references/questioning-style.md) whether to run /wtf.setup or cancel — then halt either way.

Read the BUG template:

# Read .github/ISSUE_TEMPLATE/BUG.md

Use only the markdown body below the second --- delimiter (ignore YAML frontmatter).

Fill in all sections:

Related

  • Feature: #<feature_number> (if known)
  • Task: #<task_number> (if known)
  • Failing test(s): list each file path (or "manual" with reproduction steps)

Expected Behavior Quote the relevant Gherkin Then step or Feature AC verbatim, then add a plain-language restatement.

Actual Behavior Describe in domain terms what happened instead. Include any observable symptom (error message, wrong state, missing event).

Steps to Reproduce Concrete numbered steps — exact inputs, routes, or actions. If from a Gherkin scenario, map Given → setup, When → action, Then → the failing assertion.

Contracts Violated Paste the relevant contract section from the Task (API schema, event schema, invariant). If none, write "None identified."

Suggested Fix Fill if the QA engineer or developer has a hypothesis. Otherwise leave blank.

Regression Risk List other behaviors, Aggregates, or integration points that touch the same code path and could be affected by a fix.

7. Review with user

Show the draft. Then call AskUserQuestion with question: "Does this accurately capture the bug and its impact?", header: "Review", and options: [{label: "Yes — create the issue", description: "Proceed with bug creation"}, {label: "I have changes", description: "I want to adjust something first"}].

Apply edits, then proceed.

8. Create the issue

Note: the commands below are pseudo-code. Write each body to a temp file with the Write tool, then use --body-file to avoid shell quoting issues with multi-line content.

Title generation: Spawn a subagent using the claude-haiku-4-5-20251001 model to generate a concise title from the bug's one-sentence description. Pass in the description and ask for a short title (no prefix emoji/label needed — that is added below). If the subagent returns nothing usable, derive the title directly from the one-sentence description.

BUG_TMP=/tmp/wtf.bug-$(date +%s)-body.md
gh issue create --title "🐞 Bug: <title>" --body-file "$BUG_TMP" --label "bug"

If the originating Task is known, add a comment to it linking the bug:

gh issue comment <task_number> --body "🐞 Bug reported: #<bug_number> — <one-line summary>"

Print the Bug issue URL and number.

rm "$BUG_TMP"
Note: if the bug label does not exist on the repo, create it first with gh label create bug --color d73a4a before running gh issue create.

9. Offer next steps

Call AskUserQuestion with:

  • question: "What's next?"
  • header: "Next step"
  • options: [{label: "Report another bug", description: "File another bug from this QA session (default if more failures remain)"}, {label: "Mark Task blocked", description: "Reopen the Task and mark it blocked by this bug"}, {label: "Done", description: "Exit — no further action (default if no more failures remain)"}]
  • Report another bug → restart from step 2 with the same Task context. Use as default only when the caller (e.g. wtf.verify-task step 8) has indicated more failures are pending.
  • Mark Task blocked → reopen the Task and add a blocking comment: gh issue reopen <task_number> gh issue comment <task_number> --body "Blocked by #<bug_number>."
  • Done (default when no more failures remain) → exit.

平台分布

Codex

39.24%
按下载量换算94

Claude

28.46%
按下载量换算68

Cursor

19.94%
按下载量换算48

Gemini CLI

10.19%
按下载量换算24

安全审计

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

权限和风险

执行命令

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

安装前确认

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

继续浏览同类 Skills