15 solution docs
Next.js on Vercel solution docs
Next.js 16 on Vercel. A landing page, a token-driven UI kit, local checks, no CI.
Pick Next.js on Vercel and all 15 land in docs/solutions/nextjs-vercel/, next to the rules and skills that reference them.
Every Next.js on Vercel doc in the registry
Tags: agentic-config · agents · ai-agents · app-router · architecture · auth · billing · ccpa · chargebacks · checkout · claude-code · compliance · compound-engineering · conventions · cookies · cursor · diffing · dodo · entitlements · environment-variables · ftc · gdpr · generator · hooks · hydration · landing-page · layouts · legal · lemonsqueezy · lifetime-deal · llms-txt · maintenance · nextjs · one-time-payments · planning · polar · postgres · pricing · privacy · process · rate-limiting · refunds · route-handlers · rules · safety · secrets · security · seo · serverless · sidebar · skills · static-rendering · stripe · subscriptions · testimonials · tooling · ui · upgrades · vercel · webhooks · workflow
Protecting a signed-in app in the App Router, in three layers
A layout that checks the session is not enough, because layouts do not re-render on client navigation. Where the proxy, the layout and the page each check, and why.
nextjs · auth · app-router · layouts
The Compound Engineering loop, and where /ce-plan and /ce-work actually fit
Agents that start typing immediately produce work nobody can review. Plan in a file, execute against it, then write down what you learned so the next pass is shorter.
workflow · planning · compound-engineering · agents
Environment variables on Vercel, without leaking them into the browser
Next.js inlines env reads at build time, so one import can ship a server key to every visitor. Here is the boundary that prevents it and the checks that prove it held.
vercel · nextjs · environment-variables · secrets
What each guard hook blocks, and how to extend one without breaking your session
Claude Code hooks stop the mistakes that cost the most. Here is what each one refuses, how the exit codes work, and the safe way to add a rule of your own.
claude-code · hooks · safety · security
llms.txt for a SaaS site, generated from the same copy as the page
An llms.txt file tells AI agents what your product is and where the important pages are. Build it from the landing page's data so it never goes stale, and serve it as a static file.
llms-txt · seo · ai-agents · nextjs
Selling one-time purchases next to subscriptions without two billing systems
Model a lifetime deal as a one-time price that grants a plan, record it in a purchases table with a monotonic status, and resolve access from subscriptions and purchases in one rule.
billing · one-time-payments · subscriptions · lifetime-deal
A pricing page that renders with no database and no payment keys
Keep the plan catalogue in code, map provider price ids through env vars, and make /pricing a static page whose buttons are plain links to a checkout route.
pricing · nextjs · billing · static-rendering
A privacy policy that lists the vendors you actually use
GDPR and the US state privacy laws expect you to say who processes personal data for you. Let each integration add itself to the list, so the policy changes when the code does.
privacy · gdpr · ccpa · legal
Rate limit checkout in Postgres, before the provider sees it
One small table and one atomic upsert keep a looping user from spending your payment provider's API limit, across every serverless instance, with no Redis.
billing · checkout · rate-limiting · postgres
Refunds and disputes should take access away, exactly once
Which webhook carries a refund or a dispute on each payment provider, how to find the purchase it belongs to, and how to revoke access without a late event giving it back.
billing · refunds · chargebacks · webhooks
Regenerating from agentic.config.json to see what upstream changed
There is no sync service and no template remote. Regenerate a clean copy from your recorded selection, diff it against your repo, and take only the agent layer.
generator · upgrades · diffing · agentic-config
Rules, skills and agents, which one you actually need
The same instruction behaves completely differently depending on where you put it. Rules are ambient constraints, skills are invoked procedures, agents are delegated scopes.
agents · skills · rules · claude-code
Sample testimonials that never reach production
A landing page template needs quotes, logos and numbers to look finished, and publishing invented ones is illegal. Mark them as samples, show them in development, and drop them from the production build.
landing-page · testimonials · ftc · compliance
A collapsible sidebar that remembers its state without a flash
Saving the sidebar's open or collapsed state in localStorage makes every page load jump. A cookie the server reads renders the right width in the first HTML.
nextjs · ui · cookies · hydration
Writing a path-scoped rule that agents actually follow
Rules fail for two reasons: they load when nobody needs them, or they are unfalsifiable. Scope by path, write checkable statements, and give every rule an escape hatch.
rules · agents · conventions · claude-code