Check Epic 标志

Check Epic

社区
jcesarperez
check-epic

Evaluate the health of a Jira epic: definition quality, issue decomposition, and execution dynamics. Use whenever the user wants to assess epic health, identify risks, or get prioritized recommendations.

概览

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

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

  • 兼容任何大语言模型

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

  • 1 个附带文件

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

  • 开源

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

安装

在 TypingMind 中安装 Check Epic 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-epic
  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-epic .claude/skills/check-epic
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Check Epic 不局限于最初适配的模型。只需在 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-epic/scripts/fetch_epic.sh <EPIC_KEY> --json
  • EPIC_KEY: the Jira epic key (e.g. FBX-1234) — may be resolved from a phrase; see Epic Key Resolution below
  • If EPIC_KEY is not an Epic, the script exits with an error. Report the error to the user and stop.

The script outputs JSON with this structure:

json
{
  "fetched_at": "2026-04-14T10:00:00Z",
  "epic": {
    "key": "FBX-1234",
    "summary": "...",
    "status": "In Development",
    "statusCategory": "In Progress",
    "description": "plain text",
    "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": "..." }
  },
  "metrics": {
    "total": 0,
    "done": 0,
    "in_progress": 0,
    "todo": 0,
    "blocked": 0,
    "pct_done": 0.0,
    "assignees": ["Name"],
    "assignee_count": 0,
    "closed_last_7d": 0,
    "created_last_7d": 0,
    "stale_in_progress": [{ "key": "FBX-X", "summary": "...", "time_in_status": "Xd Yh Zm" }],
    "unassigned_in_progress": ["FBX-X"],
    "days_until_due": 0,
    "epic_status_stale": false,
    "median_cycle_time_days": 0.0,
    "high_cycle_time_issues": [{ "key": "FBX-X", "summary": "...", "cycle_time_days": 0.0, "cycle_time_formatted": "Xd Yh Zm" }]
  },
  "child_issues": [
    {
      "key": "FBX-1235",
      "issuetype": "Story",
      "summary": "...",
      "status": "In Progress",
      "statusCategory": "In Progress",
      "assignee": "Name or null",
      "num_subtasks": 0,
      "duedate": "YYYY-MM-DD or null",
      "created": "...",
      "updated": "...",
      "time_in_current_status": { "formatted": "Xd Yh Zm", "seconds": 0, "since": "..." },
      "cycle_time": { "in_progress_at": "...", "done_at": "...", "seconds": 0, "days": 0.0, "formatted": "Xd Yh Zm" }
    }
  ]
}

Instructions

Epic Key Resolution

Before running the script, resolve the epic key:

  • If the argument matches the pattern [A-Z]+-\d+ (e.g. FBX-1234), use it directly.
  • Otherwise, treat it as a search phrase and search Jira for epics with a matching summary. Use this tool priority:
    1. jira skill — invoke /jira with JQL: issuetype = Epic AND summary ~ "<phrase>" ORDER BY created DESC
    2. CLI — jira issue list --jql 'issuetype = Epic AND summary ~ "<phrase>"'
    3. Batch — REST API calls via bash
    4. MCP — searchJiraIssuesUsingJql as last resort
  • If multiple matches are found, list them and ask the user to confirm which one to use.
  • If no match is found, report it and stop.

Analysis steps

  1. Run the script with the resolved epic key; stop and report the error if it fails
  2. Run the three health analyses using the pre-computed metrics and the epic + child_issues data
  3. Produce the structured report

Scoring Rubrics

Definition Health

Evaluate epic description + comments. Assess each criterion:

  • ✅ clearly present and specific
  • ⚠️ present but vague or incomplete
  • ❌ absent
#CriterionWhat counts as ✅
1Clear and testable goalDescribes what will be true when done, not just what will be built
2Success metrics / acceptance criteriaMeasurable outcomes or explicit done conditions
3Scope boundariesExplicit in-scope / out-of-scope statements
4Dependencies identifiedNamed teams, systems, or issues that are external blockers
5Rollout strategyFeature flags, phased rollout, migration plan
6ObservabilityDashboards, alerts, logs, or metrics named

Score:

  • 🟢 ≥4 criteria ✅
  • 🟡 2–3 ✅, or majority ⚠️
  • 🔴 ≤1 ✅, or description is empty

Decomposition Health

Evaluate issue list structure using summaries, types, and counts. Do NOT analyze issue descriptions.

#CriterionWhat counts as ✅
1CoverageIssue summaries collectively address all stated scope items; no major scope items untracked
2GranularityIssues are roughly similar in scope; no oversized items (num_subtasks > 5); median_cycle_time_days ≤ 7 when available
3Issue countAt least one issue per major scope item; not zero, not a single monolithic issue

Score:

  • 🟢 All ✅ or at most 1 ⚠️, no ❌
  • 🟡 1–2 ⚠️, no ❌
  • 🔴 Any ❌, or metrics.total == 0

Execution Health

Evaluate four signals, then derive overall state:

Velocity (use metrics.closed_last_7d):

  • Active: closed_last_7d > 0
  • Slow: closed_last_7d == 0 AND in_progress > 0
  • Stalled: closed_last_7d == 0 AND in_progress == 0

WIP pressure (use metrics.in_progress / metrics.total):

  • Healthy: in_progress / total ≤ 0.30 OR in_progress ≤ 2
  • High: in_progress / total > 0.30 AND in_progress > 2

Bottlenecks (use metrics.stale_in_progress and metrics.blocked):

  • Flag each issue in stale_in_progress (stuck ≥ 7d); issues ≥ 14d are critical
  • Flag each issue in blocked

