streaming-html
What it does
This skill reviews server rendering code to see whether HTML is streamed in chunks or held back until everything is ready, and suggests streaming where it helps. It is for developers working on server-rendered sites, such as Next.js or Node.js apps.
When to use it
- ✓When you ask the agent to check whether your server-rendered pages stream their HTML.
- ✓When the first byte of a page takes a long time because one slow data request holds up everything.
- ✓When you use Next.js App Router or Node.js handlers and want to confirm streaming is set up correctly.
Skill link
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/streaming-html/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“My server-rendered page takes a long time before anything shows up, because one slow query holds everything back. Can you set up streaming?”
5 new skills a week. 1 minute to read.
How it works
The agent checks whether the rendering code waits for all data before sending HTML. It then adds Suspense boundaries around slow data, or uses a streaming API, so the top of the page is sent right away.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Stream HTML to the browser before the full response is ready
Traditional SSR waits for all data fetches to complete before sending a single byte of HTML, which means the browser cannot parse, discover subresources, or render anything until the slowest data query finishes. Streaming decouples the delivery of above-fold content from slow database queries and third-party API calls, dramatically improving perceived performance and LCP.
Quick Reference
- Streaming sends HTML in chunks as it is generated instead of waiting for the full response
- React renderToPipeableStream and Next.js App Router stream by default when you use Suspense
- Place Suspense boundaries around slow data dependencies to flush above-fold HTML immediately
- Monitor TTFB in Lighthouse — values above 600ms are a sign that streaming is not being used
Check
Examine this server-side rendering implementation to determine whether HTML is streamed in chunks or buffered until fully generated before sending to the client.
Fix
Refactor the SSR implementation to use renderToPipeableStream with Suspense boundaries around slow data fetches, or use ReadableStream in a Node.js handler, so that above-fold HTML is flushed to the client immediately.
Explain
Explain how streaming HTML improves TTFB and FCP by decoupling the delivery of fast content from slow server-side data dependencies.
Code Review
Review server entry points and page components for renderToString calls, missing Suspense boundaries around data-fetching components, and use of await on slow queries before returning a response.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/performance/streaming-html
FAQ
What does streaming change for visitors?
The skill says the browser can parse, find resources, and show content before the slowest data query finishes.
Is streaming automatic in Next.js?
The skill says the App Router streams by default when Suspense is used.
What number should I watch?
The skill suggests watching time to first byte in Lighthouse, and says values above 600 milliseconds can point to missing streaming.
Details
Original description by the author
Use when reviewing server-side rendering setup, Next.js App Router pages, or Node.js HTTP handlers to verify that HTML is streamed incrementally rather than buffered until completion.
Popularity
- GitHub stars
- 75k
- Ranking position
- #3037
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.