claude/skills/linear-promote-to-project/SKILL.md
Linear IssueをProjectに昇格する。「〜をProjectに昇格して」「〜をProject化して」「Issue to Project」 「このIssueをProjectにして」などで発動。指定IssueからProject作成、Sub-issueのProject紐付け、 必要に応じてSub-issueの独立Issue化を実行する。linear CLIを使用。前提: linear-cli skillが必要。
npx skillsauth add lilpacy/dotfiles linear-promote-to-projectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Issue + Sub-issueベースの運用で、スコープが膨らんだIssueをProjectに昇格する。
以下のうち2つ以上に該当する場合にProjectへの昇格を推奨する:
linear issue show <ISSUE_ID>
Issue のタイトル・説明・状態を確認する。
linear CLIにSub-issue一覧コマンドがないため、GraphQL APIで取得する:
linear api --variable identifier=<ISSUE_ID> <<'GRAPHQL'
query($identifier: String!) {
issueSearch(filter: { parent: { identifier: { eq: $identifier } } }, first: 50) {
nodes { id identifier title state { name } }
}
}
GRAPHQL
linear project create --name "<Issueタイトルをベースにしたプロジェクト名>" --state planned
親Issueと全Sub-issueをProjectに紐付ける:
# 親Issue
linear issue update <ISSUE_ID> --project "<プロジェクト名>"
# 各Sub-issue
linear issue update <SUB_ISSUE_ID> --project "<プロジェクト名>"
Sub-issueがそれぞれ独立した作業単位の場合、親子関係を解除する:
linear issue update <SUB_ISSUE_ID> --parent ""
昇格結果をユーザーに報告する。以下を含める:
linear project create の --state は planned, started, paused, completed, canceled から選択。通常は planned で作成するdevelopment
Use when searching the web or reading online documentation. Prefer DuckDuckGo for search and read documents through npx curl.md instead of raw HTML.
testing
Use when writing or editing tests. Tests should be ordered by near-normal, normal, then abnormal cases where applicable, and test names must be Japanese behavior descriptions from a reviewer/user perspective.
development
GoF/オブジェクト指向デザインパターンを関数型プログラミング(pure functions, higher-order functions, ADT, composition, immutability, effect boundaries)でシンプルに整理・設計・リファクタリングする。Strategy/Factory/Adapter/ObserverなどGoF全23パターンのFP置き換え、適用判断、具体事例を提示する必要があるときに使う。
tools
Use when committing, pushing, or preparing PRs. Defines the user's commit workflow, message style discovery, review handoff, and branch/worktree push requirements.