diff --git a/public/registry/index.json b/public/registry/index.json index 4923941..999d0c2 100644 --- a/public/registry/index.json +++ b/public/registry/index.json @@ -1,24 +1,24 @@ { "version": 1, - "updatedAt": "2026-10-13T12:49:30.377Z", + "updatedAt": "2026-10-13T12:57:05.708Z", "plugins": { "count": 41, - "updatedAt": "2026-10-13T12:49:30.377Z" + "updatedAt": "2026-10-13T12:57:05.708Z" }, "themes": { "count": 77, - "updatedAt": "2026-10-13T12:49:30.377Z" + "updatedAt": "2026-10-13T12:57:05.708Z" }, "widgets": { "count": 64, - "updatedAt": "2026-10-13T12:49:30.377Z" + "updatedAt": "2026-10-13T12:57:05.708Z" }, "skills": { - "count": 43, - "updatedAt": "2026-10-13T12:49:30.377Z" + "count": 44, + "updatedAt": "2026-10-13T12:57:05.708Z" }, "queries": { "count": 35, - "updatedAt": "2026-10-13T12:49:30.377Z" + "updatedAt": "2026-10-13T12:57:05.708Z" } } diff --git a/public/registry/plugins.json b/public/registry/plugins.json index 833c997..9a3ec52 100644 --- a/public/registry/plugins.json +++ b/public/registry/plugins.json @@ -1,6 +1,6 @@ { "version": 1, - "updatedAt": "2026-10-13T12:49:30.377Z", + "updatedAt": "2026-10-13T12:57:05.708Z", "plugins": [ { "id": "ai-actions", @@ -756,7 +756,7 @@ "apiUrl": "https://store.notedeck.io/registry/plugins/thread-to-memo/api.json", "sha512": "87314a73087a6b690fbcdd59214b978a13369a15c27eb996d552e67343d3b85d9c3193df537a7a5c299f803a142aea2803ed2d37f43e264b777ea5dc65ab3d19", "createdAt": "2026-10-12T17:16:47+09:00", - "updatedAt": "2026-10-12T17:16:47+09:00", + "updatedAt": "2026-10-13T21:50:02+09:00", "authorUrl": "https://github.com/hitalin", "license": "MIT", "locales": { diff --git a/public/registry/queries.json b/public/registry/queries.json index e4002f1..7e20639 100644 --- a/public/registry/queries.json +++ b/public/registry/queries.json @@ -1,6 +1,6 @@ { "version": 1, - "updatedAt": "2026-10-13T12:49:30.377Z", + "updatedAt": "2026-10-13T12:57:05.708Z", "queries": [ { "id": "bot-only", diff --git a/public/registry/skills.json b/public/registry/skills.json index 88016ff..838a319 100644 --- a/public/registry/skills.json +++ b/public/registry/skills.json @@ -1,6 +1,6 @@ { "version": 1, - "updatedAt": "2026-10-13T12:49:30.377Z", + "updatedAt": "2026-10-13T12:57:05.708Z", "skills": [ { "id": "aiscript-surgeon", @@ -528,6 +528,72 @@ "unresolved": [] } }, + { + "id": "account-accent", + "name": "アカウント別の配色", + "version": "0.1.0", + "author": "hitalin", + "description": "「アカウントごとに色を分けて」「誤爆しないように見分けたい」と頼まれたら、アカウントごとにアクセント色だけを変えた派生テーマを作り、そのアカウントのカラムだけに適用して、どのアカウントのカラムかひと目で分かるようにするスキル。NoteDeck 1.85.0 以降が必要", + "category": "utility", + "mode": "trigger", + "triggers": [ + "アカウントごと", + "アカウント別", + "アカウントの色", + "アカウントのカラム", + "色分け", + "色を分け", + "見分け", + "誤爆", + "per-account color", + "account color" + ], + "scope": "global", + "tags": [ + "theme", + "account", + "multi-account", + "accent" + ], + "sourceUrl": "https://store.notedeck.io/registry/skills/account-accent/skill.md", + "apiUrl": "https://store.notedeck.io/registry/skills/account-accent/api.json", + "sha512": "562e7dedd6dc62c8af672222b66ccecb5be92f491835d5d82f6f227243dc01af49dca4993203f00e2592eaf4f8dc082b2288ff58dea95de1107cd7c7b696aa29", + "createdAt": "2026-10-13T12:57:09.792Z", + "updatedAt": "2026-10-13T12:57:09.792Z", + "locales": { + "en": { + "name": "Per-account Colors", + "description": "When asked to \"color-code my accounts\" or \"tell my accounts apart so I don't post from the wrong one\", creates a derived theme per account that changes only the accent color and applies it to that account's columns only, so you can see at a glance which account a column belongs to. Requires NoteDeck 1.85.0 or later." + } + }, + "iconUrl": "https://store.notedeck.io/registry/skills/account-accent/icon.svg", + "contract": { + "runsOn": [ + "notedeck" + ], + "profile": "full", + "permissions": [ + "account.read", + "deck.read", + "deck.write", + "themes.read", + "themes.write" + ], + "ndCalls": [ + "account.list", + "column.list", + "themes.apply", + "themes.create", + "themes.list", + "themes.read", + "themes.update" + ], + "mkApi": [], + "hooks": [], + "external": false, + "unresolved": [] + } + }, { "id": "antenna-digest", "name": "アンテナ・チャンネル要約", @@ -1496,7 +1562,7 @@ "apiUrl": "https://store.notedeck.io/registry/skills/plugin-auditor/api.json", "sha512": "c90d48f98c3a5ee1bf0080502a208e457119c873556d7762a2645fdaa29247f094d3489f463805ad434a46fcd05853180a7abaa3c7a422696965f3cfb8167fe0", "createdAt": "2026-10-12T17:59:14+09:00", - "updatedAt": "2026-10-12T17:59:14+09:00", + "updatedAt": "2026-10-13T21:50:02+09:00", "locales": { "en": { "name": "Plugin Auditor", diff --git a/public/registry/skills/account-accent/api.json b/public/registry/skills/account-accent/api.json new file mode 100644 index 0000000..876bc58 --- /dev/null +++ b/public/registry/skills/account-accent/api.json @@ -0,0 +1 @@ +{"type":"skill","data":"---\nid: account-accent\nname: アカウント別の配色\nversion: 0.1.0\nauthor: hitalin\ndescription: 「アカウントごとに色を分けて」「誤爆しないように見分けたい」と頼まれたら、アカウントごとにアクセント色だけを変えた派生テーマを作り、そのアカウントのカラムだけに適用して、どのアカウントのカラムかひと目で分かるようにするスキル。NoteDeck 1.85.0 以降が必要\nmode: trigger\nscope: global\ncategory: utility\ntriggers: [アカウントごと, アカウント別, アカウントの色, アカウントのカラム, 色分け, 色を分け, 見分け, 誤爆, per-account color, account color]\ntags: [theme, account, multi-account, accent]\n---\n\n# アカウント別の配色\n\nあなたは複数アカウントを使う人のために、**アカウントごとのカラムに違うアクセント色を付けて、誤爆 (別アカウントでの投稿・リアクション) を防ぐ**係です。テーマ全体を作り直すのではなく、普段のテーマはそのままに accent 周りだけを変えた派生テーマをアカウントごとに作り、そのアカウントのカラムだけに当てます。\n\n配色の定石や props の意味はテーマ作者 / テーマ文法リファレンスのスキルに従う。ここでは「アカウントごとに分ける」部分だけを扱う。\n\n## 前提: 書込の確認\n\n- `themes.create` は確認ダイアログが出る。勝手には作られない\n- `themes.apply` (`deck.write`) は**確認ダイアログが出ず、呼んだ瞬間に反映される**。だから適用の前に「どのアカウントにどのテーマを当てるか」をチャットで示し、同意を得てから呼ぶ\n- `accountId` を付けた `themes.apply` はそのアカウントのカラムだけに効き、デッキ全体の選択は変わらない。**`accountId` を付け忘れるとデッキ全体が変わる**ので必ず付ける\n\n## 手順\n\n1. **アカウントを把握**: `account.list` でアカウント一覧 (id とユーザー名・サーバー) を取る。必要なら `column.list` で各カラムの `accountId` / `accountHost` を見て、実際にデッキに出ているアカウントに絞る。1 つしか無ければ「アカウントが 1 つなので色分けの必要はない」と伝えて終える\n2. **元にするテーマを決める**: `themes.list` を見せ、普段使っているテーマを聞く (今どれが選ばれているかを読む手段は無いので推測しない)。答えが無ければ base (dark / light) だけ聞く。元テーマが決まったら `themes.read` で props を読む\n3. **色を決める**: ユーザーの指定 (「メインは青、サブは赤」) を優先。指定が無ければアカウントごとに**色相を大きく離した** accent を提案する (例: 青 / 赤橙 / 緑 / 紫。隣り合う色相は避ける)。元テーマの base に合わせ、dark なら明るめ・light なら濃いめにして bg / panel とのコントラストを確保する。赤系は error と紛れやすいので、使うなら error と明度か色相をずらす\n4. **派生テーマを作る**: アカウントごとに `themes.create` を 1 回ずつ。\n - `base` は元テーマと同じ。`props` は元テーマの props をそのまま写し、変えるのは `accent` と、そこから派生する `focus` / `accentedBg` / `buttonGradateA` / `buttonGradateB` / `fgOnWhite` (元テーマが `@accent` 参照ならそのままで追従する) くらいに留める。`bg` / `fg` / `panel` / 機能色は触らない\n - `name` は `<元テーマ名> · @<ユーザー名>@<ホスト>` のようにどのアカウント用か分かる名前にする。`id` は指定しない (既存テーマの上書きを防ぐ)\n - `reason` に「@user@host のカラムを見分けるため accent を青に」のように渡す\n5. **適用**: 作ったテーマを一覧にして同意を得てから、`themes.apply({ id, accountId })` をアカウントごとに呼ぶ。`mode` は省略してよい (テーマの base から決まる)。空の `accountId` や存在しないアカウントは拒否されるので、`account.list` の id をそのまま使う\n6. **報告**: どのアカウントに何色のどのテーマを当てたかを短く一覧で返す。戻し方も添える:\n - AI からアカウント別の適用を外す手段は無い。外すときはそのアカウントのテーマカラム (コマンドパレットの「テーマを管理 (このアカウント)」) から外すよう案内する\n - 色を直したいときは `themes.update` で該当テーマの accent を変えればよい (適用し直す必要はない)\n\n## しないこと\n\n- `accountId` 無しの `themes.apply` (デッキ全体を変えてしまう)\n- 元テーマの `bg` / `fg` / `panel` を変えること (普段の見た目を崩さない。見分けるのは accent だけで足りる)\n- 同意前の `themes.apply`\n"} diff --git a/public/registry/skills/account-accent/icon.svg b/public/registry/skills/account-accent/icon.svg new file mode 100644 index 0000000..f5fae74 --- /dev/null +++ b/public/registry/skills/account-accent/icon.svg @@ -0,0 +1,17 @@ + + + + + + diff --git a/public/registry/skills/account-accent/locales/en.json b/public/registry/skills/account-accent/locales/en.json new file mode 100644 index 0000000..746972e --- /dev/null +++ b/public/registry/skills/account-accent/locales/en.json @@ -0,0 +1,5 @@ +{ + "sourceHash": "419cac251f21", + "name": "Per-account Colors", + "description": "When asked to \"color-code my accounts\" or \"tell my accounts apart so I don't post from the wrong one\", creates a derived theme per account that changes only the accent color and applies it to that account's columns only, so you can see at a glance which account a column belongs to. Requires NoteDeck 1.85.0 or later." +} diff --git a/public/registry/skills/account-accent/skill.md b/public/registry/skills/account-accent/skill.md new file mode 100644 index 0000000..1c3a64f --- /dev/null +++ b/public/registry/skills/account-accent/skill.md @@ -0,0 +1,44 @@ +--- +id: account-accent +name: アカウント別の配色 +version: 0.1.0 +author: hitalin +description: 「アカウントごとに色を分けて」「誤爆しないように見分けたい」と頼まれたら、アカウントごとにアクセント色だけを変えた派生テーマを作り、そのアカウントのカラムだけに適用して、どのアカウントのカラムかひと目で分かるようにするスキル。NoteDeck 1.85.0 以降が必要 +mode: trigger +scope: global +category: utility +triggers: [アカウントごと, アカウント別, アカウントの色, アカウントのカラム, 色分け, 色を分け, 見分け, 誤爆, per-account color, account color] +tags: [theme, account, multi-account, accent] +--- + +# アカウント別の配色 + +あなたは複数アカウントを使う人のために、**アカウントごとのカラムに違うアクセント色を付けて、誤爆 (別アカウントでの投稿・リアクション) を防ぐ**係です。テーマ全体を作り直すのではなく、普段のテーマはそのままに accent 周りだけを変えた派生テーマをアカウントごとに作り、そのアカウントのカラムだけに当てます。 + +配色の定石や props の意味はテーマ作者 / テーマ文法リファレンスのスキルに従う。ここでは「アカウントごとに分ける」部分だけを扱う。 + +## 前提: 書込の確認 + +- `themes.create` は確認ダイアログが出る。勝手には作られない +- `themes.apply` (`deck.write`) は**確認ダイアログが出ず、呼んだ瞬間に反映される**。だから適用の前に「どのアカウントにどのテーマを当てるか」をチャットで示し、同意を得てから呼ぶ +- `accountId` を付けた `themes.apply` はそのアカウントのカラムだけに効き、デッキ全体の選択は変わらない。**`accountId` を付け忘れるとデッキ全体が変わる**ので必ず付ける + +## 手順 + +1. **アカウントを把握**: `account.list` でアカウント一覧 (id とユーザー名・サーバー) を取る。必要なら `column.list` で各カラムの `accountId` / `accountHost` を見て、実際にデッキに出ているアカウントに絞る。1 つしか無ければ「アカウントが 1 つなので色分けの必要はない」と伝えて終える +2. **元にするテーマを決める**: `themes.list` を見せ、普段使っているテーマを聞く (今どれが選ばれているかを読む手段は無いので推測しない)。答えが無ければ base (dark / light) だけ聞く。元テーマが決まったら `themes.read` で props を読む +3. **色を決める**: ユーザーの指定 (「メインは青、サブは赤」) を優先。指定が無ければアカウントごとに**色相を大きく離した** accent を提案する (例: 青 / 赤橙 / 緑 / 紫。隣り合う色相は避ける)。元テーマの base に合わせ、dark なら明るめ・light なら濃いめにして bg / panel とのコントラストを確保する。赤系は error と紛れやすいので、使うなら error と明度か色相をずらす +4. **派生テーマを作る**: アカウントごとに `themes.create` を 1 回ずつ。 + - `base` は元テーマと同じ。`props` は元テーマの props をそのまま写し、変えるのは `accent` と、そこから派生する `focus` / `accentedBg` / `buttonGradateA` / `buttonGradateB` / `fgOnWhite` (元テーマが `@accent` 参照ならそのままで追従する) くらいに留める。`bg` / `fg` / `panel` / 機能色は触らない + - `name` は `<元テーマ名> · @<ユーザー名>@<ホスト>` のようにどのアカウント用か分かる名前にする。`id` は指定しない (既存テーマの上書きを防ぐ) + - `reason` に「@user@host のカラムを見分けるため accent を青に」のように渡す +5. **適用**: 作ったテーマを一覧にして同意を得てから、`themes.apply({ id, accountId })` をアカウントごとに呼ぶ。`mode` は省略してよい (テーマの base から決まる)。空の `accountId` や存在しないアカウントは拒否されるので、`account.list` の id をそのまま使う +6. **報告**: どのアカウントに何色のどのテーマを当てたかを短く一覧で返す。戻し方も添える: + - AI からアカウント別の適用を外す手段は無い。外すときはそのアカウントのテーマカラム (コマンドパレットの「テーマを管理 (このアカウント)」) から外すよう案内する + - 色を直したいときは `themes.update` で該当テーマの accent を変えればよい (適用し直す必要はない) + +## しないこと + +- `accountId` 無しの `themes.apply` (デッキ全体を変えてしまう) +- 元テーマの `bg` / `fg` / `panel` を変えること (普段の見た目を崩さない。見分けるのは accent だけで足りる) +- 同意前の `themes.apply` diff --git a/public/registry/themes.json b/public/registry/themes.json index 6a0b4a8..42b4bfc 100644 --- a/public/registry/themes.json +++ b/public/registry/themes.json @@ -1,6 +1,6 @@ { "version": 1, - "updatedAt": "2026-10-13T12:49:30.377Z", + "updatedAt": "2026-10-13T12:57:05.708Z", "themes": [ { "id": "adwaita-dark", diff --git a/public/registry/widgets.json b/public/registry/widgets.json index d1b3b11..bfed112 100644 --- a/public/registry/widgets.json +++ b/public/registry/widgets.json @@ -1,6 +1,6 @@ { "version": 1, - "updatedAt": "2026-10-13T12:49:30.377Z", + "updatedAt": "2026-10-13T12:57:05.708Z", "widgets": [ { "id": "aiscript-health", @@ -1296,7 +1296,7 @@ "apiUrl": "https://store.notedeck.io/registry/widgets/keybinds-cheatsheet/api.json", "sha512": "422b1b36fa31cfcdbde6661ff87b79dff5390f9433a1b003943a9737a006b505d8b386bfc9c3c7016e576edc68c88b2a1c9b9f98bdad19eb89048e43b1bd3f59", "createdAt": "2026-10-12T18:43:42+09:00", - "updatedAt": "2026-10-12T20:24:09+09:00", + "updatedAt": "2026-10-13T21:50:02+09:00", "authorUrl": "https://github.com/hitalin", "license": "MIT", "locales": { @@ -1796,7 +1796,7 @@ "apiUrl": "https://store.notedeck.io/registry/widgets/note-context/api.json", "sha512": "5d3ca1403f20fcff92b824f29ed86dadeaeea3b1ac14e573a28458bd8aedd62d905e82071bc36e137b3b6c4a9654b140d2e56e342d365df138281760888deef1", "createdAt": "2026-10-12T17:59:14+09:00", - "updatedAt": "2026-10-12T20:24:09+09:00", + "updatedAt": "2026-10-13T21:50:02+09:00", "authorUrl": "https://github.com/hitalin", "license": "MIT", "locales": { @@ -2962,7 +2962,7 @@ "apiUrl": "https://store.notedeck.io/registry/widgets/reply-queue/api.json", "sha512": "d6024ca3e1503f5eb2bad0420ceaac33bff4f1f5c98d97f11c27672b5ac30aa6b8d5bd6255075c831f65599b1d3c8748bfc512f44d813613faa479cadd09b056", "createdAt": "2026-10-12T18:43:42+09:00", - "updatedAt": "2026-10-12T18:43:42+09:00", + "updatedAt": "2026-10-13T21:50:02+09:00", "authorUrl": "https://github.com/hitalin", "license": "MIT", "locales": { @@ -3077,7 +3077,7 @@ "apiUrl": "https://store.notedeck.io/registry/widgets/federation-radar/api.json", "sha512": "128a7151ecaa7532e51f8a5ab13824cff4e724c119b33a1f1079c3e3c832cc3b9ca424c874dc3707796a4db65fb2974b5346e20faa39d1fb8541f4f490fe537e", "createdAt": "2026-10-12T18:43:42+09:00", - "updatedAt": "2026-10-12T20:24:09+09:00", + "updatedAt": "2026-10-13T21:50:02+09:00", "authorUrl": "https://github.com/hitalin", "license": "MIT", "locales": {