ssr-site

Standardize Madoc TS site SSR rendering and template token injection.

57|15|Updated Nov 28, 2018
One-click install
npx skills add https://github.com/digirati-co-uk/madoc-platform --skill ssr-site
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ssr-site
Source: https://github.com/digirati-co-uk/madoc-platform/tree/main/.agents/skills/ssr-site
Command: npx skills add https://github.com/digirati-co-uk/madoc-platform --skill ssr-site

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardize and stabilize Madoc TS site SSR rendering, ensuring consistent template injection and render data wiring when SSR behavior or template tokens change.

Core Features & Use Cases

  • Document the site SSR flow and how template tokens are injected for Madoc TS sites.
  • Identify, configure, and validate entry points and render options in the SSR pipeline (theme, slots, locales).
  • Use Case: when updating site SSR behavior or template tokens to align with new design requirements.

Quick Start

Review the files at services/madoc-ts/src/routes/frontend/site-frontend.ts, services/madoc-ts/src/frontend/site/server.ts, and services/madoc-ts/src/site.html to begin adjusting SSR inputs and token injection.

Frequently Asked Questions about ssr-site

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

FAQPage Schema
How do I standardize Madoc TS site SSR template token injection?

To standardize Madoc TS site SSR template token injection, review site-frontend.ts and site.html. They define the SSR pipeline, handling environment-specific render paths and wiring token data across themes, slots, and locales.

What is the SSR rendering flow for Madoc TS sites?

The SSR rendering flow for Madoc TS sites uses site-frontend.ts and server.ts to process render options. It injects HTML template tokens and wires render data to ensure stable, consistent site rendering across different locales and themes.

How do I update site SSR behavior and render data wiring?

To update site SSR behavior and render data wiring, adjust entry points in the SSR pipeline. Modify site-frontend.ts and site.html to align template token injection and render options with new design requirements across various themes.

When do I need to adjust HTML template tokens for server-side rendering?

You need to adjust HTML template tokens for server-side rendering when updating site SSR behavior or aligning with new design requirements. This ensures consistent template injection and stable render data wiring across all site themes and slots.

Does Madoc TS support environment-specific SSR render paths?

Yes, Madoc TS supports environment-specific SSR render paths. The site-frontend.ts entry point handles these distinct render paths, ensuring template token injection and render data wiring remain stable across different deployment environments and locales.

Why does my Madoc TS site SSR rendering break after template token changes?

Madoc TS site SSR rendering breaks after template token changes due to misaligned render data wiring. Validating entry points and render options in site-frontend.ts and site.html ensures template injection remains consistent across themes and slots.