linear-issue
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLinear Issue Analysis
Linear工单分析
Start work on Linear issue $ARGUMENTS
开始处理Linear工单**$ARGUMENTS**
Prerequisites
前置条件
This skill depends on external tools. Before proceeding, verify availability:
Required:
- Linear MCP (): Must be connected. Without it the skill cannot function at all.
mcp__linear - GitHub CLI (): Must be installed and authenticated. Run
ghto verify. Used to fetch linked PRs and issues.gh auth status
Optional (graceful degradation):
- Notion MCP (): Needed only if the issue links to Notion docs. If unavailable, note the Notion links in the summary and tell the user to check them manually.
mcp__notion - Loom transcript skill (): Needed only if the issue contains Loom videos. If unavailable, note the Loom links in the summary for the user to watch.
/loom-transcript - curl: Used to download images. Almost always available; if missing, skip image downloads and note it.
If a required tool is missing, stop and tell the user what needs to be set up before continuing.
此技能依赖外部工具。在开始前,请确认以下工具是否可用:
必填项:
- Linear MCP ():必须已连接。没有它,该技能将完全无法运行。
mcp__linear - GitHub CLI ():必须已安装并完成认证。运行
gh进行验证。用于获取关联的PR和工单。gh auth status
可选项(缺失时会优雅降级):
- Notion MCP ():仅当工单链接到Notion文档时需要。如果不可用,在总结中注明Notion链接,并告知用户手动查看。
mcp__notion - Loom转录技能 ():仅当工单包含Loom视频时需要。如果不可用,在总结中注明Loom链接,供用户自行观看。
/loom-transcript - curl:用于下载图片。几乎总是可用;如果缺失,跳过图片下载并注明。
如果缺失任何必填工具,请停止操作并告知用户需要先完成哪些设置才能继续。
Instructions
操作步骤
Follow these steps to gather comprehensive context about the issue:
请按照以下步骤收集工单的全面上下文:
1. Fetch the Issue and Comments from Linear
1. 从Linear获取工单及评论信息
Use the Linear MCP tools to fetch the issue details and comments together:
- Use with the issue ID to get full details including attachments
mcp__linear__get_issue - Include relations to see blocking/related/duplicate issues
- Immediately after, use with the issue ID to fetch all comments
mcp__linear__list_comments
Both calls should be made together in the same step to gather the complete context upfront.
使用Linear MCP工具获取工单详情和评论:
- 使用工具,传入工单ID以获取包含附件在内的完整详情
mcp__linear__get_issue - 包含关联关系,查看阻塞/相关/重复工单
- 获取工单详情后立即使用工具,传入工单ID以获取所有评论
mcp__linear__list_comments
应在同一步骤中同时调用这两个工具,以提前收集完整上下文。
2. Analyze Attachments and Media (MANDATORY)
2. 分析附件和媒体(必填步骤)
IMPORTANT: This step is NOT optional. You MUST scan and fetch all visual content from BOTH the issue description AND all comments.
Screenshots/Images (ALWAYS fetch):
- Scan the issue description AND all comments for ALL image URLs:
- tags
<img> - Markdown images
 - Raw URLs (github.com/user-attachments, imgur.com, etc.)
- For EACH image found (in description or comments):
- Download using (GitHub URLs require following redirects)
curl -sL "url" -o /path/to/image.png - Use the tool on the downloaded file to view it
Read - Describe what you see in detail
- Download using
- Do NOT skip images - they often contain critical context like error messages, UI states, or configuration
Loom Videos (ALWAYS fetch transcript):
- Scan the issue description AND all comments for Loom URLs (loom.com/share/...)
- For EACH Loom video found (in description or comments):
- Use the skill to fetch the FULL transcript
/loom-transcript - Summarize key points, timestamps, and any demonstrated issues
- Use the
- Loom videos often contain crucial reproduction steps and context that text alone cannot convey
重要提示: 此步骤为必填项,不可跳过。您必须扫描并获取工单描述和所有评论中的所有可视化内容。
截图/图片(必须获取):
- 扫描工单描述和所有评论中的所有图片URL:
- 标签
<img> - Markdown图片
 - 原始URL(github.com/user-attachments、imgur.com等)
