一键导入
linear-git
Git operations with Linear. Use for branches, checkout, and PRs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Git operations with Linear. Use for branches, checkout, and PRs.
用 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-git |
| description | Git operations with Linear. Use for branches, checkout, and PRs. |
| allowed-tools | Bash |
# Checkout branch for issue (creates if needed)
linear-cli g checkout LIN-123
# Show branch name
linear-cli g branch LIN-123
# Create branch without checkout
linear-cli g create LIN-123
# Create GitHub PR from Linear issue
linear-cli g pr LIN-123
linear-cli g pr LIN-123 --draft # Draft PR
linear-cli g pr LIN-123 --base main # Specify base branch
# jj (Jujutsu) - show commits with Linear trailers
linear-cli g commits
# Get issue from current branch
linear-cli context
linear-cli context --output json
| Flag | Purpose |
|---|---|
--draft | Create draft PR |
--base BRANCH | Base branch |
--output json | JSON output |