/skills:check-live-deployfrom skills
Verifies that a merged commit is live on the canonical public URL by checking deploy status, served revision, and the change's behavior. Reports live, not live, or unknown with evidence.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A green deploy log proves a job finished, not that users see the new code. Check the deploy status, the served revision on the public URL, and the change itself before saying it is live.
Write down four facts before checking anything:
git rev-parse --short origin/main)Poll the deploy's own status through the platform CLI or API for the target commit SHA until it finishes, instead of waiting a fixed number of seconds. Match the exact commit SHA on the deploy record so an earlier green run does not count.
Fetch the canonical public URL twice: first as a normal visitor, then with cache busting so you can tell a live update from a stale cache.
curl -sS -D - "https://example.com/path" -o /tmp/live-plain.out
curl -sS -D - -H "Cache-Control: no-cache" "https://example.com/path?_cb=$(date +%s)" -o /tmp/live-fresh.out
From both responses, record the status code, cache headers (Age, X-Cache, CF-Cache-Status, ETag), and the revision marker (version endpoint, HTML build ID, or asset hash). Compare both served markers to the target commit.
Test the exact behavior from step 1 on the canonical public URL: the updated text, route, status code, or API response. Check it on a plain request as a real user sees it, and note if it only appears when cache-busted. A generic /health endpoint or an HTTP 200 on the home page does not prove the change shipped.
Choose one verdict from the evidence, never from the deploy log alone:
| Verdict | When to use it |
|---|---|
| Live | Deploy finished for this commit, the plain canonical URL serves the new revision, and the live change check passes. |
| Not live | Deploy failed, the plain canonical URL serves an older commit or hash (even if a cache-busted sample shows the new one), or the live change check fails. |
| Unknown | Deploy is still running or uncheckable without a failure, no revision marker confirms which build is served, or the live URL is unreachable. |
List every piece of evidence under the verdict: target commit SHA, deploy status, plain vs cache-busted served revision with cache headers, and the live change result. If the cache is stale, state clearly that the new build is only visible past the cache and name both the expected and served commit or hash.
Based on ideas from garrytan/gstack (MIT), written by Copybook.
What SKILL.md sets; muted values are Claude Code's defaults
24 skills in this plugin
/add-pre-commit-checksUse when asked to add pre-commit hooks, set up Husky or lint-staged, stop bad commits, or run Prettier and type checks on commit. Sets up a pre-commit hook that formats staged files, type-checks with the project config, and runs related tests, proven by blocked and fast commits. Not for picking a test set for a change (run-affected-tests)./build-throwaway-prototypeUse when asked to prototype, spike, try an idea out quickly, sanity-check a state model or logic, or mock up what a UI should look like. Builds a throwaway prototype that answers one named design question from one command or one HTML file while leaving production code untouched. Not for building a finished production page (design-web-page)./check-current-docsUse when asked to use the latest docs, check if an API is still current, check which version the project is on, follow modern HTML or CSS best practices, or avoid outdated patterns; also when adding or changing code that calls a library pinned in the project, such as validation with a schema library. Reads the project lockfile and manifest, checks the official docs or browser guidance for the exact pinned versions, implements the current pattern without deprecated calls, and cites each choice with its URL, version, and date read. Not for moving existing code off an old API (migrate-off-deprecated-api)./check-skill-before-installUse when asked to find a skill for a task, if there is a skill that helps, how to do something with an agent, which plugin to use, or to install a skill. Finds two or three candidate skills, reads each one for scripts, network calls, file writes, licence, and name clashes, and recommends one pick with a proposed install command. Not for getting a second opinion on a plan or trade-off (get-second-opinion)./find-root-causeUse when something is broken: a bug, a failing test, a build error, "it doesn't work", or a fix that didn't hold. Reproduces the failure, traces it to the line where it starts, proves one cause with one change, fixes every copy, and stops with a report after two failed fixes. Not for checking finished work before saying done (verify-work-done)./find-stale-docsUse when docs may be out of date, a README looks stale, docs drifted after a refactor, or you want to verify setup instructions still work. Audits doc claims against the codebase and lists each stale line with concrete proof and a one-line fix. Not for changing code to match old docs or migrating APIs (migrate-off-deprecated-api).npx claudepluginhub heyvhuang/copybook-skills --plugin skillsOther plugins' skills for the same job