通过探索代码库对 Bug/Issue 进行排查归因,并基于 TDD 方式生成修复计划,同时创建对应的 GitHub issue。适用于用户报告了 bug、希望创建 issue、提到“triage”,或想调查并规划某个问题的修复方案。

MITAuto-check passedDevelopment

Install Triage Issue

skills CLI
$ npx skills add ProgrammerAnthony/Anything-Extract --skill triage-issue -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ProgrammerAnthony/Anything-Extract triage-issue --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ProgrammerAnthony/Anything-Extract.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/triage-issue .claude/skills/triage-issue && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
triage-issue
GitHub stars
139
Token cost
~504 tokens
SKILL.md length
129 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

通过探索代码库对 Bug/Issue 进行排查归因,并基于 TDD 方式生成修复计划,同时创建对应的 GitHub issue。适用于用户报告了 bug、希望创建 issue、提到“triage”,或想调查并规划某个问题的修复方案。

  • Works in 5 steps: 捕捉问题 → 探索并诊断 → 确定修复思路 → …
  • Tasks that involve Issue triage
  • SKILL.md covers 过程, 问题(Problem), 根因分析(Root Cause Analysis) and TDD 修复计划(TDD Fix Plan), plus 1 more section
  • Calls git and gh

What it does

Triage Issue is an agent skill from ProgrammerAnthony/Anything-Extract. 通过探索代码库对 Bug/Issue 进行排查归因,并基于 TDD 方式生成修复计划,同时创建对应的 GitHub issue。适用于用户报告了 bug、希望创建 issue、提到“triage”,或想调查并规划某个问题的修复方案。

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Issue triage and Test-driven development. It works with GitHub. The repository describes itself as: 高效文档识别&知识库&本地启动,前后端;整合QAnything、dify等思想和源码,快速批量可靠提取文档关键信息并导出. The licence is MIT.

When your agent uses it

  • Tasks that involve Issue triage
  • Tasks that involve Test-driven development

Example prompts

  • “triage”
  • “/triage-issue”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 捕捉问题
  2. 探索并诊断
  3. 确定修复思路
  4. 设计 TDD 修复计划
  5. 创建 GitHub issue

What it can do on your machine

Read from SKILL.md and the folder at commit f1ed557. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Triage Issue loads about 504 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 129 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~504

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ProgrammerAnthony/Anything-Extract at commit f1ed557, republished under its MIT licence (© ProgrammerAnthony). 129 words, ~504 tokens.

