opencode-skills-deck 0.0.0-stage → 0.2.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ynxnty
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,91 @@
1
- # Temporary Holding Version
1
+ # opencode-skills-deck
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ OpenCode の TUI に常駐する「司令塔(Control Tower)」。GitHub Issue を選ぶと専用の git worktree を切り、
4
+ **別のターミナルウィンドウ**で OpenCode の子セッションを「送信前レビュー」付きで起動する。
5
+ 子の稼働状態(`● WORKING` / `◐ INPUT WAIT` / `✓ EXITED`)は一覧と4列ボードで見える。
6
+
7
+ > 実機検証は macOS + OpenCode 2.3.0。設計は 3 OS だが、Windows / Linux の GUI 実機確認は未実施。
8
+
9
+ ## インストール
10
+
11
+ ```bash
12
+ opencode plugin add opencode-skills-deck
13
+ ```
14
+
15
+ `~/.config/opencode/opencode.json` に直接書く場合は次のとおり。
16
+
17
+ ```json
18
+ {
19
+ "$schema": "https://opencode.ai/config.json",
20
+ "plugins": ["opencode-skills-deck"]
21
+ }
22
+ ```
23
+
24
+ ## 必要環境
25
+
26
+ - OpenCode 2.3.x
27
+ - `gh` CLI(`gh auth login` 済み。Issue の取得に使う)
28
+ - 子セッションを開くターミナル(macOS: Ghostty / Alacritty / kitty、Linux: gnome-terminal / kitty / alacritty)
29
+ - 対象リポジトリは `origin` を持つ git リポジトリ
30
+
31
+ ## 起動
32
+
33
+ `/deck` または `Ctrl+Shift+D`(`openKey` で変更可)。
34
+
35
+ | キー | 動作 |
36
+ | -------------------------------- | ---------------------------- |
37
+ | `j` / `k` / `↓` / `↑` | 選択 |
38
+ | `PgUp` / `PgDn` / `Home` / `End` | ページ・先頭・末尾 |
39
+ | `Enter` | 起動 / 再開 |
40
+ | `g` / `w` | 対話セッション(スキル起動) |
41
+ | `c` | worktree を掃除 |
42
+ | `o` | 孤児 worktree を一覧・掃除 |
43
+ | `/` | 検索 |
44
+ | `Shift+L` | ラベル絞り込み |
45
+ | `1` / `2` / `v` | Issues / Board タブ |
46
+ | `R` | リポジトリ切替 |
47
+ | `r` | Issue を再取得 |
48
+ | `Esc` | 絞り込み解除 → 戻る |
49
+
50
+ ## 設定
51
+
52
+ `~/.config/opencode-skills-deck/config.json`(すべて省略可)。
53
+
54
+ ```json
55
+ {
56
+ "terminal": "auto",
57
+ "baseBranch": "develop",
58
+ "repos": [
59
+ { "repo": "owner/name", "root": "/abs/path" },
60
+ { "repo": "owner/other", "root": "/abs/path/other" }
61
+ ]
62
+ }
63
+ ```
64
+
65
+ | キー | 既定値 | 説明 |
66
+ | ---------------------- | -------------------------- | ----------------------------------------------------------- |
67
+ | `terminal` | `"auto"` | `ghostty` / `alacritty` / `kitty` / `gnome-terminal` / `wt` |
68
+ | `baseBranch` | リポジトリの既定 | worktree を切る元ブランチ |
69
+ | `issueLabelFilter` | `null` | `gh issue list` の `--label` |
70
+ | `issueLimit` | `50` | 取得件数 |
71
+ | `draftPromptIssue` | `"issue#{number} を実行 "` | 子に渡す下書き |
72
+ | `draftMode` | `"review"` | `review`(送信前レビュー)/ `send` |
73
+ | `openKey` | `"ctrl+shift+d"` | Control Tower を開くキー |
74
+ | `installSkillsOnStart` | `true` | 同梱スキルを `~/.config/opencode/skills/` に配置 |
75
+
76
+ ## 状態と後片付け
77
+
78
+ - 状態: `~/.local/state/opencode-skills-deck/sessions/<owner>__<name>/`
79
+ - 設定: `~/.config/opencode-skills-deck/config.json`
80
+ - スキル: `~/.config/opencode/skills/`(他プラグインと共有しうるため、削除はしない)
81
+
82
+ ## 既知の制限
83
+
84
+ - 子セッションを開くターミナルの実機確認は macOS のみ(Linux / Windows は単体テストのみ)
85
+ - `opencode plugin remove opencode-skills-deck` でアンインストール
86
+
87
+ ## リンク
88
+
89
+ - リポジトリ: https://github.com/ynxnty/opencode-skills-deck
90
+ - インストール: https://github.com/ynxnty/opencode-skills-deck/blob/develop/docs/install.md
91
+ - 検証記録: https://github.com/ynxnty/opencode-skills-deck/blob/develop/docs/verification.md