/discord-notifier:setupfrom discord-notifier
通知するパターン(pr / commit / push / stop)を選んで .plugin-workspace/discord-notifier/config.json を作成する
Ships in discord-notifier. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
通知パターンの ON/OFF を設定ファイル .plugin-workspace/discord-notifier/config.json に書き込む。
Webhook URL は環境変数 DISCORD_WEBHOOK_URL で設定するもので、このスキルでは扱わない(設定ファイルにも決して書かない)。
{
"enabled": true,
"events": {
"pr": true,
"commit": true,
"push": true,
"stop": true
}
}
enabled — 全体の ON/OFF。環境変数 DISCORD_NOTIFY_ENABLED が設定されていればそちらが優先されるevents.* — パターンごとの ON/OFFtrue(設定ファイルがなくても全パターン通知される)git rev-parse --path-format=absolute --git-common-dir の親ディレクトリを取り、リポジトリのメイン working tree($ROOT)を確定する。git 管理下でなければ ${CLAUDE_PROJECT_DIR:-.} を $ROOT に使う
(git worktree 内で実行しても常にメイン working tree に書き込むことで、worktree 間で設定を共有し hook 側の読み取りと一致させる)$ROOT/.plugin-workspace/discord-notifier/config.json を Read し、存在すれば現在の設定を提示するmkdir -p "$ROOT/.plugin-workspace/discord-notifier" を実行し、上のフォーマットで config.json を Write する(選ばれなかったパターンは false)$ROOT/.gitignore に .plugin-workspace/ が含まれるか確認し、なければ追記するDISCORD_WEBHOOK_URL が未設定なら通知されないこと(export DISCORD_WEBHOOK_URL=... が必要)を案内して完了What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dio0550/d-market-workflow --plugin discord-notifier