Index of every page on this site: llms.txt
All skills
analogjs avatar

/angular-ssr

@18996fd
by analogjsanalogjs/angular-skills586 stars
67
Run it yourself

DEPRECATED - this skill is unmaintained. Use the official Angular skills at https://github.com/angular/skills instead. Implement server-side rendering and hydration in Angular v20+ using @angular/ssr. Use for SSR setup, hydration strategies, prerendering static pages, and handling browser-only APIs. Triggers on SSR configuration, fixing hydration mismatches, prerendering routes, or making code SSR-compatible.

Use this Skill: https://skilld.dev/gh/analogjs/angular-skills/angular-ssr

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈106 tokens for metadata: the name and description. ≈124 when used: this file.

Description uses 5.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈426 characters, or 5.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Angular SSR

⚠️ Deprecated. This skill is no longer maintained, and its guidance has been removed rather than left to go stale. The Angular team now publishes official skills at angular/skills — install those instead:

npx skills add https://github.com/angular/skills

To remove these: npx skills remove analogjs/angular-skills

The previous contents of this skill remain available in this repository's git history.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill is a deprecation notice that provides instructions to migrate to official Angular tools. No security risks were identified.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer9mo

    1/2 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 18996fd. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 4 months ago
  • TypeScript
  • angular
  • ssr
  • hydration
  • prerendering
  • angular-ssr
  • server-side-rendering
  • express

README badge

README badge for analogjs/angular-skills/angular-ssr

Sets up server-side rendering, hydration, and prerendering in Angular v20+ using @angular/ssr. Covers SSR configuration, incremental hydration strategies, dynamic and static prerendering, handling browser-only APIs, and TransferState for HTTP caching between server and client.

Generated from the current SKILL.md.

Does this skill work with Angular versions before v20?
No. This skill targets Angular v20 and later, which introduced @angular/ssr as the official SSR package.
How do I handle browser-only APIs like window or localStorage in SSR?
Use isPlatformBrowser() to detect the platform, wrap code in afterNextRender() or afterRender(), or create injection tokens that return null on the server.
Can I prerender dynamic routes with parameters?
Yes, using getPrerenderParams() to fetch a list of route parameters at build time, with fallback options for routes not prerendered.
What's the difference between RenderMode.Prerender, RenderMode.Server, and RenderMode.Client?
Prerender generates static HTML at build time, Server renders on-demand per request, and Client skips SSR entirely for SPA behavior.
Does this skill cover fixing hydration mismatches?
Yes. The skill covers incremental hydration with @defer triggers, event replay to capture user input before hydration completes, and platform detection to avoid hydration mismatches.

Generated from the current SKILL.md. These answers refresh after source changes.