Skip to content

feat(404): redesign not-found page with agent onboarding card - #59

Merged
nibzard merged 1 commit into
mainfrom
feat/404-redesign-agent-onboarding
Jun 15, 2026
Merged

feat(404): redesign not-found page with agent onboarding card#59
nibzard merged 1 commit into
mainfrom
feat/404-redesign-agent-onboarding

Conversation

@nibzard

@nibzard nibzard commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

What

Replaces the bare, unstyled 404 with an on-brand standalone page.

  • Mono Error 404 header + "Page not found" copy
  • Two navigation cards as recovery routes: Quickstart and Steel Skills
  • A copyable llms-full.txt hint card to onboard coding agents (components/home/llms-hint-card.tsx, mirrors CLIInstallCard)
  • An ai-context <meta> tag pointing agents at the LLM-optimized docs index (present in raw HTML)

Why the standalone (no docs chrome) design

At runtime, every wrong URL hits the [...slug] catch-all and triggers notFound(), which renders in Next's bare __next_error__ shell — outside the root layout and DocsLayout. That means navbar/sidebar/search cannot be delivered on a 404 while keeping a correct HTTP 404 status. So the page self-owns its dark theme (dark wrapper) and uses the cards as curated escape routes.

Verification

  • bun run build compiles clean; /_not-found builds
  • HTTP status confirmed against next start: real pages → 200, unknown URLs → 404
  • ai-context meta tag present in raw HTML head
  • biome check clean

⚠️ Visual render not confirmed via headless browser (no local headless available; curl can't execute the client-side render). Recommend eyeballing bun run dev/overview/does-not-exist before merge.

Replace the bare 404 with an on-brand standalone page: mono "Error 404"
header, Quickstart + Steel Skills navigation cards, and a copyable
llms-full.txt hint card to onboard coding agents. Adds an ai-context
meta tag pointing agents at the LLM-optimized docs index.

Self-owns the dark theme since the runtime not-found shell renders
outside the root layout.
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Building Building Preview, Comment Jun 15, 2026 5:06pm

Request Review

@nibzard
nibzard merged commit 8081129 into main Jun 15, 2026
1 of 3 checks passed
@nibzard
nibzard deleted the feat/404-redesign-agent-onboarding branch June 15, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant