跳到正文
cccskills
免费在 GitHub 公开

linear

Use Symphony's linear_graphql tool for Linear reads and writes.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Linear GraphQL

Use this skill during Symphony app-server sessions when the linear_graphql client tool is available. It reuses Symphony's configured Linear credentials.

Tool input:

{
  "query": "query or mutation document",
  "variables": {
    "id": "..."
  }
}

Rules

  • Send one GraphQL operation per tool call.
  • Treat a top-level errors array as a failed operation.
  • Request only the fields you need.
  • Prefer exact issue lookup by key, then internal id.
  • For state transitions, fetch team states and use the exact stateId.
  • Reuse and edit the single ## Symphony Workpad comment.

Useful Queries

Read an issue:

query IssueByKey($key: String!) {
  issue(id: $key) {
    id
    identifier
    title
    url
    description
    branchName
    state {
      id
      name
      type
    }
    project {
      id
      name
      url
    }
    attachments {
      nodes {
        id
        title
        url
        sourceType
      }
    }
    comments {
      nodes {
        id
        body
        resolvedAt
        createdAt
        updatedAt
      }
    }
  }
}

Fetch team states:

query IssueTeamStates($id: String!) {
  issue(id: $id) {
    id
    team {
      id
      key
      states {
        nodes {
          id
          name
          type
        }
      }
    }
  }
}

Move an issue:

mutation MoveIssue($id: String!, $stateId: String!) {
  issueUpdate(id: $id, input: { stateId: $stateId }) {
    success
    issue {
      id
      identifier
      state {
        id
        name
      }
    }
  }
}

Create a comment:

mutation CreateComment($issueId: String!, $body: String!) {
  commentCreate(input: { issueId: $issueId, body: $body }) {
    success
    comment {
      id
      url
    }
  }
}

Update a comment:

mutation UpdateComment($id: String!, $body: String!) {
  commentUpdate(id: $id, input: { body: $body }) {
    success
    comment {
      id
      body
    }
  }
}

Attach a GitHub PR:

mutation AttachGitHubPR($issueId: String!, $url: String!, $title: String) {
  attachmentLinkGitHubPR(
    issueId: $issueId
    url: $url
    title: $title
    linkKind: links
  ) {
    success
    attachment {
      id
      title
      url
    }
  }
}

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

commit

免费

Stage intended changes and create a clean git commit.

中文简介正在准备中。当前显示原文说明。

mnvsk97/harnessctl82026年5月15日 更新

debug

免费

Investigate Symphony run failures, stalls, and retry loops.

中文简介正在准备中。当前显示原文说明。

mnvsk97/harnessctl82026年5月15日 更新

land

免费

Shepherd an approved PR through checks and merge.

中文简介正在准备中。当前显示原文说明。

mnvsk97/harnessctl82026年5月15日 更新

pull

免费

Merge latest origin/main into the current branch and resolve conflicts.

中文简介正在准备中。当前显示原文说明。

mnvsk97/harnessctl82026年5月15日 更新

push

免费

Push the current branch and create or update the pull request.

中文简介正在准备中。当前显示原文说明。

mnvsk97/harnessctl82026年5月15日 更新

查看 mnvsk97 的全部技能

报告此技能的问题