cloudflare-deployment-monitor
Invoke after every push to monitor the correct Cloudflare Worker build and deployment for sids.in.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Invoke after every push to monitor the correct Cloudflare Worker build and deployment for sids.in.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Use when Sid shares a URL or asks to draft, post, or publish content on sids.in. Creates link posts, notes, and articles while preserving Sid's wording.
Add, fix, or verify embedded external media on Sid's blog, including X/Twitter, YouTube, link preview embeds, CSP updates, tests, deploy monitoring, and live browser checks.
Add or modify standalone static games on sids.in. Use when working on HTML/CSS/JS games under public/games, game index updates, or browser verification of those games.
| name | cloudflare-deployment-monitor |
| description | Invoke after every push to monitor the correct Cloudflare Worker build and deployment for sids.in. |
Monitor the Cloudflare Workers build triggered by a push and verify that the pushed commit reached the live sids.in deployment.
Invoke this skill after every git push from the sids.in repository, regardless of whether the push changes content, application code, configuration, tests, or project documentation.
Do not use a check run from another commit as evidence. Every query must be scoped to the SHA that was just pushed.
Run immediately after a successful push:
COMMIT=$(git rev-parse HEAD)
BRANCH=$(git branch --show-current)
REMOTE_COMMIT=$(git ls-remote origin "refs/heads/$BRANCH" | cut -f1)
printf 'local=%s\nremote=%s\n' "$COMMIT" "$REMOTE_COMMIT"
test "$COMMIT" = "$REMOTE_COMMIT"
If the SHAs differ, stop. The local commit was not the commit pushed to that remote branch, so monitoring it would give a misleading result.
Query the exact pushed SHA:
gh api "repos/sids/sids.in/commits/$COMMIT/check-runs" \
--jq '.check_runs[] | select(.name == "Workers Builds: sids-in") | [.name, .status, (.conclusion // "pending"), .details_url] | @tsv'
Poll about every 15 seconds:
queued, waiting, or in_progress: keep waiting.completed with success: continue to deployment verification.completed with any other conclusion: report failure and stop.On failure or timeout, retrieve the check summary and dashboard URL:
gh api "repos/sids/sids.in/commits/$COMMIT/check-runs" \
--jq '.check_runs[] | select(.name == "Workers Builds: sids-in") | {status, conclusion, details_url, summary: .output.summary}'
After a successful check, retrieve its details:
gh api "repos/sids/sids.in/commits/$COMMIT/check-runs" \
--jq '.check_runs[] | select(.name == "Workers Builds: sids-in") | {status, conclusion, details_url, summary: .output.summary}'
The summary should identify the Cloudflare build ID and deployed Worker version ID. Keep the details_url for the final report.
Verify that the deployed Worker responds successfully:
curl -fsS -o /dev/null -w '%{http_code}\n' https://sids.in/
Expect HTTP 200. When the push changes a specific route or page, also verify that URL and its change-specific behavior. A home-page response alone does not prove that a changed feature works.
Report:
git push with a successful deployment.HEAD, the latest workflow, or another branch after recording the pushed SHA; use the recorded commit throughout.Workers Builds: sids-in completed successfullyhttps://sids.in/ returned HTTP 200