Workflow linear ops
Skill marzun9620/agent_skills/workflow/skills/workflow-linear-ops
Linear issue operations using @schpet/linear-cli — status updates, adding comments, PR linking. Triggers: Linear, issue update, status change, linear-comment, linear-update, progress report, In Review.From its SKILL.md
npx -y skills add marzun9620/agent_skills --skill workflow-linear-opsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.9 KB, 541 tokens by cl100k_base, as published. Nobody here has run it
Linear 操作手順
@schpet/linear-cli を使って Linear issue を操作する。
セットアップ
# インストール(pnpm devDependency)
pnpm add -D @schpet/linear-cli
# 認証(初回のみ)
npx linear auth login
# プロジェクト設定(初回のみ)
npx linear config
タスク完了時のコメント追加
plan の各 task 完了後に Linear issue にコメントを追加:
npx linear issue comment add --issue {ISSUE_ID} --body "✅ {task description}"
例:
npx linear issue comment add --issue HW-42 --body "✅ Facility Entity を Schema.Class で定義"
ステータス更新
plan 全体の完了時にステータスを更新:
# 実装完了 → レビュー待ち
npx linear issue update {ISSUE_ID} --status "In Review"
# マージ後
npx linear issue update {ISSUE_ID} --status "Done"
Issue 参照
# 現在のブランチに紐づく issue を表示
npx linear issue view
# issue の詳細
npx linear issue view {ISSUE_ID}
# 自分にアサインされた未着手 issue 一覧
npx linear issue list
PR 連携
# Linear issue から GitHub PR を作成
npx linear issue pr
/run command での使い方
- plan に
Linear: HW-42と記載されていれば連携対象 - 各 task 完了時:
npx linear issue comment addで進捗報告 - plan 全完了時:
npx linear issue update --status "In Review" - PR body に
Linear: HW-42を記載
plan に Linear ID がない場合
Linear 連携をスキップ。コメント追加もステータス更新も行わない。
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.