Automated pipeline that runs on new PR submission: code review → health check → Discord notification.
Run the pipeline script — collects CI status, diff stats, and health check results: bash
bash {baseDir}/scripts/pr_auto_check.sh --pr <number> [--repo <owner/repo>] [--json]
--json: machine-readable output (for piping)--json: human-readable report printed to stdoutConduct code review — use the code-review skill on the PR diff. Focus on:
Post result to Discord: bash
bash {baseDir}/scripts/notify_discord.sh --webhook <DISCORD_WEBHOOK_URL> --result <json-file>
bash
RESULT=$(bash {baseDir}/scripts/pr_auto_check.sh --pr 42 --json) && \
bash {baseDir}/scripts/notify_discord.sh --webhook "$WEBHOOK" --result "$RESULT"
gh CLI authenticated ( gh auth login)jq for JSON processingcurl for Discord webhookDISCORD_WEBHOOK env var or pass --webhook)healthcheck skill installed for service health validationDISCORD_WEBHOOK in your environment or pass via --webhookCodeMeaning0All checks passed1CI failures or health warnings2Critical health issues
See references/output-format.md for the JSON schema.