From claude-skills
ghq 管理下のプロジェクトを 1 つ選び、そのディレクトリでブランチを変えずに claude を detached tmux セッションとして起動する。`/project-session` の明示実行専用。
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-skills:project-session [プロジェクト名(部分一致可)] [claudeへ渡す引数...][プロジェクト名(部分一致可)] [claudeへ渡す引数...]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
ghq 管理下のプロジェクトを 1 つ選び、そのディレクトリで(**ブランチを変えず・worktree も作らず**)
ghq 管理下のプロジェクトを 1 つ選び、そのディレクトリで(ブランチを変えず・worktree も作らず)
claude を detached tmux セッションとして起動する単発オーケストレーション。tmux セッション起動という
外部影響を伴うため、disable-model-invocation: true とし /project-session の明示実行時のみ動作する
(明示実行=起動意図とみなし、追加の承認ゲートは挟まない)。
worktree を切って複数セッションを並列・stacked に回す /parallel-worktree と対をなす単発・非 worktree 版:
現在のブランチのまま 1 つの claude を立てるだけ。
/project-session [プロジェクト名(部分一致可)] [claudeへ渡す引数...]
--model opus / -p '...' / --remote-control 等、素通し)。ghq 照合・セッション名決定・tmux 起動は bash <SKILL>/scripts/launch.sh に委譲する
(<SKILL> はプラグイン実行時 ${CLAUDE_PLUGIN_ROOT}/project-session、個人 skill 配置時は
この SKILL.md があるディレクトリ)。3 サブコマンドと exit code 契約:
launch.sh list — ghq list をそのまま 1 行 1 件で出力(引数省略時の一覧提示用)。
launch.sh resolve <query> — 部分一致解決の結果で分岐:
ambiguous、exit 2not found、exit 3launch.sh launch <query> [claude引数...] — 本体。ツール欠落は exit 1、解決が一意でなければ
resolve と同じ出力・exit code(2/3)で中断する。成功時は起動して次を stdout へ出力する:
SESSION: nput
PROJECT: github.com/yasunori0418/nput
PATH: /home/yasunori/src/github.com/yasunori0418/nput
BRANCH: main
DIRTY: clean | N files
CLAUDE_ARGS: (無し | 実際に渡した引数列)
ATTACH: tmux attach -t nput
launch.sh list を実行し、番号付き一覧を提示して選択させる。
AskUserQuestion は選択肢 4 個上限なので、候補が多いときは本文に番号付きで列挙し自由記述で受ける。
選ばれた relpath(または basename)を query にして次へ。launch.sh launch <query> [claude引数...] を実行:
DIRTY: N files でも止めない(未コミット変更は情報提供のみ)。launch を再実行する。tmux/ghq/claude 欠落など。stderr のメッセージをそのまま伝える。ATTACH: 行(tmux attach -t <sess>)を添えて結果を報告する。[^A-Za-z0-9_-]+→-、前後 - 除去。例 arto.vim→arto-vim)。
ghq list 内で repo 名(basename)が重複する場合のみ owner-repo(例 NixOS-nixpkgs)。<base>-2, <base>-3… の最初の空き番号を suffix する。--remote-control 補完: 値なしの --remote-control(末尾、または直後が - 始まり)のときだけ、
実セッション名(suffix 込み)を値として自動注入する。ユーザーが値を書いた場合は触らない(最初の 1 個のみ)。tmux/ghq/claude の欠落のみ中断。現在ブランチ・dirty は報告するだけで止めない。parallel-worktree: worktree を分けて複数セッションを並列・stacked に回したいときはこちら(本スキルは単発版)。npx claudepluginhub yasunori0418/skills --plugin claude-skillsGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Resolves in-progress git merge or rebase conflicts by analyzing history, understanding intent, and preserving both changes where possible. Runs automated checks after resolution.