linear
できること
このスキルは、アシスタントがLinearのチケット、プロジェクト、サイクルを扱えるようにします。チームの作業をLinearで管理している人向けです。
使う場面
- ✓自分に割り当てられた課題を見つけたいとき、またはチケットの状況を確認したいとき。
- ✓バグ報告を出す、またはLinearで新しい課題を作る必要があるとき。
- ✓既存のLinear課題にコメントを追加したい、または更新したいとき。
スキルのリンク
https://github.com/yc-software/qm/blob/main/skills-seed/linear/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ログインの問題に言及している、私に割り当てられた未完了のLinear課題をすべて見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
アシスタントは、接続されたLinearアカウントを使って課題を検索し、詳細を読んで、変更を行います。アカウントが接続されていない場合は、まずLinearを接続するよう伝えます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Linear
Use this skill when the user asks about Linear issues, tickets, projects, cycles, or their team's work tracking — finding issues, checking status, filing a bug, leaving a comment, or updating an issue.
This is an OAuth connector. The resolved user's Linear token already lives on your computer as an environment variable (the way a logged-in CLI's cached credential would):
$VAULT_TOKEN_API_LINEAR_APP— forapi.linear.app
Linear's API is GraphQL at https://api.linear.app/graphql. Pass the token as a bearer
header (-H "Authorization: Bearer $VAULT_TOKEN_API_LINEAR_APP"). Do not ask the user for
a token, log it, or use another principal's credential.
If the variable is empty or the API returns 401/400 (authentication), tell the user they
need to connect Linear (Connectors page) and stop — don't guess at issue data.
Find / read issues
Query issues by text, assignee, or state:
curl -sS -X POST 'https://api.linear.app/graphql' \
-H "Authorization: Bearer $VAULT_TOKEN_API_LINEAR_APP" \
-H 'content-type: application/json' \
--data '{"query":"{ issues(first: 20, filter: { title: { containsIgnoreCase: \"login\" } }) { nodes { identifier title state { name } assignee { name } url } } }"}'
Read one issue by id/identifier:
curl -sS -X POST 'https://api.linear.app/graphql' \
-H "Authorization: Bearer $VAULT_TOKEN_API_LINEAR_APP" \
-H 'content-type: application/json' \
--data '{"query":"{ issue(id: \"ENG-123\") { identifier title description state { name } assignee { name } url comments { nodes { body user { name } } } } }"}'
Keep issue identifiers and urls in your answer so claims can be traced.
To create or assign an issue you usually need a team id — list them once:
curl -sS -X POST 'https://api.linear.app/graphql' \
-H "Authorization: Bearer $VAULT_TOKEN_API_LINEAR_APP" \
-H 'content-type: application/json' \
--data '{"query":"{ teams(first: 100) { nodes { id key name } pageInfo { hasNextPage endCursor } } }"}'
Linear paginates every list: if pageInfo.hasNextPage is true, re-query with
after: "<endCursor>" — never conclude a team or issue doesn't exist from one page.
Writes require approval
Creating an issue, commenting, or changing state is a write. Prepare the exact mutation, summarize what it will create/change (team, title, target issue), and ask for approval before running it.
After approval, create an issue:
curl -sS -X POST 'https://api.linear.app/graphql' \
-H "Authorization: Bearer $VAULT_TOKEN_API_LINEAR_APP" \
-H 'content-type: application/json' \
--data '{"query":"mutation($input: IssueCreateInput!) { issueCreate(input: $input) { success issue { identifier url } } }","variables":{"input":{"teamId":"TEAM_ID","title":"Login button misaligned on mobile","description":"Reported by a user; repro on iOS Safari."}}}'
Add a comment to an existing issue:
curl -sS -X POST 'https://api.linear.app/graphql' \
-H "Authorization: Bearer $VAULT_TOKEN_API_LINEAR_APP" \
-H 'content-type: application/json' \
--data '{"query":"mutation($input: CommentCreateInput!) { commentCreate(input: $input) { success comment { url } } }","variables":{"input":{"issueId":"ISSUE_UUID","body":"Fixed in the latest deploy."}}}'
Always report the resulting issue/comment identifier and url.
よくある質問
Linearに権限がないと言われたら?
コネクタのページからLinearを接続してください。アクセスがなければ、アシスタントは課題の詳細を推測しません。
チーム全体を検索できますか?
あなたのアカウントで検索するため、あなたのLinearのアクセス権で見える課題だけが対象になります。
コメントを残せますか?
はい。スキルは、Linearにコメントを残すことと、課題を登録することに対応しています。
詳細
作者による元の説明
Search, read, create, and update the user's Linear issues, projects, and comments through per-user OAuth.
repo: yc-software/qm
人気
- GitHubのスター
- 16k
- ランキング
- #10897
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
deploy-qm
16kQMパッケージをFly.io、AWS、Renderのいずれかにデプロイし、完全なデプロイ手順に従って、管理者、コネクタ、必要に応じてSlackを設定します。
onboarding
16k仕事の進め方を伝え、接続したいツールを設定し、話し方を選び、最初の手助けを整えるまでを、ひとつの短い会話で新しいユーザーに案内します。
admin
16k認証された組織の管理者が、チャットから組織全体の設定などを確認または変更できるようにします。各変更は実行前に確認されます。
browse
16kシェルから本物のステルスブラウザを操作し、サインインやフォーム入力などのWeb上の作業を行います。サインインは人ごとに保持されます。読み取りではなく操作のためのものです。