跳到正文
cccskills
免费在 GitHub 公开中文介绍

oh-my-issues

按共同根本原因整理GitHub中积累的故障报告,建立父议题和设计文档,并协助将相关修复与防止问题复发的测试合并到一个拉取请求。

原文查看原文说明

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 open issues, or when routing a new incoming bug into an existing plan.

集成工具GitHub
AI 评分70分/ 100查看安装方法

适用场景

  • 合并具有共同原因的故障报告
  • 根据未处理议题制定修复计划
  • 将新故障归入已有计划
  • 将相关修复整合为一个拉取请求

中文介绍

功能

oh-my-issues 按共同根本原因整理 GitHub 中积累的故障报告。它阅读议题正文和评论,将能由同一项结构性修复解决的报告归组,为每组建立用于跟踪的父议题和 plans/0X-*.md 设计文档。随后在子议题中指明合并去向并关闭,将修复顺序和防止问题复发的测试条件集中到父议题。

适用场景

适合类似故障或不同环境下的报告不断增加,导致难以确定修复优先顺序的开发工作。也可用于将新报告归入已有计划,或将相关修复合并到一个拉取请求。

使用示例

  • “按根本原因整理未处理的议题,并制定修复计划。”
  • “检查这个故障是否已包含在现有父议题中。”
  • “将此计划的相关议题和测试条件整理到一个拉取请求中。”

注意事项

流程使用 GitHub CLI 的 gh 和 jq。议题少于15个或原因彼此独立时不适用。流程以使用 plans/ 管理设计文档为前提,子议题以 not planned 状态关闭,并不表示修复已经完成。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

客观评估

AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。

指令清晰度能否看出何时使用、做什么
A良好明确说明按根因整合、分配新报告和将相关修复汇入拉取请求三种用途。
步骤具体性步骤、输入输出和示例是否具体
A良好各模式均有步骤,并规定父议题内容、转向评论模板和关闭状态。
安全性发送数据、删除文件、执行命令等是否有说明
C需确认指示向所有子议题发布评论并批量关闭,但没有事前确认步骤。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足以gh、jq和plans/管理流程为前提,但未提供工具安装或认证步骤。

总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月21日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(1)

  • SKILL.md11.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

  1. 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 list call does not return comment bodies).
  2. 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).
  3. 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.
  4. 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.
  5. Mirror each master as plans/0X-<slug>.md in the repo. The issue is the public tracker; the doc is the design. They reference each other.
  6. Close every child with the standardized redirect comment (see below) and state not planned.
  7. Verify end state: gh issue list --state open returns 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.

  1. Read the new issue's body in full.
  2. 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.
  3. 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
  4. Close the child with the standardized redirect comment, not planned.
  5. 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)

Use when a plan slice is ready to ship. Goal: one PR closes N children atomically.

  1. List the master's children. From the master body and consolidation comments, collect every child issue number routed to this plan.
  2. Verify each child's symptom is covered by the architectural fix in the PR. If a child is not covered, the PR is not ready or that child belongs in a different plan.
  3. Generate the PR description: title is the plan slice (e.g. "fix(spawn): canonical ${CLAUDE_PLUGIN_ROOT} resolution"); body lists every child with Closes #N so GitHub auto-closes them on merge.
  4. Add the test matrix from the plan to CI in the same PR. Without the matrix, the cluster will re-emerge.
  5. After merge, the master issue can be closed only if every child was covered. If the plan has remaining scope, leave the master open and link the PR as a partial-shipping checkpoint.

Naming a plan master

A plan-master title must imply its fix.

Bad (surface)Good (architectural)
Windows bugsSpawn-Contract Templating across hosts
Worker crashesWorker / Daemon Lifecycle Hardening — supervision, health, retry
Auth issuesWorker Env Isolation — strip host CLI env from the SDK subprocess
Install failuresInstaller Failure Transparency — cross-IDE error taxonomy + 12×4 test matrix

If you cannot write a one-line architectural scope, the cluster is wrong.

The standardized redirect comment

Use this exact phrasing on every child closure. Consistency lets contributors recognize the pattern at a glance and keeps the audit trail searchable.

Consolidating into #<MASTER> (plan-XX). The root cause and fix sequencing are tracked there alongside the rest of the cluster — please follow that issue for progress.

Close as not planned (not completed) — the child was a symptom, not a unit of work.

GitHub CLI primitives

Resolve repo:

repo_json=$(gh repo view --json owner,name)
owner=$(jq -r '.owner.login // .owner.name' <<<"$repo_json")
repo=$(jq -r '.name' <<<"$repo_json")

List all open issues (the read-everything pass). Two gotchas:

  • gh issue list --json comments returns only a count placeholder, not the comment bodies. You must fetch comments per issue with gh issue view <N> --json comments.
  • Any explicit --limit silently truncates if the backlog is larger. Always check the total open count first.
# 1. Confirm total — never trust an arbitrary --limit.
# Note: GitHub's REST API treats PRs as issues, so .open_issues_count
# from /repos/{owner}/{repo} is actually issues + PRs. Use the search
# API to get the issue-only count.
total=$(gh api "search/issues?q=repo:$owner/$repo+is:issue+is:open" --jq '.total_count')
echo "Open issues: $total"

# 2. List bodies (set --limit at or above the true total)
gh issue list --state open --limit "$total" \
  --json number,title,body,labels,author,createdAt

# 3. For each issue, fetch its full comment thread
for n in $(gh issue list --state open --limit "$total" --json number --jq '.[].number'); do
  echo "=== Issue #$n ==="
  gh issue view "$n" --json comments \
    --jq '.comments[] | "\(.author.login) (\(.createdAt)): \(.body)"'
