ssr-ssg-advisor

Advise on Next.js rendering strategies for SSR, SSG, ISR, and CSR.

29|7|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/armanzeroeight/fastagent-plugins --skill ssr-ssg-advisor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ssr-ssg-advisor
Source: https://github.com/armanzeroeight/fastagent-plugins/tree/main/plugins/nextjs-toolkit/skills/ssr-ssg-advisor
Command: npx skills add https://github.com/armanzeroeight/fastagent-plugins --skill ssr-ssg-advisor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers choose the most efficient rendering strategy (SSR, SSG, ISR, CSR) for their Next.js pages, optimizing for performance, SEO, and data freshness.

Core Features & Use Cases

  • Strategy Selection: Guides users through criteria like content update frequency, personalization needs, and SEO importance to recommend the best rendering approach.
  • Code Examples: Provides practical TypeScript code snippets for implementing SSG, ISR, SSR, and CSR in both App Router and Pages Router.
  • Use Case: When building a new e-commerce site, use this Skill to determine whether product pages should be SSG for speed, ISR for dynamic pricing, or SSR for personalized recommendations.

Quick Start

Use the ssr-ssg-advisor skill to help decide the rendering strategy for a new Next.js blog post page.

Frequently Asked Questions about ssr-ssg-advisor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose between SSR, SSG, ISR, and CSR for my Next.js pages?

SSR, SSG, ISR, and CSR strategies are chosen by analyzing content characteristics like update frequency, personalization requirements, and SEO criticality. This analysis guides implementation decisions to optimize Next.js pages for performance, SEO, and data freshness.

When should I use Incremental Static Regeneration instead of Server-Side Rendering in Next.js?

Use Incremental Static Regeneration (ISR) instead of Server-Side Rendering (SSR) when you need scalable static performance with periodic data updates. ISR leverages caching and revalidation mechanisms to refresh static pages without regenerating the entire site on every request.

Does this rendering strategy advisor provide code examples for both App Router and Pages Router?

Yes, the rendering strategy advisor provides practical TypeScript code snippets for implementing SSG, ISR, SSR, and CSR in both App Router and Pages Router. These examples include configurations for caching, revalidation, and fallback mechanisms.

What is the best way to optimize Next.js rendering for an e-commerce site with dynamic pricing?

The best way to optimize Next.js rendering for dynamic pricing is using Incremental Static Regeneration (ISR). ISR provides fast static page delivery while utilizing revalidation mechanisms to ensure product prices and inventory remain fresh without full server-side rendering overhead.

How do I implement revalidation and fallback mechanisms for Next.js ISR?

Implement revalidation and fallback mechanisms for Next.js ISR by configuring time-based or on-demand revalidation paths in your TypeScript code. The advisor provides specific code snippets for both App Router and Pages Router to manage caching and data freshness.