AgentSkillsCN

linear

当使用Linear——搜索/创建/更新问题、上传附件、解决当前问题背景、执行GraphQL查询,或拉取工作区设置时使用。

SKILL.md
--- frontmatter
name: linear
description: Use when working with Linear — searching/creating/updating issues, uploading attachments, resolving current issue context, executing GraphQL queries, or pulling workspace settings.

Linear

Topics

Core

Authentication, config resolution, mentions, and the script execution model.

Managing Issues

Search, create, update, and comment on issues.

Uploading

Upload, attach, and download files for issues.

Current Issue

Resolve "the issue" or "the ticket" to a Linear issue identifier.

GQL

Execute arbitrary GraphQL queries (escape hatch).

Workspace Pull

Pull and cache workspace settings (teams, states, users, labels).

Scripts

All scripts output JSON to stdout and exit non-zero on errors.

  • scripts/search.ts — Search issues by text query
  • scripts/get.ts — Get single issue by identifier or UUID
  • scripts/create.ts — Create new issue
  • scripts/update.ts — Update issue state, assignee, priority, or other fields
  • scripts/comment.ts — Post comment on issue
  • scripts/upload.ts — Upload file to Linear cloud storage for embedding
  • scripts/attach.ts — Upload file and attach to issue's attachments area
  • scripts/download.ts — Download file from Linear uploads storage
  • scripts/resolve.ts — Resolve current issue from branch name, context file, or assigned list
  • scripts/query.ts — Execute arbitrary GraphQL query or mutation
  • scripts/pull.ts — Pull workspace data (teams, states, users, labels) into local cache