بنقرة واحدة
linear-cli
Interact with Linear project management via CLI
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Interact with Linear project management via CLI
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Surface the current Claude Code feature surface and report what's new since the last invocation. Run when the user types `/discover` or asks about enabled hooks, MCP servers, experimental flags, skills, agents, or "what's new in my setup".
Read yourself into an unfamiliar repo at the start of a session. Detects stack, conventions, in-flight work, and surfaces a concise orientation summary. Read-only; never writes files or runs destructive commands.
Create, iterate on, and manage custom OpenCode agents
steve-jobs ify the ui
An example skill to use as a template. Rename the directory and customize.
| name | linear-cli |
| description | Interact with Linear project management via CLI |
Before using any Linear commands, verify the CLI is installed:
which linear
If the CLI is NOT installed, you MUST prompt the user to install it:
⚠️ Linear CLI not found! Would you like me to install it for you?
Run this command:
brew install schpet/tap/linearAfter installation, you'll need to authenticate:
linear auth loginThen create an API key at: https://linear.app/settings/account/security
After installation, check if authenticated:
linear auth status
If not authenticated, prompt the user:
🔑 Linear CLI needs authentication
- Create an API key at: https://linear.app/settings/account/security
- Run:
linear auth login- Paste your API key when prompted
linear issue list - List issues assigned to you (unstarted)linear issue list -A - List issues assigned to anyonelinear issue list -j - Output as JSON (best for agents)linear issue start [ISSUE-ID] - Start working on an issue (creates branch)linear issue view - View current branch's issue detailslinear issue view ISSUE-ID - View specific issuelinear issue create - Create a new issue (interactive)linear issue create -t "Title" -d "Description" - Create with flagslinear issue update ISSUE-ID --state "In Progress" - Update issue statelinear issue comment list - List comments on current issuelinear issue comment add "Comment text" - Add a commentlinear issue pr - Create GitHub PR for current issuelinear team list - List teamslinear team members [TEAM] - List team memberslinear project list - List projectslinear project view [PROJECT-ID] - View project detailslinear milestone list --project [ID] - List milestoneslinear milestone create --project [ID] --name "Name" --target-date "YYYY-MM-DD"linear document list - List documentslinear document view [SLUG] - View documentlinear document create --title "Title" --content "# Markdown"linear issue view -w - Open current issue in browserlinear issue view -a - Open current issue in Linear applinear issue list -w - Open issue list in browserAlways use -j or --json for structured output:
linear issue list -j
linear issue view -j
linear team list -j
Filter by state:
linear issue list -s "In Progress"
linear issue list -s "Todo"
linear issue list --state "Done"
Sort options:
linear issue list --sort priority # Sort by priority
linear issue list --sort manual # Manual sort (default)
The CLI uses a config file (.linear.toml or linear.toml) in your repo root:
team_id = "ENG" # Default team
workspace = "mycompany" # Workspace slug
issue_sort = "priority" # Default sort
vcs = "git" # or "jj"
Environment variables (override config):
LINEAR_TEAM_ID - Default teamLINEAR_WORKSPACE - Workspace slugLINEAR_ISSUE_SORT - Sort preferenceLINEAR_VCS - Version control system# What's in progress?
linear issue list -s "In Progress" -j
# What's todo?
linear issue list -s "Todo" --sort priority -j
# Pick from your issues
linear issue start
# Or start specific issue
linear issue start ENG-123
# Quick create
linear issue create -t "Fix login bug" -d "Users can't log in with OAuth"
# With team and priority
linear issue create -t "Title" --team ENG --priority 1
# See what you're working on
linear issue view
# Get the issue ID for scripts
linear issue id
# Get just the title
linear issue title
# Get the URL
linear issue url
-j/--json flageng-123-feature)Linear-issue trailers from commitslinear auth login to add multiple workspaceslinear issue pr uses gh CLI to create PRs with proper title/bodyENG-123 or just 123 (team prefix optional in most cases)team-123-description format-j not --json (shorter)