oh-my-issues
它能做什么
这个工具用于整理编程项目的 issue 列表。它会把由同一根本原因引起的相似问题归为一组,合并成一个‘总体方案’。然后,它会用统一格式的评论关闭原来的 issue,并生成一组修复方案,一次性解决所有问题。
适用场景
- ✓当存在大量重复的 issue,或者是同一个缺陷的不同表现时。
- ✓当你需要整理、分组或合并 issue 时。
- ✓当你希望根据 issue 制定行动计划或路线图时。
技能链接
https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/oh-my-issues/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把这 50 个 issue 按根本原因分组,并为每一组创建一个总体方案。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会读取所有 issue 及其评论,以弄清真正的原因。它会把能通过一次架构性改动解决的 issue 归为一组,并为每组创建一个‘总体方案’。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
oh-my-issues
Turn an issue backlog into a roadmap. Issues are symptom data, not units of work — the unit of work is the architectural defect that produces them. The end state is open issues == open plans, 1:1.
Core principle
Stop closing issues one at a time. Group symptoms that share a single architectural fix into a cluster, give the cluster one canonical home (a plan-master issue + a plans/0X-*.md design doc), close every child with a standardized redirect, and ship one PR per cluster that closes all children atomically. New incoming bugs get appended to the matching master as a "Round N" comment, not opened as new tracked issues.
This compounds three ways: architectural fixes retire whole symptom families, the plan's test matrix institutionalizes prevention in CI, and standardized triage makes residual inflow cheap.
When to use
- The repo has 20+ open issues and many feel like duplicates or platform-specific symptoms of the same defect.
- The user asks to "triage", "consolidate", "cluster", "dedupe", "group", or "make a plan from" the issue list.
- A new bug is filed and the user wants to know whether it belongs to existing work.
- The user wants to ship a focused PR that resolves a cluster of related issues.
When NOT to use
- Fewer than ~15 open issues: just close them.
- Issues are genuinely independent (no shared root causes): one fix per issue is correct.
- The repo lacks
plans/discipline and the user does not want to introduce one — propose first, do not impose.
Three modes
Mode 1: Cluster pass (initial reduction)
Use when the backlog has never been consolidated. Goal: go from N issues to N_plans masters in one operation.
- Read everything in full. Fetch every open issue's body and its comment thread — not just titles. Surface-level grouping fails without full text, and reproduction steps, linked duplicates, and diagnostic output often live in comments rather than the original body. See "GitHub CLI primitives" below for the correct paginated listing + per-issue comment fetch (a single
gh issue listcall does not return comment bodies). - Cluster by root cause, not by surface. The clustering question is would one architectural change retire all of these? — not do these mention the same word?. "Windows" is a surface; "spawn contract violated by host shells" is a root cause. Two issues with different surfaces can share a cluster (e.g. an env-var leak in two different code paths sharing one missing env-isolation boundary).
- Name each cluster as an architectural problem. Title format:
[plan-XX] <Architectural Defect> — <one-line scope>. Example:[plan-02] Spawn-Contract Templating — canonical ${CLAUDE_PLUGIN_ROOT} resolution across all hosts. The title must imply a fix, not a topic. - Open one master issue per cluster with a body that lists: the architectural defect, the children (by issue number), the fix sequence, and a required test matrix (host × IDE × shell, etc.) that prevents regression.
- Mirror each master as
plans/0X-<slug>.mdin the repo. The issue is the public tracker; the doc is the design. They reference each other. - Close every child with the standardized redirect comment (see below) and state
not planned. - Verify end state:
gh issue list --state openreturns exactly the masters and nothing else.
Target shape for ~100 issues: 4–8 masters. More than 10 means you're clustering by surface; fewer than 3 means clusters are too broad to ship as one PR each.
Mode 2: Triage (new incoming bug, steady state)
Use when a new issue is filed after consolidation is in place. Goal: never let the issue list re-accumulate.
- Read the new issue's body in full.
- Pattern-match the symptom against existing plan masters. For each open master, ask: would the fix described here also fix this new bug? If yes → it belongs to that plan.
- If a match exists, post a "Round N" comment on the master that:
- Names the new child by number
- Describes the symptom in one line
- Sketches the concrete fix (1–3 lines, e.g. "guard with
case "$_SH" in /*.exe|"") _SH=bash ;; esac") - Adds any new test-matrix cell the bug exposes
- Close the child with the standardized redirect comment,
not planned. - If no match exists and the bug is genuinely novel: open a new plan master +
plans/0X-*.md. Resist this. Most bugs are children of existing plans.
Mode 3: Bundle (ship the cluster)
…
常见问题
什么是‘总体方案’?
它是一个主 issue,代表一组相关的问题。它描述了根本原因,以及解决该组所有 issue 的方案。
为什么要分组,而不是逐个修复?
逐个修复 issue 可能比较慢。把多个问题的根本原因归在一起,一次性修复,效率更高,也能防止类似问题再次出现。
分组之后,原来的 issue 会怎样?
它们会被关闭,并附上统一格式的评论,指向对应的‘总体方案’,说明它们是作为一次更大规模修复的一部分被解决的。
详情
作者的原始描述
Cluster a GitHub issue backlog by root cause into a small set of plan-master issues, redirect children with a standardized comment, and bundle architectural-fix PRs that close clusters atomically. Use when an issue tracker has accumulated dozens of reports that share underlying defects, when asked to triage / consolidate / cluster / dedupe issues, when asked to build a plan series or roadmap from
repo: thedotmack/claude-mem
热度
- GitHub 星标
- 101k
- 排名
- #1276
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
Agent Cost Report
101k让你的智能体生成其活动的详细成本报告。显示在 token 和服务上花费了多少。
claude-mem-install
101k帮助你的智能体在不同环境中设置 Claude-Mem。你可以选择使用本地或远程工作进程,并配置观察功能。
mem-search
101k让你的智能体搜索过去的记忆。适合回忆之前的解决方案,或旧会话中的工作内容。
host-observer
101k帮助你的智能体响应 Claude-Mem 观察者任务。它只能回复“skip_summary”或完整的 XML 观察记录。