Token导航 LogoToken导航

Agent Skill · 待分类

wtf.refine(天哪精炼)

wtf.refine 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

wtf.refine 是待分类类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,暂无第三方扫描结果,按安装量在待分类类的 11,209 个 Skill 里排第 4,789。

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

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

这个 Skill 的分类还没最终确定,用法以来源仓库的说明为准。

wtf.refine 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。它适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。

通过 npx skills add 命令从 GitHub 仓库安装,具体用法需结合原始 README 进一步确认。安装前请核实权限范围、维护状态,并注意是否涉及联网、命令执行或文件读写操作。wtf.refine 属于待分类类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/wtf.refine

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

wtf.refine 怎么安装?

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

wtf.refine 支持哪些 AI 工具?

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

wtf.refine 需要什么权限?

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

wtf.refine 是免费的吗?

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

wtf.refine 用的人多吗?

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

wtf.refine 安全吗?

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

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

值得选的地方

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

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

待分类类 Skill 对比

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

infsh CLI · Codex、Claude

4,374,576382权限未标注未明确未收录
ai-video-generation

AI 视频生成 · Codex、Claude

4,313,376382调用外部服务未明确有提醒
lark-openapi-explorer

云雀 OpenAPI 浏览器 · Codex、Claude

2,064,1209,011需要联网未明确有提醒
lark-workflow-standup-report

Lark 工作流程站立报告 · Codex、Claude

2,041,6328,978需要联网未明确通过
use-my-browser

使用我的浏览器 · Codex、Claude

1,848,49140操作浏览器未明确未通过
wtf.refine

天哪精炼 · 本页

6753需要联网未明确未收录

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

SKILL.md 原文

Refine

Update an existing Epic, Feature, or Task issue based on new insights. Core value: merges insights from any source, determines exactly which sections change, re-runs only the validations those changes require, shows you a precise diff before touching anything, and cascades to children so nothing goes stale.

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. Note whether the extensions are available — they are used in step 1 (hierarchy fetch) and step 9 (cascade).

Skip this step if gh-setup was already confirmed this session.

1. Identify the issue and its hierarchy

If an issue number was passed in as context or a CLI argument, use it directly. Otherwise call AskUserQuestion with question: "Which issue are you refining?", header: "Issue", and options pre-filled with recently-updated open issues across all WTF labels (epic, feature, task) inferred from:

gh issue list --label "epic,feature,task" --state open --json number,title,labels --limit 10

Fetch the issue:

gh issue view <issue_number> --json number,title,body,labels,comments,updatedAt

Detect the issue type from its labels:

  • Has label epic → type = Epic
  • Has label feature → type = Feature
  • Has label task → type = Task
  • None of the above → call AskUserQuestion with question: "I couldn't detect the type from the labels. What kind of issue is this?", header: "Issue type", and options: [{label: "Epic"}, {label: "Feature"}, {label: "Task"}].

Fetch the hierarchy for context and cascade planning:

# Parent (always fetch — needed for context)
gh sub-issue list <issue_number> --relation parent

# Children (needed for cascade planning in step 9)
gh sub-issue list <issue_number>

For the parent issue, fetch its body to extract goal, bounded context, and success metrics — these inform whether a change in the child conflicts with the parent's intent.

2. Gather insights from all sources

Merge insights from every available source into a single consolidated list. Process all sources in parallel:

a. CLI argument / conversation context