- 对于找到的每张图片(无论是在描述还是评论中):
- 使用下载(GitHub URL需要跟随重定向)
curl -sL "url" -o /path/to/image.png - 使用工具查看下载的文件
Read - 详细描述您看到的内容
- 使用
- 请勿跳过图片——它们通常包含关键上下文,比如错误信息、UI状态或配置
Loom视频(必须获取转录文本):
- 扫描工单描述和所有评论中的Loom URL(loom.com/share/...)
- 对于找到的每个Loom视频(无论是在描述还是评论中):
- 使用技能获取完整转录文本
/loom-transcript - 总结关键点、时间戳以及任何演示的问题
- 使用
- Loom视频通常包含文本无法传达的关键复现步骤和上下文
3. Fetch Related Context
3. 获取相关上下文
Related Linear Issues:
- Use for any issues mentioned in relations (blocking, blocked by, related, duplicates)
mcp__linear__get_issue - Summarize how they relate to the main issue
GitHub PRs and Issues:
- If GitHub links are mentioned, use CLI to fetch PR/issue details:
gh- for pull requests
gh pr view <number> - for issues
gh issue view <number>
- Download images attached to issues:
curl -H "Authorization: token $(gh auth token)" -L <image-url> -o image.png
Notion Documents:
- If Notion links are present, use with the Notion URL or page ID to retrieve document content
mcp__notion__notion-fetch - Summarize relevant documentation
关联的Linear工单:
- 对关联关系中提到的所有工单,使用工具获取详情
mcp__linear__get_issue - 总结它们与主工单的关联方式
GitHub PR和工单:
- 如果提到GitHub链接,使用CLI获取PR/工单详情:
gh- 用于拉取请求
gh pr view <number> - 用于工单
gh issue view <number>
- 下载工单附件中的图片:
curl -H "Authorization: token $(gh auth token)" -L <image-url> -o image.png
Notion文档:
- 如果存在Notion链接,使用工具,传入Notion URL或页面ID以获取文档内容
mcp__notion__notion-fetch - 总结相关文档内容
4. Review Comments
4. 审核评论
Comments were already fetched in Step 1. Review them for:
- Additional context and discussion history
- Any attachments or media linked in comments (process in Step 2)
- Clarifications or updates to the original issue description
评论已在步骤1中获取。审核时需注意:
- 额外的上下文和讨论历史
- 评论中链接的任何附件或媒体(按照步骤2处理)
- 对原始工单描述的澄清或更新
5. Present Summary
5. 呈现总结
Before presenting, verify you have completed:
- Downloaded and viewed ALL images in the description AND comments
- Fetched transcripts for ALL Loom videos in the description AND comments
- Fetched ALL linked GitHub issues/PRs via CLI
gh - Listed all comments on the issue
After gathering all context, present a comprehensive summary including:
- Issue Overview: Title, status, priority, assignee, labels
- Description: Full issue description with any clarifications from comments
- Visual Context: Summary of screenshots/videos (what you observed in each)
- Related Issues: How this connects to other work
- Technical Context: Any PRs, code references, or documentation
- Next Steps: Suggested approach based on all gathered context
呈现前,请确认已完成以下操作:
- 下载并查看了描述和评论中的所有图片
- 获取了描述和评论中所有Loom视频的转录文本
- 通过CLI获取了所有关联的GitHub工单/PR
gh - 列出了工单的所有评论
收集完所有上下文后,呈现全面的总结,包括:
- 工单概览:标题、状态、优先级、经办人、标签
- 描述:完整的工单描述,以及评论中的任何澄清内容
- 可视化上下文:截图/视频的总结(每个内容中的观察结果)
- 关联工单:与其他工作的关联方式
- 技术上下文:任何PR、代码引用或文档
- 下一步建议:基于收集到的所有上下文给出的建议处理方式
Notes
注意事项
- The issue ID can be provided in formats like: ,
AI-1975, or justnode-1975(will search)1975 - If no issue ID is provided, ask the user for one
- 工单ID可以是以下格式:、
AI-1975或仅node-1975(系统会自动搜索)1975 - 如果未提供工单ID,请向用户索要