Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Deploys this React/Vite app to GitHub Pages via Actions, covering the base path, BrowserRouter basename, and troubleshooting.
Use this skill ↓45% 77%+32 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 10 of 22 without it.
3 of 3 safety checks passed
17 agent runs
OverKill Hill P³ · overkillhill.com · github.com/OKHP3
Use this focused runbook to keep the Abrahamic Reference Engine compatible with its client-only Vite build and GitHub Pages Actions deployment. Verify the repository before relying on any remembered version or workflow detail.
| In scope | Out of scope |
|---|---|
vite.config.ts, .github/workflows/deploy-pages.yml, production base paths, BrowserRouter, build artifacts, Pages permissions/artifacts, environment wiring, and deployment diagnosis | Servers, databases, backend proxies, gh-pages branches, the legacy npm run deploy, secret creation, commits, pushes, and unrelated application changes |
Treat these current facts as constraints, then re-read the files if the task may have changed them:
vite.config.ts sets base to /abrahamic-reference-engine/ when command === 'build' and / otherwise. The dev server listens on 0.0.0.0:5000.src/App.tsx uses BrowserRouter with basename={import.meta.env.BASE_URL.replace(/\/$/, '')}..github/workflows/deploy-pages.yml runs on pushes to main or manual dispatch, uses Pages permissions and concurrency, installs with npm ci, builds with npm run build, copies dist/index.html to dist/404.html, uploads dist, and deploys with the Pages actions.Read AGENTS.md, vite.config.ts, .github/workflows/deploy-pages.yml, package.json, src/App.tsx, and the relevant recent diff. Check git status --short. Classify the request as configuration, workflow, artifact, or diagnosis before editing. Do not change deployment settings merely because a validation command succeeds.
Confirm the intended repository name, Pages base, router, build script, artifact path, trigger branch, environment variables, permissions, and fallback behavior from the files. If the requested result conflicts with the client-only boundary or the checked-in workflow, stop and report the conflict.
Make the smallest compatible edit. Keep the production base exactly /abrahamic-reference-engine/, local development at /, BrowserRouter with basename, npm, and Actions-based Pages deployment. Never place OAuth/API secrets in source, workflow text, or skill output; reference GitHub secrets by name only. Do not create a gh-pages branch or add a server workaround for an SPA that already handles routing via the 404.html fallback.
Run npm run build for build-affecting changes. Inspect the generated dist/index.html for /abrahamic-reference-engine/ asset URLs and confirm the workflow creates dist/404.html after the build. For workflow-only edits, inspect YAML structure and still run the narrowest available checks.
Next to this one in the catalogue, plus more from the same author.