If the user passed insight text in the invocation (e.g. refine #42 "scope changed — exclude mobile"), treat that as the primary insight. If nothing was passed, call AskUserQuestion with question: "What changed or what new insight should I incorporate?", header: "Insight", and options pre-filled with 1–2 plausible changes inferred from recent issue comments (e.g. the last comment's key point).

b. GitHub comments since last body edit

Extract comments posted after the issue body was last edited:

gh issue view <issue_number> --json comments,updatedAt \
  --jq '.updatedAt as $bodyUpdatedAt | .comments[] | select(.createdAt > $bodyUpdatedAt) | "[\(.author.login)] \(.body)"'

Read each comment and extract actionable insights — discard discussion noise ("+1", "agreed", "thanks"). Synthesise into concrete change signals (e.g. "Stakeholder comment: settlement must support multi-currency").

c. Referenced files

If the user referenced any file paths or URLs in the CLI argument or conversation, read them now:

  • File paths → use the Read tool
  • URLs → use the WebFetch tool (if available) or ask the user to paste the relevant content

Extract the relevant change signals from each document.

d. Consolidate

Merge all signals into a numbered list of insights. Present them briefly to the user:

"I found [n] insight(s) to incorporate: 1. [insight summary] 2. [insight summary]..."

Call AskUserQuestion with question: "Does this capture everything you want to incorporate?", header: "Insights", and options: [{label: "Yes — proceed", description: "Continue with these insights"}, {label: "Add more", description: "I have additional context to provide"}, {label: "Remove one", description: "Some of these aren't relevant"}].

Apply any adjustments before continuing.

3. Classify the changes

For each insight, determine which sections of the issue it affects and what type of change it is. This classification drives which validations run in step 4 and which sections are rewritten in step 5.

Change types and their affected sections:

Change typeAffected (Epic)Affected (Feature)Affected (Task)
Scope narrowed / expandedGoal, Success Metrics, Feature BreakdownACs, Edge Cases, Proposed TasksGherkin, Functional Description
New constraintRisks, Bounded ContextACs, Edge Cases, RolloutContracts, Observability, Rollout
Domain language correctionContext, Goal, Bounded ContextCapability name, User Stories, ACsGherkin steps, Contracts
New stakeholder / actorContext, GoalCapability name, User Stories—
New domain event—Domain EventsGherkin (When steps), Contracts
Technical constraint—Edge CasesContracts, Technical Approach
Deadline / priorityRisks——

Produce a change map — a structured internal summary:

Change map:
  scope changed:        yes
  DDD language changed: no
  ACs changed:          yes
  Gherkin affected:     yes  (because ACs changed)
  Contracts affected:   no
  Sections to rewrite:  [Goal, Success Metrics] / [ACs, Edge Cases] / [Gherkin, Functional Description]

4. Re-run relevant validations only

Using the change map from step 3, run only the validations that apply. Skip the rest — do not re-validate unchanged sections.

Scope changed → Vertical slice + Scope gate

Re-run both stages defined in ../references/scope-gates.md on the refined intent, then on the rewritten sections. The per-level split signals live in the matching write-* skill:

  • Epic → wtf.write-epic step 7
  • Feature → wtf.write-feature step 9
  • Task → wtf.write-task step 9

If a split signal fires on the refined issue, present it as a refinement concern (not a blocker). Use the same AskUserQuestion shape the write-* skill uses: keep / split / stop.

Domain language changed → DDD Language Guard

Re-run the checks from ../references/ddd-writing-rules.md on any section whose text is being rewritten. Flag and correct violations silently; note corrections in the diff (step 5).

ACs changed (Feature or Task) → Gherkin re-derivation

If Feature ACs changed, mark the Proposed Tasks section as potentially stale — note which tasks may need re-scoping. Do not automatically update child Tasks here; that is handled in step 9 (cascade).

If Task ACs changed, re-derive only the Gherkin scenarios that map to the changed AC(s). Keep unchanged scenarios exactly as they are.

5. Draft the section updates and show a diff

Produce the updated content for each section in the change map. Do not touch sections that are not in the change map.

Present a section-by-section before/after diff for every changed section. Format each section's diff as:

## [Section name]

BEFORE:
  [original text]

AFTER:
  [updated text]

Then call AskUserQuestion with question: "Does this diff look right?", header: "Diff review", and options: [{label: "Looks good — apply it", description: "Write the changes to the issue"}, {label: "I have corrections", description: "I want to adjust one or more sections"}, {label: "Start over", description: "The insights were wrong — let me re-describe what changed"}].

Apply any corrections, then proceed.

6. Lifecycle label check

Check the current labels on the issue:

gh issue view <issue_number> --json labels --jq '.labels[].name'

Stale label rules by change type:

What changedStale labels (Task)Stale labels (Feature)
Gherkin scenarios changedimplemented, verified—
ACs changedverifiedDoR: "Acceptance criteria written and reviewed" unchecked
Contracts changedimplemented, verified—
Functional Description changed——

If any stale labels are present, call AskUserQuestion with:

  • question: "The following labels may no longer be accurate after this refinement: [list]. How should I handle them?"
  • header: "Stale labels"
  • options: [{label: "Strip stale labels", description: "Remove the labels that no longer reflect reality (recommended)"}, {label: "Keep labels as-is", description: "Leave labels unchanged — I'll manage them manually"}]

Record the decision for the audit comment in step 8.

7. Apply the changes

Read the current issue body, merge only the changed sections (preserving all unchanged content), and write the updated body:

gh issue view <issue_number> --json body -q .body > /tmp/wtf.refine-<issue_number>-body.md

Use the Edit tool to replace each changed section in /tmp/wtf.refine-<issue_number>-body.md with its updated content. Preserve all other sections verbatim.

gh issue edit <issue_number> --body-file /tmp/wtf.refine-<issue_number>-body.md

If stale labels should be stripped (from step 6):

gh issue edit <issue_number> --remove-label "implemented,verified"
# Only remove labels that were confirmed stale — use the actual list

Print the updated issue URL.

8. Post the audit trail comment

Post a structured comment summarising the refinement:

gh issue comment <issue_number> --body "<audit_comment>"

The audit comment must include:

## Refinement — <YYYY-MM-DD>

**Insights incorporated:**
- [insight 1]
- [insight 2]

**Sections updated:** [comma-separated list]

**Validations re-run:** [scope gate / DDD guard / Gherkin re-derivation — or "none required"]

**Labels affected:** [stripped: implemented, verified — or "none"]

**Children that may need refinement:** [list with issue numbers and reason — or "none identified"]

9. Cascade to affected children

Using the hierarchy fetched in step 1, determine which children are affected by this refinement:

Epic refined:

  • Features whose scope overlaps the changed Goal or Success Metrics
  • Features listed in the Feature Breakdown that reference changed bounded context terms

Feature refined:

  • Tasks whose Gherkin scenarios directly test the changed ACs
  • Tasks whose Proposed Tasks checklist entry was modified or removed

Present the affected children as a numbered list. Then call AskUserQuestion with:

  • question: "These child issues may be out of sync with the updated spec: [list]. How would you like to handle them?"
  • header: "Cascade"
  • options: [{label: "Refine each one now", description: "Walk throughwtf.refinefor each affected child in order (default)"}, {label: "I'll handle them manually", description: "Exit — I'll open each child and update it myself"}, {label: "Skip", description: "Leave children as-is"}]
  • Refine each one now → partition the affected children into conflict-free sub-groups using ../references/conflict-graph.md (sub-groups here play the role of sub-phases). For each sub-group, spawn one sub-agent per child in parallel using the Agent tool, following ../references/subagent-protocol.md — read skills/wtf.refine/SKILL.md at spawn time and paste steps 2 onward into each sub-agent prompt. Pass in the child issue number and the parent insight as pre-loaded context so the user is not re-asked. Wait for all sub-agents in a sub-group to complete (resolving any NEEDS_INPUT responses) before starting the next sub-group. After all sub-groups complete, summarise results.
  • I'll handle them manually / Skip → exit.

If no children are affected, skip this step entirely.

平台分布

Codex

35.28%
按下载量换算84

Claude

27.92%
按下载量换算66

Cursor

20%
按下载量换算47

Gemini CLI

8.81%
按下载量换算21

安全审计

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

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills