linear-git
Installation
SKILL.md
Git Operations
# 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
Context
# Get issue from current branch
linear-cli context
linear-cli context --output json
Flags
| Flag | Purpose |
|---|---|
--draft |
Create draft PR |
--base BRANCH |
Base branch |
--output json |
JSON output |
Related skills
More from finesssee/linear-cli
linear-create
Create Linear issues. Use when creating bugs, tasks, or feature requests.
100linear-list
List and get Linear issues. Use when viewing issues, checking status, or fetching issue details.
98linear-search
Search Linear issues and projects. Use when finding issues, looking up bugs, or searching the backlog.
95linear-update
Update Linear issues. Use when changing status, priority, assignee, or labels.
95linear-workflow
Start/stop work on Linear issues. Use when beginning work, creating branches, or getting current issue context.
91linear-projects
Manage Linear projects - full CRUD with labels, members, archive. Use when managing projects.
89