Check Issue 标志

Check Issue

社区
jcesarperez
check-issue

Evaluate whether a Jira issue (Story, Bug, Task) is stuck. Analyzes execution health (time in status, ping pong, PR state, subtask movement), with lighter definition and decomposition checks adapted per issue type. Use whenever the user wants to know if an issue is blocked, stuck, or at risk.

概览

发布者jcesarperez
代码仓库claude-em
技能名称check-issue
星标数
96
复刻数
15
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 jcesarperez 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Check Issue AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/jcesarperez/claude-em/tree/main/.claude/skills/check-issue
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jcesarperez/claude-em.git /tmp/claude-em
mkdir -p .claude/skills
cp -r /tmp/claude-em/.claude/skills/check-issue .claude/skills/check-issue
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Check Issue,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Check Issue。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Check Issue 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Tool

Run this script using the Bash tool:

bash .claude/skills/check-issue/scripts/fetch_issue.sh <ISSUE_KEY> --json
  • ISSUE_KEY: any issue key (Story, Bug, Task, Sub-task)
  • If the issue is not found, the script exits with an error. Report it and stop.

The script outputs JSON with this structure:

json
{
  "fetched_at": "2026-04-20T10:00:00Z",
  "issue": {
    "key": "FBX-1234",
    "issuetype": "Story",
    "summary": "...",
    "status": "In Review",
    "statusCategory": "In Progress",
    "description": "plain text",
    "assignee": "Name or null",
    "priority": "High",
    "duedate": "YYYY-MM-DD or null",
    "created": "...",
    "updated": "...",
    "comments": [{ "author": "Name", "created": "...", "body": "plain text" }],
    "time_in_current_status": { "formatted": "Xd Yh Zm", "seconds": 0, "since": "..." },
    "first_in_progress_at": "YYYY-MM-DDTHH:MM:SSZ or null",
    "cycle_time": { "formatted": "Xd Yh Zm", "seconds": 0 }, // Done issues only, or null
    "time_in_progress": { "formatted": "Xd Yh Zm", "seconds": 0 }, // In Progress issues only, or null
    "status_transitions": [{ "from": "...", "to": "...", "at": "...", "author": "Name" }],
    "assignee_changes": [{ "from": "...", "to": "...", "at": "...", "changed_by": "Name" }],
    "pr": {
      "count": 2,
      "open_count": 1,
      "draft_count": 0,
      "items": [                              // null if only aggregate data is available
        {
          "id": "#123",
          "title": "fix: FBX-1234 ...",
          "status": "OPEN",                   // OPEN | DRAFT | MERGED | DECLINED | CLOSED
          "open": true,                       // true only when status == OPEN (ready for review)
          "author": "Name",
          "branch": "FBX-1234-my-branch",
          "last_updated": "YYYY-MM-DDTHH:MM:SS.000+0000",
          "url": "https://github.com/..."
        }
      ]
    } // or null if no PRs found
    "pr_merge_gap": { "formatted": "Xd Yh Zm", "seconds": 0 } // gap between first and last MERGED PR; null if < 2 merged PRs
  },
  "parent_epic": { "key": "FBX-1000", "summary": "...", "status": "In Development" }, // or null
  "subtasks": [
    {
      "key": "FBX-1235",
      "summary": "...",
      "status": "In Progress",
      "statusCategory": "In Progress",
      "assignee": "Name or null",
      "time_in_current_status": { "formatted": "Xd Yh Zm", "seconds": 0, "since": "..." }
    }
  ],
  "pingpong": {
    "status_bounces": 0,
    "assignee_change_count": 0,
    "pingpong_comment_count": 0,
    "comment_author_count": 0,
    "detected": false
  }
}

Instructions

Issue Key Resolution

  • If the argument matches [A-Z]+-\d+, use it directly.
  • Otherwise, treat it as a search phrase and search Jira using JQL: summary ~ "<phrase>" ORDER BY updated DESC Use the jira skill, then CLI, then REST API.
  • If multiple matches, list them and ask the user to confirm.

Analysis Steps

  1. Run the script; stop and report error if it fails
  2. Run the three health analyses using the fetched data
  3. Produce the structured report

Scoring Rubrics

Definition Health (lightweight, type-specific)

Evaluate issue.description and issue.comments. Assess each criterion for the issue type:

Story:

#Criterion✅
1User value / goalClear description of what the user can do or what changes
2Acceptance criteriaExplicit AC, "done when", or testable conditions present
3Dependencies flaggedNamed blockers, teams, or linked issues if applicable

Bug:

#Criterion✅
1Steps to reproduceClear steps or scenario that triggers the bug
2Expected vs actualBoth states described
3Severity/priority setPriority field is not null/default

Task / Sub-task:

