一键导入
linear-relations
Manage Linear issue relationships. Use for blocking, parent/child, duplicates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage Linear issue relationships. Use for blocking, parent/child, duplicates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Execute raw GraphQL queries and mutations against the Linear API. Use for advanced operations not covered by other commands.
Manage issue attachments - link URLs, create, update, delete. Use when attaching files or links to issues.
Manage issue comments - list, create, update, delete. Use when reading or posting comments on issues.
Configure linear-cli - auth (API key + OAuth), workspaces, diagnostics, setup wizard.
Manage Linear sprint cycles - list, create, update, delete, complete. Use when managing cycles.
Mark the current branch's issue as Done. Use as a quick shortcut to close the issue you're working on.
| name | linear-relations |
| description | Manage Linear issue relationships. Use for blocking, parent/child, duplicates. |
| allowed-tools | Bash |
# List relations
linear-cli rel list LIN-123
# Add relation
linear-cli rel add LIN-1 -r blocks LIN-2 # LIN-1 blocks LIN-2
linear-cli rel add LIN-1 -r related LIN-2 # Related issues
linear-cli rel add LIN-1 -r duplicate LIN-2 # Duplicate
# Remove relation
linear-cli rel remove LIN-1 -r blocks LIN-2
# Parent/child
linear-cli rel parent LIN-2 LIN-1 # Set LIN-1 as parent
linear-cli rel unparent LIN-2 # Remove parent
blocks, blocked-by, related, duplicate
| Flag | Purpose |
|---|---|
--output json | JSON output |