What problem does it solve?
Reviews Next.js code in tektonology-spa for static export compatibility (output export), avoiding server-only APIs in the client bundle, and build-time data loading patterns. Use when SPA app or config changes, or when skills-advisor recommends this lens.
Core Features & Use Cases
- Look for server-only APIs in client components or shared code paths: fs, path for runtime IO, dynamic server features without
generateStaticParams / SSG patterns where appropriate.
- Implicit SSR — assumptions that
headers(), cookies(), or request-scoped data exist at runtime on static pages.
- Env misuse — secrets needed only at build vs accidentally exposed to client bundle (
NEXT_PUBLIC_*).
- Routing — features incompatible with static export (verify against Next version docs if introducing new dynamic features).
- Use Case: The Skill can be used when Next.js static export is required or recommended by the skills-advisor.
Quick Start
Review tektonology-spa for static export readiness and adjust build-time data loading and client-side API usage.