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-uploads
Download attachments and images from Linear issues. Use when fetching screenshots, images, or file attachments from Linear comments or descriptions.
88linear-history
View Linear issue history. Use for activity logs and audit trails.
87linear-labels
Manage Linear labels. Use when creating, listing, or deleting labels.
86linear-documents
Manage Linear documents. Use for creating and viewing documentation.
83