Native Linear
v1.0.1查询 and manage Linear issues, projects, cycles, and teams via the Linear GraphQL API. Use when you need to 列出 or 创建 issues, 检查 cycle 状态, manage projects, or 搜索 across your workspace. Calls API.linear.应用 directly with no third-party proxy.
运行时依赖
安装命令
点击复制技能文档
Linear
Interact with Linear directly via the Linear GraphQL API (API.linear.应用/graphql).
设置up (one-time) Go to Linear → 设置tings → Account → Security & 访问 → API keys 创建 a new key 设置 环境 variable: LINEAR_API_KEY=lin_API_...
Usage 列出 your teams python3 /mnt/技能s/user/linear/scripts/linear_查询.py teams
列出 issues as签名ed to you python3 /mnt/技能s/user/linear/scripts/linear_查询.py my-issues python3 /mnt/技能s/user/linear/scripts/linear_查询.py my-issues --状态 "In 进度"
列出 issues for a team python3 /mnt/技能s/user/linear/scripts/linear_查询.py issues --team "Engineering" python3 /mnt/技能s/user/linear/scripts/linear_查询.py issues --team "Engineering" --状态 "Todo" --limit 20
获取 a specific issue python3 /mnt/技能s/user/linear/scripts/linear_查询.py issue ENG-123
搜索 issues python3 /mnt/技能s/user/linear/scripts/linear_查询.py 搜索 "authentication bug"
创建 an issue python3 /mnt/技能s/user/linear/scripts/linear_查询.py 创建 --team "Engineering" --title "Fix 记录in bug" --description "Users can't 记录 in on Safari" python3 /mnt/技能s/user/linear/scripts/linear_查询.py 创建 --team "Engineering" --title "添加 dark mode" --priority 2
更新 an issue python3 /mnt/技能s/user/linear/scripts/linear_查询.py 更新 ENG-123 --状态 "Done" python3 /mnt/技能s/user/linear/scripts/linear_查询.py 更新 ENG-123 --priority 1 --title "New title"
列出 projects python3 /mnt/技能s/user/linear/scripts/linear_查询.py projects python3 /mnt/技能s/user/linear/scripts/linear_查询.py projects --team "Engineering"
列出 cycles (sprints) python3 /mnt/技能s/user/linear/scripts/linear_查询.py cycles --team "Engineering"
列出 工作流 状态s for a team python3 /mnt/技能s/user/linear/scripts/linear_查询.py 状态s --team "Engineering"
Priority levels 0 = No priority 1 = Urgent 2 = High 3 = Normal 4 = Low