/ccube-celerity:smoke-test-sgwfrom ccube-celerity
Use when: the user says "smoke test", "health check", "is the site up", or wants a read-only availability + render check of a website or web app (e.g. SupportGoWhere kiosk + main sites). Provides one Rust binary that checks HTTP/headers/assets, renders every URL in headless Chrome, classifies each page, screenshots failures, and sets a pass/fail exit code.
Ships in ccube-celerity. 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.
None: SKILL.md is the whole skill.
A single self-contained binary does everything. It launches and manages its own headless Chrome via chromiumoxide (the Rust equivalent of Playwright: same Chrome DevTools Protocol architecture), so there is no external webdriver, no Firefox, no Python, no manual orchestration. Do not hand-drive a browser or parse JSON yourself: run the binary and read the printed summary.
The plugin ships the prebuilt binary at bin/smoke, so you do not need Rust
installed to use the skill. HTTP goes via ureq (native-tls, so it trusts the OS
store incl. any corporate proxy CA); render via chromiumoxide. The only runtime
requirement is Google Chrome (or Chromium); chromiumoxide auto-detects it.
The shipped bin/smoke is a universal macOS binary (arm64 + x86_64). The source
lives in this repo under sources/ccube-celerity/smoke-test-sgw/, not in the
plugin; rebuild it with that folder's build.sh (which recompiles and refreshes
bin/smoke) if you change the crate or need a Linux/Windows build.
<skill>/bin/smoke \
https://supportgowhere.life.gov.sg/ https://kiosk.supportgowhere.life.gov.sg/
# or from a file (one URL per line, # comments allowed):
<skill>/bin/smoke --file routes.txt
Exit code is 0 when every URL is OK / a clean 404 / an auth gate, 1 if any
URL errored, broke images, or returned an empty body. So && echo PASS works.
| Flag | Purpose |
|---|---|
--file PATH | read newline-separated URLs (in addition to positional args) |
--shots DIR | screenshot flagged (failing) pages into DIR |
--json PATH | full results JSON (default ./smoke-results.json) |
--report PATH | Markdown smoke-test report (default ./smoke-report.md) |
--wait SECS | per-page settle ceiling (default 2.5); pages exit early once their body text stabilizes, so this only bounds slow pages |
Render concurrency is a fixed constant (6): the run is network-bound, so tuning it gave no measurable benefit. The HTTP/asset check always runs.
Every run finishes by writing a Markdown report (--report, default
smoke-report.md): a PASS/FAIL verdict, a status breakdown, a render table, an
HTTP/asset table, and a Findings list of anything that failed (with screenshot
paths). That report file is the shareable artifact of a run; Read it (or the
flagged screenshots via --shots) to inspect results.
| Status | Meaning | Pass? |
|---|---|---|
OK | renders with healthy body, 0 broken images | yes |
404 | graceful not-found page (gated/unpublished route) | yes |
AUTH-GATE | redirected to a login provider / OTP / Singpass wall | yes |
BROKEN-IMG | one or more images failed to load | no |
EMPTY? | body too short; SPA likely didn't hydrate | no |
ERR | JS error page, navigation/eval failure, or timeout | no |
The HTTP pass also flags any first-party asset (/static/*, js/css/icon/
manifest) that doesn't return 200, and records security headers in the JSON.
Asset checks run concurrently and use HEAD (GET fallback if the origin rejects
HEAD) so multi-MB bundles aren't downloaded just to read a status code. Watch the
served HTML for placeholder leaks worth a manual glance (e.g. a literal MOCKID
GTM id).
Navigate and observe only. Never submit forms, log in, enter PINs/OTPs, or click
Apply/Submit/Save unless the user explicitly authorizes a specific write. An
AUTH-GATE or clean 404 is a PASS, not a failure.
Enumerate routes from the codebase, don't guess. For SGW specifically (all URLs below are public production endpoints):
https://supportgowhere.life.gov.sg/
/schemes/<UPPER-CODE>/<slug> (public). Bare
/schemes/<CODE> 302s to the slug for published schemes; unpublished /
feature-gated codes fall through to a clean 404 (expected)./topics/<topic>, /budget/support-calculator, /chat, /my-applications./grants/<schemeCode> -> /grants/<schemeCode>/apply,
hard-gated to Singpass (AUTH-GATE).schemeCode + schemeName); embeddings JSON can be stale, don't use it for
route enumeration.https://kiosk.supportgowhere.life.gov.sg/ -> /admin (PIN gate).
/admin/monitor (email -> OTP gate), same-origin as the
kiosk app.querySelectorAll; confirm those visually via --shots.--wait (it caps the settle wait; fast pages aren't slowed by
a high value since they exit as soon as their body stabilizes).After a release deploy, this smoke test can satisfy a subset of the "Deployment
verification" checkboxes in the release doc (see the celerity-deploy-release
skill). It only proves availability + render, so tick ONLY the checks it
actually covers, and leave functional QE checks (Singpass login, MyInfo
retrieval, file upload, happy-flow journeys, accessibility scan) for the human QE
pass.
/schemes/<CODE> pages (rendered titles, 0 failing) proves this.
Tick it.Editing the checkboxes (via the Confluence MCP, same server the
celerity-deploy-release skill uses): read the page storage body with
confluence.getPage, string-replace the <ac:task-status> inside the target
<ac:task> block, and write it back with confluence.updatePage
(version.number + 1). When filling a "Verified by" cell from an automated run,
prefix the note with Agent: per the identity rule, never assert a human
verified it.
What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
2 plugins ship this exact skill · first indexed Jul 20, 2026
Other plugins' skills for the same job
npx claudepluginhub mparramont/celerity-agent-plugin-marketplace --plugin ccube-celerity