Registry / posterus-ltd

posterus-ltd/yarkr-public/spa-not-found-page

Add a full-page 404 (Not Found) fallback to a React single-page app that shows the requested path, offers "Go back" and a link home, sets noindex so crawlers don't index it, and is also rendered for guarded pages the user can't access. Use when adding a 404 or catch-all route, wiring notFoundComponent in TanStack Router or a "*" route in react-router, hiding admin pages from unauthorised users, or fixing soft-404s from static SPA hosting.

Agent skill · version 0.0.0-arks-library.1794304932.g3666fd0 · from posterus-ltd/yarkr-public

Install

npx yarkr-cli add skill:posterus-ltd/yarkr-public/spa-not-found-page

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:posterus-ltd/yarkr-public/spa-not-found-page
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:posterus-ltd/yarkr-public/spa-not-found-page

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:posterus-ltd/yarkr-public/spa-not-found-page

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.