linear

bentossell 的头像作者 bentossell

用于Linear问题管理的最小CLI工具。当您需要列出问题、查看工作流状态、更改问题状态或在团队之间移动问题时使用。工具使用Linear的GraphQL API和个人API密钥身份验证。

📖 中文导读:用于Linear问题管理的最小CLI工具。当您需要列出问题、查看工作流状态、更改问题状态或在团队之间移动问题时使用。工具使用Linear的GraphQL API和个人API密钥身份验证。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: linear description: Minimal CLI tools for Linear issue management. Use when you need to list issues, view workflow states, change issue status, or move issues between teams. Tools use Linear's GraphQL API with personal API key authentication.

Linear Tools

You have access to minimal Linear CLI tools for issue management. These are simple bash scripts that use Linear's GraphQL API.

Available Tools

All scripts are in the skill directory and are executable. They output human-readable text.

Authentication

./auth.js <your-api-key>

assignee

My user account is ben@factory.ai

List Issues

./issues.js                          # List all issues
./issues.js --team "TEAM-ID"         # Filter by team
./issues.js --assignee me            # Filter by current user
./issues.js --assignee user@email.com # Filter by assignee email
./issues.js --limit 20               # Limit results
./issues.js --id DR-20               # Fetch single issue by identifier
./issues.js DR-20                    # Fetch single issue (shorthand)

Fetches issues with their ID, identifier, title, description, status, team, and assignee. Use --id flag or pass issue identifier as first argument to fetch a single issue. Use --assignee to filter by assignee (supports "me" or email address).

List Workflow States

./states.js

Lists all workflow states (statuses) with their IDs and names, grouped by team. Use these state IDs to change issue status.

Manage Teams

./team.js                          # List all teams
./team.js <issue-id> <team-id>     # Move issue to team
./team.js OPS-1212 <team-id>       # Example: move issue to team

Lists all available teams with their IDs and keys, or moves an issue to a different team. Accepts either the short identifier (OPS-1212) or full UUID. Use without arguments to see all teams first.

Change Issue Status

./status.js <issue-id> <state-id>
./status.js BLA-123 <state-id>

Updates an issue's workflow state. Accepts either the short identifier (BLA-123) or full UUID.