issue-triage
它能做什么
这个技能帮助 AI 智能体整理 Linear 或 Jira 中积压的问题。适合需要清理未分配、陈旧或重复工单的项目负责人和工程师。
适用场景
- ✓当你进行每周分类,并希望列出未分配或陈旧的问题时。
- ✓当一次发布完成后,你希望把高优先级的缺陷归类并检查是否重复时。
- ✓当来自其他工具(例如错误追踪器)的工单需要同步到你的问题追踪器时。
技能链接
https://github.com/composio-community/awesome-codex-skills/blob/master/issue-triage/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请查看我们未分配的 Linear 缺陷,找出重复项,并告诉我哪些需要负责人。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会通过 Composio 工具获取所需的问题,将重复项归类,并提出标签或负责人建议。然后,它会为团队发布简短摘要。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Issue Triage (Linear / Jira)
Drive triage sessions and bug sweeps across Linear or Jira with the Composio CLI. Pull the backlog, cluster duplicates, apply labels, and hand a clean list back to the team.
When to Use
- Weekly triage: "what's unassigned, stale, or missing a priority?"
- Bug sweep after a release: "cluster all P1/P2 bugs, dedupe, assign owners."
- Cross-tool sync: Sentry → Linear, PagerDuty → Jira.
Prereqs
curl -fsSL https://composio.dev/install | bash
composio login
composio link linear # or: composio link jira
Discover Tools
composio search "list issues" --toolkits linear
composio search "search issues" --toolkits jira
composio tools list linear
composio tools list jira
Common slugs (verify with --get-schema):
Linear
LINEAR_LIST_ISSUESLINEAR_CREATE_ISSUELINEAR_UPDATE_ISSUELINEAR_CREATE_COMMENT
Jira
JIRA_SEARCH_FOR_ISSUES_USING_JQLJIRA_CREATE_ISSUEJIRA_EDIT_ISSUEJIRA_ADD_COMMENTJIRA_ASSIGN_ISSUE
Triage Workflow
- Pull the backlog slice:
# Linear composio execute LINEAR_LIST_ISSUES -d '{ "filter": { "state": { "type": { "eq": "unstarted" } }, "assignee": { "null": true } }, "first": 100 }' # Jira composio execute JIRA_SEARCH_FOR_ISSUES_USING_JQL -d '{ "jql": "project = APP AND statusCategory != Done AND assignee is EMPTY ORDER BY updated DESC", "maxResults": 100, "fields": ["summary","priority","labels","updated","reporter"] }' - Cluster by title similarity and labels. The agent groups likely duplicates locally.
- Apply updates in one pass (label, priority, assignee):
composio execute LINEAR_UPDATE_ISSUE -d '{ "id":"abc-123","priority":2,"labelIds":["label-bug","label-p1"],"assigneeId":"user-42" }' composio execute JIRA_EDIT_ISSUE -d '{ "issueIdOrKey":"APP-482", "fields":{"priority":{"name":"High"},"labels":["bug","p1"]} }' - Link duplicates with comments referencing the canonical issue.
- Post a digest of what changed to Slack so the team sees the sweep results.
Bug Sweep (Post-Release)
# Jira: every bug filed in the last 7 days, sorted by severity
composio execute JIRA_SEARCH_FOR_ISSUES_USING_JQL -d '{
"jql":"type = Bug AND created >= -7d ORDER BY priority DESC, created ASC",
"fields":["summary","priority","labels","reporter","components"]
}' | jq -r '.issues[] | "\(.fields.priority.name)\t\(.key)\t\(.fields.summary)"'
Workflow File
scripts/triage-linear.ts, run with composio run --file scripts/triage-linear.ts:
const { nodes: issues } = await execute("LINEAR_LIST_ISSUES", {
filter: { state: { type: { eq: "unstarted" } }, assignee: { null: true } },
first: 100
});
const stale = issues.filter(i => {
const age = (Date.now() - new Date(i.updatedAt).getTime()) / 86400000;
return age > 14;
});
for (const i of stale) {
await execute("LINEAR_CREATE_COMMENT", {
issueId: i.id,
body: "Auto-triage: stale for 14+ days. Please assign or close."
});
}
await execute("SLACK_SEND_MESSAGE", {
channel: "triage",
text: `Weekly triage: pinged ${stale.length} stale issues.`
});
Cross-Tool: Sentry → Linear
composio run '
const hot = await execute("SENTRY_LIST_A_PROJECTS_ISSUES", {
organization_slug:"acme", project_slug:"api",
query:"is:unresolved", sort:"freq", limit:5
});
for (const s of hot) {
await execute("LINEAR_CREATE_ISSUE", {
teamId: "TEAM_ID",
title: `[Sentry] ${s.title}`,
description: `${s.permalink}\nCount: ${s.count}`,
labelIds: ["label-bug","label-from-sentry"]
});
}
'
Troubleshooting
- Unknown field names →
composio execute <SLUG> --get-schemashows the exact filter shape (Linear uses nested objects; Jira uses JQL strings). 403on Linear → re-runcomposio link linearwith the right workspace.- Jira custom fields missing → request them explicitly in the
fieldsarray. - Bulk edits rate-limited → insert a 250ms sleep in the
composio runloop; don't use--parallel.
Full CLI reference: docs.composio.dev/docs/cli
常见问题
它支持哪些追踪工具?
它通过 Composio 工具支持 Linear 和 Jira。
智能体会自行修改工单吗?
它可以通过工具更新标签、负责人和评论。团队采取行动前,你应先审阅这些修改。
它如何找到重复项?
它会把相似的问题归为一组,方便你决定哪些需要合并。
详情
作者的原始描述
Triage Linear or Jira backlogs and run bug sweeps via the Composio CLI. Bulk-fetch issues, dedupe, relabel, reassign, and post summaries — all from the shell without clicking through the UI.
热度
- GitHub 星标
- 17k
- 排名
- #10755
- 许可证
- —
- 更新时间
- 2026/7/25
评论
- …
同一仓库的更多技能
agent-deep-links
17k帮你的智能体制作可点击的链接,直接在 Codex 或 Cursor 等应用中打开某个线程、文件、文件夹或设置。
brand-guidelines
17k帮你的智能体使用 OpenAI 风格的品牌颜色和字体来设计作品,使其与 Codex 的外观和感觉保持一致。
codebase-migrate
17k帮你的智能体规划并执行涉及数百个文件的大型代码迁移,例如框架升级或 API 重命名。
connect-apps
17k让你的智能体在 Gmail、Slack 和 GitHub 等应用中执行真实操作,例如发送邮件或创建问题单。