What problem does it solve?
This Skill helps developers trace, debug, and modify how Madoc's TypeScript services perform server-side rendering for both the public site and admin UI, ensuring SSR output is correctly injected into HTML templates and that dev-mode HMR wiring does not break SSR boot.
Core Features & Use Cases
- Identifies key entry points and renderers used for site and admin SSR and where context.staticPage is wired.
- Explains template token replacement for head and outlet and how html/body attributes from SSR are applied.
- Covers redirect handling and the differences between development (inline Vite HMR preamble) and production template usage.
- Use case: change the SSR output shape or add injected assets and verify that templates, redirects, and HMR loading behave correctly across environments.
Quick Start
Inspect the site frontend handler and site template, then trace a single request to show where the render result's head and body are injected and whether any redirect result is returned.