#Criterion✅
1Clear goalDescription states what needs to be done
2Scope definedWhat is in scope; not ambiguous

Score:

  • 🟢 All ✅ or at most 1 ⚠️
  • 🟡 1–2 ⚠️, no ❌
  • 🔴 Any ❌, or description is empty

Decomposition Health (lightweight)

Evaluate subtasks array. Skip this section entirely if issuetype == "Sub-task".

#Criterion✅
1Appropriate decompositionComplex issue has subtasks; simple issue may not need them
2Not oversizedsubtasks.length ≤ 5; no single subtask has been stuck significantly longer than others
3All subtasks have clear summariesSummaries are descriptive, not placeholders

Signals to flag:

  • No subtasks but description implies multiple distinct pieces of work → ⚠️ may be oversized
  • subtasks.length > 5 → ⚠️ may be over-decomposed or should be an epic
  • All subtasks Done but issue still open → inconsistency, flag it

Score:

  • 🟢 All ✅ or at most 1 ⚠️
  • 🟡 1 ⚠️
  • 🔴 Any ❌

Execution Health (primary focus)

This is the core of the analysis. Evaluate all signals, then derive overall state.

Status Stuck Signal

Use issue.status (exact name, not category) and issue.time_in_current_status.seconds:

StatusStuck thresholdCritical threshold
Statuses containing "Review", "QA", "Testing"3 days (259200s)5 days
All other In Progress category statuses5 days (432000s)10 days

Only apply this to issues in statusCategory == "In Progress". Ignore To Do and Done.

Ping Pong (primary signal for Bugs, applies to all types)

Use pingpong pre-computed object AND read issue.comments directly to assess context.

Pre-computed signals:

  • status_bounces ≥ 2: issue moved back and forth between in-progress category statuses
  • assignee_change_count ≥ 3: passed between people multiple times
  • pingpong_comment_count ≥ 3 AND comment_author_count ≥ 2: back-and-forth in comments

Manual comment analysis (always do this): Read issue.comments and look for:

  • Open questions directed at another person ("@name can you...", "waiting for X to...")
  • Unanswered questions (question asked, no reply author after it, or reply is another question)
  • Comments that pass the ball ("handing back to", "assigned to you", "please check", "any update?")
  • Long gaps between comment threads that suggest waiting

Report specific evidence: quote or paraphrase the comment and its author/date.

Ping pong severity:

  • 🔴 Critical: pingpong.detected == true OR clear evidence of unanswered blocking question older than 3 days
  • 🟡 At Risk: 1–2 signals, or recent back-and-forth with open question
  • 🟢 None: no signals
PR Health

Use issue.pr and issue.pr.items (sorted by last_updated desc). Read the PR list to understand what happened: how many attempts, rework, drafts that never progressed, etc.

SituationSignal
status contains "Review" AND pr == null⚠️ In review but no PR — status may be wrong
pr.open_count > 0 AND most recent open PR last_updated > 3 days ago🟡 PR open but stale
pr.open_count > 0 AND most recent open PR last_updated > 7 days ago🔴 PR open and very stale
pr.draft_count > 0 AND statusCategory == "In Progress" AND most recent draft last_updated > 5 days ago🟡 Draft stale — engineer may be blocked
pr.draft_count > 0 AND all other PRs are MERGEDℹ️ Drafts never promoted — note but do not flag
all PRs MERGED AND statusCategory != "Done"⚠️ All PRs merged but issue still open — status stale
pr.count > 2 AND multiple DECLINED or many attempts⚠️ Rework signal — investigate why
statusCategory == "In Progress" AND pr == nullℹ️ No PR yet — expected if early in-progress

Skip PR analysis if pr == null and status is not review-related.

Cycle Time Signal

Use issue.cycle_time.seconds (Done issues) or issue.time_in_progress.seconds (In Progress issues). Apply to both Done and In Progress; ignore To Do.

ElapsedSignal
> 30 days (2,592,000s)🔴 Very long cycle time — investigate delivery pace
> 15 days (1,296,000s)🟡 Getting long — monitor
≤ 15 days🟢 OK
PR Merge Gap Signal

Use issue.pr_merge_gap.seconds. Skip if pr_merge_gap == null (fewer than 2 merged PRs).

Gap between first and last MERGED PRSignal
> 14 days (1,209,600s)🔴 Large gap — delivery stretched, likely paused or blocked mid-way
> 7 days (604,800s)🟡 Noticeable gap — work spread across multiple cycles
≤ 7 days🟢 OK
Subtask Execution

Use subtasks array:

  • Any subtask stuck by the same thresholds → flag with key + time
  • All subtasks Done but parent issue not Done → inconsistency
  • No subtasks started (statusCategory == "To Do" for all) → nothing moving