Unassigned in-progress (use metrics.unassigned_in_progress):

  • Flag any in-progress issue with no owner — active work without an assignee is a delivery risk

Cycle time (use metrics.median_cycle_time_days and metrics.high_cycle_time_issues; skip entirely if null — not enough completed issues):

  • Healthy: median_cycle_time_days ≤ 5
  • At Risk: 5 < median_cycle_time_days ≤ 10, or any high_cycle_time_issues (> 2× avg and > 5d)
  • Critical: median_cycle_time_days > 10

Due date (use metrics.days_until_due and metrics.pct_done):

  • Evaluate overdue cases first (days_until_due < 0):
    • 🔴 days_until_due < 0 AND pct_done < 100 — overdue with open work remaining
    • ⚠️ days_until_due < 0 AND pct_done == 100 — past due date but all issues done; delivery timing unknown (epic may have finished on time but date was never updated)
  • Then evaluate upcoming deadline risk:
    • 🔴 days_until_due < 14 AND pct_done < 70
    • 🟡 days_until_due < 30 AND pct_done < 50
    • 🟢 otherwise, or days_until_due is null

Epic status staleness (use metrics.epic_status_stale):

  • If true, flag it in the snapshot — the epic status contradicts the child issue data

Overall execution state:

  • 🟢 Healthy: velocity Active, WIP Healthy, no bottlenecks or unassigned in-progress, due date 🟢, cycle time Healthy or null
  • 🟡 At Risk: any of — Slow velocity, High WIP, ≥1 stale in-progress, any unassigned in-progress, due date 🟡, due date ⚠️ (overdue but complete), cycle time At Risk
  • 🔴 Stalled: velocity Stalled, OR ≥2 issues stuck > 14d, OR due date 🔴 (overdue with open work, or upcoming with pct_done < 50), OR cycle time Critical

Output Format

Return ONLY this structure:


📊 Epic Snapshot — KEY: Summary

  • Total: X issues (X Done · X In Progress · X To Do[· X Blocked])
  • Completion: X% (X/X)
  • Assignees: X
  • Epic status: "Status" — in this status for Xd (since YYYY-MM-DD)[⚠️ Likely stale: X issues in progress/done but epic is "To Do"]
  • Closed last 7 days: X | Created last 7 days: X
  • Median cycle time: X.Xd (N done issues) | Not enough data
  • Due date: YYYY-MM-DD (X days remaining) | No due date set

🧠 Definition Health — 🟢 / 🟡 / 🔴

  • ✅/⚠️/❌ Clear goal: one-line assessment
  • ✅/⚠️/❌ Success criteria: one-line assessment
  • ✅/⚠️/❌ Scope boundaries: one-line assessment
  • ✅/⚠️/❌ Dependencies: one-line assessment
  • ✅/⚠️/❌ Rollout strategy: one-line assessment
  • ✅/⚠️/❌ Observability: one-line assessment

🧩 Decomposition Health — 🟢 / 🟡 / 🔴

  • ✅/⚠️/❌ Coverage: one-line assessment (cite missing scope items if ⚠️/❌)
  • ✅/⚠️/❌ Granularity: one-line assessment
  • ✅/⚠️/❌ Issue count: one-line assessment

⚙️ Execution Health — 🟢 Healthy / 🟡 At Risk / 🔴 Stalled

  • Velocity: Active / Slow / Stalled (X closed last 7d)
  • WIP: X in progress / X total (XX%)
  • Bottlenecks: KEY stuck Xd, KEY stuck Xd (critical: KEY stuck Xd) | None
  • Blocked: X issues | None
  • Unassigned in-progress: KEY, KEY | None
  • Cycle time: X.Xd median — 🟢 Healthy / 🟡 At Risk / 🔴 Critical | Not enough data
  • Cycle time outliers: KEY Xd (Xx median), KEY Xd | None
  • Due date: YYYY-MM-DD (X days remaining) — 🟢 On Track / 🟡 At Risk / 🔴 Critical | YYYY-MM-DD (Xd overdue, work still open) — 🔴 Overdue | YYYY-MM-DD (Xd overdue, all issues done) — ⚠️ Past due, delivery timing unknown | No due date set
  • Key risks: bullet list
  • Likely causes: bullet list

🧭 Summary

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

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

🎯 Recommendations

  1. [Verb] Specific concrete action
  2. ... (3–6 items, ordered by impact and urgency)

Style Guidelines

  • Cite issue keys, percentages, and durations — no vague observations
  • Trust child issue data over epic status when they conflict (metrics.epic_status_stale)
  • Mine epic comments for blockers, decisions, and context not visible in the issue list
  • Child issue summaries are fair game; issue descriptions are not
  • Be concise and direct — EM tone, no fluff
  • Prioritize signal over completeness

Constraints

  • DO NOT analyze child issue descriptions
  • DO NOT invent data not present in the input
  • If data is missing (no due date, empty description), state it explicitly rather than skipping
  • Avoid generic statements like "improve communication" or "ensure alignment"
  • DO NOT flag or recommend assigning issues that are not yet in progress — it is the expected workflow for issues to remain unassigned until they move to the "In Progress" status category

Goal

Help an Engineering Manager quickly answer:

"Is this epic under control, what are the risks, and what should I do next?"

附带文件

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

常见问题

Check Epic AI 技能有什么作用?

Evaluate the health of a Jira epic: definition quality, issue decomposition, and execution dynamics. Use whenever the user wants to assess epic health, identify risks, or get prioritized recommendations.

为什么在 TypingMind 中使用 Check Epic?

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

如何在 TypingMind 中安装 Check Epic?

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

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

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

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

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

Check Epic AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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