# Solid Ssr Hydration Debugger

> Diagnose and prevent SolidJS SSR/hydration mismatches with deterministic reproduction and remediation steps. Use for server-client render inconsistencies, hydration errors, and browser-only boundary issues.

- **Type:** Skill
- **Install:** `agentstack add skill-lvcoi-solidjskills-solid-ssr-hydration-debugger`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [lvcoi](https://agentstack.voostack.com/s/lvcoi)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [lvcoi](https://github.com/lvcoi)
- **Source:** https://github.com/lvcoi/solidJSkills/tree/main/skills/solid-ssr-hydration-debugger

## Install

```sh
agentstack add skill-lvcoi-solidjskills-solid-ssr-hydration-debugger
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# solid-ssr-hydration-debugger

## Trigger

Use when SSR output and client hydration diverge, or browser-only assumptions leak into server render paths.

## Required Inputs

- Reproduction steps and environment mode.
- Affected route/component boundaries.
- Error logs and observed mismatch behavior.

## Workflow

1. Build deterministic reproduction path with explicit route/component inputs.
2. Isolate mismatch class: non-deterministic render, browser-only access, async timing, or conditional render drift.
3. Recommend fix strategy using SSR-safe primitives and hydration boundaries.
4. Provide verification checklist for server/client parity.

## Failure Modes

- Non-reproducible issue report: request exact steps and route context.
- Fix without root-cause classification: mark invalid output.
- Browser API in server path unresolved: fail until guarded.

## Output Contract

Return `DomainGuidanceOutput` with root-cause decisions, remediation handoff, and citations referencing normalized `doc_id` values.

## Validation

- `node tools/scripts/validate-skills.mjs --skill solid-ssr-hydration-debugger`
- `node tools/scripts/validate-solid-corpus.mjs`

## Key Corpus References

Use these `doc_id` values with the `read_corpus_doc` MCP tool:

- `solid-core.reference.rendering.hydrate` — client hydration attachment
- `solid-core.reference.rendering.is-server` — SSR guard constant
- `solid-core.reference.rendering.render-to-stream` — streaming SSR with Suspense
- `solid-core.reference.rendering.hydration-script` — hydration bootstrapper
- `solid-router.solid-router.rendering-modes.ssr` — router SSR rendering mode

## References

- `../../references/solidjs/performance-ssr.md`
- `../../references/solidjs-normalized/docs/reference/rendering/hydrate.md`
- `../../references/solidjs-normalized/docs/reference/rendering/is-server.md`
- `../../references/solidjs-normalized/docs/reference/components/no-hydration.md`
- `../../references/solidjs-normalized/docs/solid-router/rendering-modes/ssr.md`

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [lvcoi](https://github.com/lvcoi)
- **Source:** [lvcoi/solidJSkills](https://github.com/lvcoi/solidJSkills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-lvcoi-solidjskills-solid-ssr-hydration-debugger
- Seller: https://agentstack.voostack.com/s/lvcoi
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
