Slack のデフォルトユーザーを設定する。「自分を設定」「ユーザー設定」「デフォルトユーザー設定」「Slackユーザー登録」「自分のIDを設定」「自分のSlackを設定」などで起動。
Sets the default Slack user ID for automated mention and unread checks.
/plugin marketplace add shiiman/claude-code-plugins/plugin install shiiman-slack@shiiman-claude-code-pluginsThis skill is limited to using the following tools:
scripts/slack_config.pyscripts/slack_utils.pySlack 操作で使用するデフォルトユーザーID を設定・管理します。
このスキルは、shiiman-slack プラグインで使用するデフォルトユーザーID を設定します。 設定されたユーザーID は、メンション確認や未読確認などで自動的に使用されます。
まず現在の設定を確認:
python plugins/shiiman-slack/skills/user-setup/scripts/slack_config.py show
ユーザーが指定したユーザーID を設定:
python plugins/shiiman-slack/skills/user-setup/scripts/slack_config.py set-user --user-id U01234567
ユーザーID の確認方法:
U で始まる11文字程度のID設定をクリアしたい場合:
python plugins/shiiman-slack/skills/user-setup/scripts/slack_config.py clear
設定は ~/.config/shiiman-slack/config.json に保存されます。
{
"default_user_id": "U01234567",
"workspace": {
"team_id": "T01234567",
"team_name": "MyWorkspace"
},
"created_at": "2025-01-14T10:00:00Z",
"updated_at": "2025-01-14T10:00:00Z"
}
設定されたユーザーID は以下のスキルで自動的に使用されます:
実際の処理は /shiiman-slack:user-setup に委譲します(SSOT として扱う)。