verify-site
Skill4 starsChanged 11 days agoMITView on GitHub
Verify the thirdshift static site (site/ and docs/guide.md) on an ephemeral loopback port. Use when changing site/, docs/guide.md, GLOSSARY.md, src/prompts_page.rs, or prompts/.
- Reads credentials
- Deletes or force-pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- reloru/new-relotheir own version, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- reloru/new-relo★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository64 other files it gives its agents.
- AGENTS.mdAGENTS.md
- site/llms.txtllms.txt
- ask-mattSkill
- chief-of-staffSkill
- claude-handoffSkill
- codebase-designSkill
- code-reviewSkill
- create-formal-verification-skillSkill
- create-verification-skillSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- explainer-videoSkill
- fleet-stewardSkill
- git-guardrails-claude-codeSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- loop-meSkill
- maintain-formal-verification-skillSkill
- maintain-verification-skillSkill
- migrate-to-shoehornSkill
- prototypeSkill
- prSkill
- researchSkill
- retroSkill
- scaffold-exercisesSkill
- security-auditSkill
- setup-matt-pocock-skillsSkill
- setup-pre-commitSkill
- setup-ts-deep-modulesSkill
- tddSkill
- teachSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- verify-consoleSkill
- verify-pickupSkill
- verify-uiSkill
- wait-whatSkill
- wayfinderSkill
- wizardSkill
- writing-beatsSkill
- writing-for-agentsSkill
- writing-fragmentsSkill
- writing-shapeSkill
- thirdshift-codebase-designSkill
- thirdshift-code-reviewSkill
- thirdshift-diagnosing-bugsSkill
- thirdshift-implementSkill
- thirdshift-improve-codebase-architectureSkill
- thirdshift-prSkill
- thirdshift-resolving-merge-conflictsSkill
- thirdshift-security-auditSkill
- thirdshift-tddSkill
- thirdshift-to-questionnaireSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Run verification inside one ( ...
- Distinctive: line 58
Run this read-only health check before driving and after any failure:
- Very specific: line 71
Follow verify-ui (Factory: thirdshift-verify-ui) for the two-phase verification workflow against features/README.md.
- Very specific: line 78
Create proof paths outside $state_dir via mktemp (for example "${TMPDIR:-/tmp}/after-desktop.XXXXXX.png" and …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Verify Site
Serve site/ locally on an OS-assigned ephemeral loopback port and drive its static and interactive pages in headless Chromium without external network requests.
Launch
- Regenerate derived pages first when sources changed (
npm run docs --prefix sitefordocs/guide.md,UPDATE_PROMPTS=1 cargo test prompts_pageforsrc/prompt.rs/src/prompts_page.rs/skills/), and ensuresite/node_modulesand freshness checks pass:
test -d site/node_modules || npm ci --prefix site
npm run docs:check --prefix site- Run verification inside one
( ... )subshell withtrap cleanup EXITregistered before starting the server or any browser daemon:
(
set -eu
state_dir=$(mktemp -d "${TMPDIR:-/tmp}/verify-site-state.XXXXXX")
server_pid=''
cleanup() {
if [ -n "$server_pid" ] && kill -0 "$server_pid" 2>/dev/null; then
kill "$server_pid" 2>/dev/null || true
wait "$server_pid" 2>/dev/null || true
fi
rm -rf "$state_dir"
}
trap cleanup EXIT
# Static site/ needs no host credentials (leave Launch-directory .env and verify-env untouched).
node .agents/skills/verify-site/scripts/serve-site.cjs site \
>"$state_dir/site.out" 2>"$state_dir/site.err" &
server_pid=$!
origin=''
for _ in $(seq 1 100); do
kill -0 "$server_pid" 2>/dev/null || { cat "$state_dir/site.err" >&2; exit 1; }
origin=$(head -n 1 "$state_dir/site.out" 2>/dev/null || true)
case "$origin" in
http://127.0.0.1:[0-9]*) break ;;
esac
sleep 0.1
done
case "$origin" in
http://127.0.0.1:[0-9]*) ;;
*) echo "Site server failed to report ephemeral origin" >&2; cat "$state_dir/site.err" >&2; exit 1 ;;
esac
)Doctor
Run this read-only health check before driving and after any failure:
kill -0 "$server_pid"
for path in / /how-it-works/ /architecture/ /docs/ /prompts/ /videos/ /styles.css; do
curl -fsS "$origin$path" >/dev/null
done
home_html=$(curl -fsS "$origin/")
printf '%s' "$home_html" | grep -q 'Your issues become pull requests overnight.'Drive
Follow verify-ui (Factory: thirdshift-verify-ui) for the two-phase verification workflow against features/README.md. Site-specific rules:
- Interactive exploration: resolve Playwright from
$(pwd)/site/node_modules/playwright(or drive with@playwright/cli/agent-browserand stop any daemon incleanup). Test bothjavaScriptEnabled: trueandfalsewhere<details>or fragment reveal applies, and abort externalhttps://**requests (route.abort()) or fulfill YouTube embeds locally so runs never contact external origins. - Clean walkthrough pass: inspect
site/package.jsonto followverify-ui/thirdshift-verify-uifor recording annotations (showActionsvs init-script fallback). Allow expectedhttps://**route-abortrequestfailedevents and the missing deploy-only/commit.txtrequest on/prompts/(both its 404consoleerrorm.location().url.endsWith('/commit.txt')and itsnet::ERR_ABORTEDrequestfailedon navigation whenmain.jsskips reading the 404 body), asserting zero unexpectedpageerror,consoleerror, or>= 500responses.
Evidence
Create proof paths outside $state_dir via mktemp (for example "${TMPDIR:-/tmp}/after-desktop.XXXXXX.png" and "${TMPDIR:-/tmp}/after-desktop.XXXXXX.mp4") so Cleanup preserves them. Defer transcoding, capture pairing, and gh --attach PR publishing (ADR 0034) to verify-ui (Factory: thirdshift-verify-ui) and pr (Factory: thirdshift-pr).
Cleanup
The single trap cleanup EXIT handler stops and waits for $server_pid (and any CLI browser daemon), closes Playwright contexts/browser in finally, removes $state_dir and temporary scripts, leaves $shot and $video intact at their mktemp paths, and verifies zero server or browser child processes remain after exit (kill -0 "$server_pid" fails).
Helpers
node .agents/skills/verify-site/scripts/serve-site.cjs [site-dir]— executable static HTTP server bound to127.0.0.1:0, printinghttp://127.0.0.1:<port>on stdout and shutting down cleanly onSIGTERM/SIGINT.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