Download SKILL.mdSave it as .claude/skills/triage-issue/SKILL.md (or your agent's skills folder).
name
triage-issue
description
通过探索代码库对 Bug/Issue 进行排查归因,并基于 TDD 方式生成修复计划,同时创建对应的 GitHub issue。适用于用户报告了 bug、希望创建 issue、提到“triage”,或想调查并规划某个问题的修复方案。

问题排查(Triage Issue)

对用户报告的问题进行调查、定位根因,并创建一个包含 TDD 修复计划的 GitHub issue。该工作流尽量“半自动化”(hands-off):在调查阶段尽量减少向用户追问。

过程

1. 捕捉问题

从用户处获取该 issue 的简要描述。如果用户还没有提供,请只问一个问题:你现在看到的问题是什么?

在问出这些信息之后,不要再做进一步追问:立刻开始调查。

2. 探索并诊断

使用 Agent 工具(subagent_type=Explore)对代码库进行深入调查。你的目标是找到:

  • 哪里表现出问题(入口点、UI、API 响应等)
  • 涉及什么代码路径(追踪调用流程)
  • 为什么会失败(根因,而不仅仅是表象)
  • 有哪些相关代码存在(类似模式、测试、相邻模块)

重点查看:

  • 相关源文件及其依赖关系
  • 现有测试(哪些被覆盖、哪些缺失)
  • 影响文件的近期改动(对相关文件运行 git log)
  • 该代码路径中的错误处理逻辑
  • 在仓库其他地方是否存在能正常工作的相似模式
3. 确定修复思路

基于你的调查结果,确定:

  • 修复根因所需的最小改动
  • 受影响的模块/接口
  • 需要通过测试验证哪些行为
  • 这属于回归(regression)、缺失功能(missing feature)还是设计缺陷(design flaw)
4. 设计 TDD 修复计划

创建一个具体的、按顺序排列的 RED-GREEN 循环列表。每个循环都是一个“竖向切片”(vertical slice):一次只覆盖一个小的行为修复步骤。

  • RED:描述一个捕获“当前行为缺失/错误”的具体测试
  • GREEN:描述为让该测试通过所需的最小代码变更

规则:

  • 测试应通过公共接口验证行为,而不是依赖实现细节
  • 一次一个测试、按竖向切片推进(不要先写完所有测试再一次性写代码)
  • 每个测试都应能在内部重构后保持稳定
  • 如有需要,最后包含一个重构步骤
  • 耐久性(Durability):只建议能经得起“仓库大幅改动”的修复方式。用“行为/契约(contract)”而不是“内部结构”。对测试断言的是可观察结果(API 响应、UI 状态、用户可见效果),而不是内部状态。
    • 一个好的建议读起来像规范(spec),而不好的建议读起来像 diff(差异补丁)。
5. 创建 GitHub issue

在创建 issue 时使用 gh issue create 并遵循下方模板。不要在创建 issue 之前先让用户审核:直接创建并把 URL 贴给用户。

<issue-template>
## 问题(Problem)

清晰描述 bug 或 issue,包括:

  • 发生了什么(实际行为)
  • 应当发生什么(期望行为)
  • 如何复现(如适用)

根因分析(Root Cause Analysis)

描述你调查过程中发现的内容:

  • 涉及的代码路径(以模块/行为为单位描述即可)
  • 为什么当前实现会失败
  • 任何可能的促成因素(contributing factors)

不要在 issue 中写死当前代码布局耦合到具体的文件路径、行号或实现细节。请以“模块、行为与契约”为粒度描述,让 issue 即使在大规模重构后依然可用。

TDD 修复计划(TDD Fix Plan)

用一个按序的数字列表写出 RED-GREEN 循环:

  1. RED:写一个测试,来[描述期望行为] GREEN:让该测试通过所需的[最小改动]

  2. RED:写一个测试,来[描述下一个期望行为] GREEN:让该测试通过所需的[最小改动]

...

REFACTOR:所有测试通过后,是否还需要进行任何清理(cleanup)?

验收标准(Acceptance Criteria)

  • 验收点 1
  • 验收点 2
  • 所有新增测试都通过
  • 现有测试仍然通过
</issue-template>

在创建 issue 后,打印 issue 的 URL,并输出一行总结(root cause 的一句话概括)。

© ProgrammerAnthony, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/triage-issue of ProgrammerAnthony/Anything-Extract.

Open the folder on GitHubat commit f1ed557

Compare with similar skills

Triage Issue next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Triage Issue compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Triage Issue this skillProgrammerAnthony/Anything-Extract139—~504Automated safety check: PassMIT
Triage Issuesoftspark/ai-toolkit179—~1.3kAutomated safety check: NotesApache-2.0
Maggyalinaqi/maggy707—~1.5kAutomated safety check: PassMIT
Setup Matt Pocock Skillsywwynm/EverythingDone1449 repos~1.7kAutomated safety check: PassGPL-3.0
Project Context SetupMathews-Tom/armory328—~1.2kAutomated safety check: PassMIT
Bug Report TriageOrchestratorInc/agent-orchestrator13k—~1.8kAutomated safety check: PassApache-2.0

Similar skills

  • Triage Issue

    softspark/ai-toolkit

    Bug triage: explores codebase for root cause, files GitHub issue with TDD fix plan.

    179 GitHub stars~1.3k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Maggy

    alinaqi/maggy

    Maggy is a local AI engineering command center. An agent skill from alinaqi/maggy.

    707 GitHub stars~1.5k tokensUpdated 14 days ago
    Testing & QAAuto-check passed
  • Setup Matt Pocock Skills

    ywwynm/EverythingDone

    Sets up an Agent skills block in AGENTS.md/CLAUDE.md and docs/agents/ so the engineering skills know this repo's issue tracker (GitHub or local markdown), triage label vocabulary, and domain doc…

    144 GitHub starsUsed in 9 repos~1.7k tokens
    Agent WorkflowsAuto-check passed
  • Project Context Setup

    Mathews-Tom/armory

    Scaffolds per-repository agent context so coding agents share the same issue tracker rules, triage label vocabulary, domain glossary, ADR layout, and handoff conventions.

    328 GitHub stars~1.2k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Bug Report Triage

    OrchestratorInc/agent-orchestrator

    Helps a reporter describe a bug, searches for duplicates and gathers diagnostic evidence kept separate from a short, human-worded issue draft.

    13k GitHub stars~1.8k tokensUpdated today
    DevelopmentAuto-check passed
  • React Router Bug Fix Workflow

    remix-run/react-router

    Fixes a React Router bug reported in a GitHub issue end to end: fetching the issue, validating the reproduction, writing a failing test and implementing the fix on a new branch.

    57k GitHub stars~1.3k tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from ProgrammerAnthony/Anything-Extract

All 13 skills in this repo
  • Backend Code Review

    ProgrammerAnthony/Anything-Extract

    指导在项目(python项目)中队后端代码进行质量、安全、可维护性与最佳实践审查,基于既定规则清单。适用于用户请求对 backend/ 下后端文件(如 .py)进行审查、分析或改进。不用于前端文件(如 .tsx、.ts、.js)。支持待提交变更审查、代码片段审查、按文件审查。

    139 GitHub stars~791 tokensUpdated 4 mo ago
    Auto-check passed
  • Frontend Code Review

    ProgrammerAnthony/Anything-Extract

    指导在项目中对前端代码(Next.js/React/TypeScript/Tailwind 等)进行结构、可维护性、性能与一致性审查,基于既定规则清单。适用于用户请求审查 .tsx/.ts/.js/.jsx 等前端文件或前端目录下的页面与组件。不用于后端代码(如 .py)。

    139 GitHub stars~957 tokensUpdated 4 mo ago
    Auto-check passed
  • Design An Interface

    ProgrammerAnthony/Anything-Extract

    使用并行子 agent 为某个模块生成多个根本不同的接口设计。适用于用户希望设计某个 API、探索接口选项、对比模块形状(module shapes),或提到“design it twice(把它设计两遍)”。

    139 GitHub stars~448 tokensUpdated 4 mo ago
    Auto-check passed
  • TDD

    ProgrammerAnthony/Anything-Extract

    使用 RED-GREEN-重构(red-green-refactor)循环进行测试驱动开发。适用于用户希望用 TDD 构建新功能或修复 bug,提到 “red-green-refactor”,希望使用集成测试,或询问“test-first development(先写测试)”。

    139 GitHub stars~572 tokensUpdated 4 mo ago
    Auto-check passed
  • Ubiquitous Language

    ProgrammerAnthony/Anything-Extract

    从当前对话中抽取 DDD 风格的“统一语言”术语表(ubiquitous language glossary),标记歧义,并提出规范的术语选择。保存为 UBIQUITOUSLANGUAGE.md。适用于用户希望定义领域术语、构建术语表、固化用词并强化术语一致性,或提到 “domain model” / “DDD”(领域模型与 DDD)。

    139 GitHub stars~647 tokensUpdated 4 mo ago
    Auto-check passed
  • Write A Skill

    ProgrammerAnthony/Anything-Extract

    以正确的技能结构、渐进式披露与打包资源来创建新的 agent 技能。适用于用户希望创建、编写或构建新的技能. An agent skill from ProgrammerAnthony/Anything-Extract.

    139 GitHub stars~407 tokensUpdated 4 mo ago
    Auto-check passed

Works with

Questions about Triage Issue

What does Triage Issue do?

通过探索代码库对 Bug/Issue 进行排查归因,并基于 TDD 方式生成修复计划,同时创建对应的 GitHub issue。适用于用户报告了 bug、希望创建 issue、提到“triage”,或想调查并规划某个问题的修复方案。. Triage Issue is an agent skill from ProgrammerAnthony/Anything-Extract.

When should I use Triage Issue?

Triage Issue fits situations like: tasks that involve Issue triage; tasks that involve Test-driven development.

How do I install Triage Issue in Claude Code?

Run `npx skills add ProgrammerAnthony/Anything-Extract --skill triage-issue -a claude-code`. Or copy the skill folder (.agents/skills/triage-issue in ProgrammerAnthony/Anything-Extract) into .claude/skills/triage-issue in your project. Claude Code loads it when a task matches its description.

How do I install Triage Issue in Codex?

Run `npx skills add ProgrammerAnthony/Anything-Extract --skill triage-issue -a codex`. Or copy the skill folder (.agents/skills/triage-issue in ProgrammerAnthony/Anything-Extract) into .agents/skills/triage-issue in your project. Codex loads it when a task matches its description.

Can I use Triage Issue in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ProgrammerAnthony/Anything-Extract --skill triage-issue -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/triage-issue, .gemini/skills/triage-issue, .github/skills/triage-issue and .opencode/skills/triage-issue in your project.

What does Triage Issue need to run?

Going by SKILL.md and its folder, Triage Issue needs the command-line tools its instructions call (git and gh).

Does Triage Issue access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Triage Issue safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Triage Issue use?

Triage Issue is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Triage Issue use?

About 504 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Triage Issue?

Skills that share tags, products or a category with Triage Issue: Triage Issue (softspark/ai-toolkit, 179 stars), Maggy (alinaqi/maggy, 707 stars), Setup Matt Pocock Skills (ywwynm/EverythingDone, 144 stars) and Project Context Setup (Mathews-Tom/armory, 328 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Triage Issue?

ProgrammerAnthony (a GitHub user) maintains it in ProgrammerAnthony/Anything-Extract, which has 139 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on May 13, 2026.

Source: ProgrammerAnthony/Anything-Extract on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.