Assignee
  • assignee == null AND statusCategory == "In Progress" → 🔴 active work with no owner
Overall Execution State
  • 🟢 Moving: within stuck threshold, no ping pong, PR healthy (or not applicable), subtasks progressing, cycle time ≤ 15d, PR merge gap ≤ 7d
  • 🟡 At Risk: approaching threshold (>50% of limit), minor ping pong signs, PR open but not stale, 1 subtask stuck, cycle time > 15d, OR PR merge gap > 7d
  • 🔴 Stuck: exceeded stuck threshold, OR pingpong.detected == true OR clear unanswered blocking question, OR assignee == null in progress, OR PR very stale, OR all subtasks blocked, OR cycle time > 30d, OR PR merge gap > 14d

Output Format

Return ONLY this structure:


🎫 Issue Snapshot — KEY: Summary

  • Type: Story / Bug / Task / Sub-task
  • Status: "Status name" [statusCategory] — in this status for Xd Yh Zm (since YYYY-MM-DD)
  • Progress: First in progress YYYY-MM-DD · Cycle time Xd Yh (Done) | In progress Xd Yh total (In Progress) | — (To Do / never started)
  • Assignee: Name | ⚠️ Unassigned
  • Priority: High / Medium / Low / —
  • PRs: 3 total · 1 OPEN · 1 DRAFT · 1 MERGED (last activity YYYY-MM-DD) | No PRs (list each PR on its own line if ≤ 4 total: " · #123 MERGED — branch-name — author (YYYY-MM-DD)")
  • Parent: KEY — Epic Summary [Epic Status] | No parent
  • Subtasks: X total (X Done · X In Progress · X To Do) | None
  • Comments: X

🧠 Definition Health — 🟢 / 🟡 / 🔴

(Use type-specific criteria from the rubric)

  • ✅/⚠️/❌ Criterion: one-line assessment

🧩 Decomposition Health — 🟢 / 🟡 / 🔴 | N/A (Sub-task)

  • ✅/⚠️/❌ Criterion: one-line assessment
  • (Flag inconsistencies: all subtasks Done but issue open, etc.)

⚙️ Execution Health — 🟢 Moving / 🟡 At Risk / 🔴 Stuck

  • Status time: Xd in "Status" — 🟢 OK / 🟡 Approaching / 🔴 Stuck (threshold: Xd)
  • Ping pong: 🔴 Detected / 🟡 Signals present / 🟢 None
    • Evidence: "[quote or paraphrase]" — Author (date) | None
  • Cycle time: Xd total — 🟢 OK / 🟡 Long (>15d) / 🔴 Very long (>30d) | — (To Do)
  • PR merge gap: Xd between first and last merge — 🟢 OK / 🟡 Spread (>7d) / 🔴 Large (>14d) | N/A
  • PR: state — assessment | No PR
  • Subtasks: X moving / KEY stuck Xd / all Done but issue open | None
  • Assignee: ✅ Assigned / 🔴 Unassigned while In Progress
  • Key risks: bullet list

🧭 Summary

Overall: 🟢/🟡/🔴 · Definition: 🟢/🟡/🔴 · Decomposition: 🟢/🟡/🔴 · Execution: 🟢/🟡/🔴

  • 3–5 bullets: current state · main risk · main blocker

🎯 Recommendations

  1. [Verb] Specific concrete action
  2. ... (2–5 items, ordered by urgency)

Style Guidelines

  • Cite status names, durations, dates, and comment authors — no vague observations
  • For ping pong: quote or paraphrase actual evidence from comments; never say "ping pong detected" without backing it up
  • Bugs: pay extra attention to ping pong and blocking questions — this is the most common reason bugs stall
  • If definition is empty, state it explicitly; don't skip the section
  • Be concise and direct — EM tone, no fluff

Constraints

  • DO NOT invent data not present in the input
  • DO NOT flag Decomposition for Sub-tasks
  • DO NOT flag unassigned issues that are in "To Do" status category — only flag unassigned in "In Progress"
  • DO NOT apply stuck thresholds to issues in "Done" or "To Do" status categories
  • If pr.last_updated is null, omit the staleness assessment for PRs

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Check Issue AI 技能有什么作用?

Evaluate whether a Jira issue (Story, Bug, Task) is stuck. Analyzes execution health (time in status, ping pong, PR state, subtask movement), with lighter definition and decomposition checks adapted per issue type. Use whenever the user wants to know if an issue is blocked, stuck, or at risk.

为什么在 TypingMind 中使用 Check Issue?

因为您只需安装一次,就能搭配任何模型使用。Check Issue 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Check Issue?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/jcesarperez/claude-em/tree/main/.claude/skills/check-issue。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Check Issue?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Check Issue 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Check Issue 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Check Issue AI 技能免费吗?

是的。jcesarperez 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