Add .claude/scripts/post-bot-alert.sh — reusable, soft-failing Discord poster that reads the bot token from the SOPS vault (bot-token.sops.yaml, credentials.bot_token) with a .env fallback, so it works from any machine. Wire it into the /syncro skill: a Hard Rules pointer, a billing-workflow step (17), and a "Post to #bot-alerts" reference section with the message format and ticket/invoice/customer link mapping (computerguru.syncromsp.com). Scoped to write ops (create/update/close/comment/bill/customer); reads post nothing. Best-effort — never fails the Syncro write it follows. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2.5 KiB
2.5 KiB