一键导入
linear-bug
Investigate a bug or issue reported in a Linear ticket. Identify root cause, assess impact, implement the fix, and open a pull request.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Investigate a bug or issue reported in a Linear ticket. Identify root cause, assess impact, implement the fix, and open a pull request.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | linear-bug |
| description | Investigate a bug or issue reported in a Linear ticket. Identify root cause, assess impact, implement the fix, and open a pull request. |
| scopes | ["linear","slack"] |
Investigate a bug or issue from a Linear ticket, fix it, and open a pull request.
Use the linear plugin tools (linear_issue_view, linear_issue_update, linear_issue_create, linear_comment_add, etc.) for all API operations.
linear_issue (action: view) — read the title, description, comments, and any error details.## Triage Report, a root cause analysis, or affected code paths from a prior run, use that as your starting point — do not re-investigate from scratch unless the ticket or a comment explicitly asks you to.explorer for unfamiliar areas.git log / git blame on suspect files)Identify the root cause, not just the trigger. Ask:
Append the report to the ticket description (use linear_issue action: update with appendDescription: true). Do NOT use comments.
---
## Triage Report
### Root Cause
[What's broken and why — specific file paths, function names, line numbers]
### Reproduction
[Steps to trigger the bug, or why it's intermittent]
### Affected Code
- `path/to/file.ts:42` — [what's wrong here]
- `path/to/other.ts:108` — [related issue]
### Impact Assessment
- **Severity**: [Critical / High / Medium / Low]
- **Scope**: [All users / specific conditions / edge case]
- **Workaround**: [Available / None — describe if available]
### Fix Applied
[What was changed and why — branch name, files modified]
### Risk Assessment
[What could go wrong with the fix, what else might break, what to test]
### Test Gaps
[What tests were added or should be added to prevent regression]
Before implementing the fix, scan for concurrent work that might overlap with your changes.
linear_issue list --team <TEAM> --state "In Progress"linear_issue list --team <TEAM> --state "In Review"gh pr list --state open --json number,title,headRefName,changedFiles,additions,deletionsmain).main.eng-42-fix-null-check).If the fix turns out to be too complex (touches many modules, needs architectural changes, has unclear scope):
#prep label to signal it needs prep (sizing, context enrichment) first.After opening the PR, respond with:
git log and git blame on suspect files often reveal when the bug was introduced and why.Render pages with headless Chromium: screenshot, mobile/responsive layout review, viewport sweep, post-JS DOM, eval JS. Use for any visual/design/frontend QA task — see how a page actually looks rather than read its source. Triggers on: screenshot, render, mobile layout, responsive, viewport, breakpoint, design review, visual review, frontend QA, what does X look like, see the page, hydrated DOM, SPA, headless browser.
Orchestrate an epic — assess readiness, sequence sub-issues, implement all on a single branch, open one PR, and deliver a completion summary. Handles fresh epics, partially-completed epics, and crash recovery.
Linear project management integration. Provides tools for managing issues, comments, teams, projects, and issue relations via the Linear GraphQL API.
Implement the solution for a Linear ticket and open a pull request. Full coding workflow — plan, implement, test, PR.
Prepare Linear tickets for the coding agent. Validates sizing (splits oversized tickets into sub-issues), researches tools/APIs involved, enriches context by scanning the codebase, and generates a focused implementation prompt.
Route a Linear ticket to the correct skill based on its action label (epic, research, prep, bug, execute, review — with or without