done

If total > 1000, paginate via the REST API: gh api "repos/$owner/$repo/issues?state=open&per_page=100&page=N" looped until the result array is empty (note this includes PRs, so filter select(.pull_request|not)).

Open a plan master:

gh issue create \
  --title "[plan-02] Spawn-Contract Templating — canonical \${CLAUDE_PLUGIN_ROOT} resolution across all hosts" \
  --body-file plans/02-spawn-contract-templating.md \
  --label plan,plan-02

Post the consolidation comment + close the child:

gh issue comment <CHILD> --body "Consolidating into #<MASTER> (plan-XX). The root cause and fix sequencing are tracked there alongside the rest of the cluster — please follow that issue for progress."
gh issue close <CHILD> --reason "not planned"

Append a "Round N" triage comment to a master:

gh issue comment <MASTER> --body "$(cat <<'EOF'
**Round N consolidation**

- #<CHILD> (<one-line symptom>) folded into this plan as <classification>.

Proposed fix: <1–3 line sketch>.

Adds matrix cell: <host/IDE/shell combination>.
EOF
)"

Verify final state:

gh issue list --state open --json number,title \
  | jq -r '.[] | "\(.number)\t\(.title)"'

Output should be exactly the plan masters.

Plan master body template

Save as plans/0X-<slug>.md and use as --body-file for the master issue.

# [plan-XX] <Architectural Defect> — <one-line scope>

## Defect

<One paragraph: what is structurally broken, why it produces the observed family of symptoms.>

## Children

- #N — <symptom one-liner>
- #N — <symptom one-liner>
- ...

## Fix sequence

1. <First architectural change — bounded, reviewable>
2. <Second>
3. ...

## Test matrix

| Axis A | Axis B | Required behavior |
|---|---|---|
| ... | ... | ... |

The matrix lives in CI. A future regression must fail CI before a user can file.

## Out of scope

<What this plan deliberately does not cover, with pointers to other plan masters.>

Health checks

Run periodically against the plan masters to catch the failure modes.

  • Graveyard master: master issue has accumulated 5+ "Round N" comments without a shipping PR. The plan needs a forcing PR or it must be split.
  • Over-broad master: the children's fixes cannot fit one PR. Split into two plans with narrower scope.
  • Surface-clustered master: the children share a topic but not a fix. Re-cluster by root cause; some children belong to different plans.
  • Drift between issue and doc: the plan master body and plans/0X-*.md disagree. Pick one as canonical (the doc) and regenerate the issue body from it.

Stop conditions

For a cluster pass: stop when gh issue list --state open returns exactly the masters.

For a triage: stop when the new child is closed and the master has a Round-N entry.

For a bundle: stop when the PR is merged and every listed child is auto-closed by Closes #N.

Failure modes worth refusing

  • Premature clustering before reading every issue body in full. Don't.
  • Closing children before the master is open. Children must always have a redirect target.
  • Using the redirect comment for issues that aren't symptoms (e.g. genuine feature requests with no shared root cause). Those stay open or get their own track.
  • Closing a master before every listed child is shipped. The master is the contract; closing it early breaks the audit trail.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Agent Cost Report

免费有简介AI 评分 90分

根据代理工作记录和词元数量,整理每项已完成成果及返工的费用,区分估算金额与实测支出,并生成附有依据的 HTML、JSON 和 CSV 报告。

  • 核对每周支出与完成成果
  • 比较每项已完成成果的费用
  • 调查重复工作与返工费用
thedotmack/claude-mem10.2万2026年10月23日 更新

babysit

免费有简介AI 评分 80分

持续跟踪拉取请求的评审和自动检查,核实反馈是否适用于实际代码,反复修复、测试并推送,直到待处理问题与未解决讨论清零,达到可合并状态。

  • 监控拉取请求的自动检查
  • 核实评审反馈并修复问题
  • 检查合并前的未解决事项
thedotmack/claude-mem10.2万2026年10月23日 更新

build-and-release

免费有简介AI 评分 60分

将编码任务交给子代理,依次执行build、合并已准备好的拉取请求,再从更新后的main进入release,把实现与发布工作连接起来。

  • 委托从实现到发布的完整任务
  • 衔接拉取请求合并与发布工作
  • 连续执行build和release
thedotmack/claude-mem10.2万2026年10月23日 更新

ccs-align

免费有简介AI 评分 90分

检查本地claude-mem运行状态,更新各用户的重要记录缓存,支持排除和恢复记录,并报告不同层级的规则冲突,适合定期运维。

  • 检查运行状态并更新重要记录
  • 保留原始历史并排除缓存记录
  • 恢复已排除的记录
thedotmack/claude-mem10.2万2026年10月23日 更新

childhood

免费有简介AI 评分 90分

发布后核查公开软件包、线上服务和已安装插件,持续跟踪延迟到达的持续集成结果及故障报告,确认问题是否由此次发布引起,并在授权范围内修复。

  • 检查已发布软件包的内容
  • 验证线上环境的变更路径
  • 确认已安装插件的版本
thedotmack/claude-mem10.2万2026年10月23日 更新

claude-mem-install

免费有简介AI 评分 90分

为Grok Bot安装claude-mem,建立收集工作记录的环境。除默认的本地worker与CMEM Pro配置外,也介绍可选的host-login配置及远程连接。

  • 为Grok Bot添加记忆功能
  • 配置本地worker与CMEM Pro
  • 安装可选的host-login配置
thedotmack/claude-mem10.2万2026年10月23日 更新

查看 thedotmack 的全部技能

报告此技能的问题