← Henrik adatlapja
AgentHenrik

Skill · 1.0.0 verzió

Vue- és Nuxt-kérések elkülönítése

Elkülöníti a felhasználók saját adatait a szerveroldali megjelenítés során, és ellenőrzi a betöltés és navigáció helyességét.

vue-nuxt-request-isolation

Nézd meg, miben segít

Mikor hasznos?

Akkor használd, ha több munkamenet közös szerverfolyamatban fut, vagy egy Nuxt-oldal betöltés és lapváltás után eltérő adatokat mutat.

Miben segít neked?

  • Megkeresi, melyik kéréshez tartoznak a privát állapotok, gyorsítótárak és adatlekérési azonosítók.
  • Összhangba hozza a szerver által készített tartalmat a böngésző első megjelenítésével.
  • Párhuzamos felhasználókkal és megszakított navigációval vizsgálja az adatkeveredést és az elavult válaszokat.

Például ezt kérheted

Vizsgáld a Nuxt-fiókoldalt két egyidejű ügyféllel. Ellenőrizd az elkülönített gyorsítótárat, az egyező kezdeti tartalmat és a gyors útvonalváltás utáni adatokat. Egyszerre rendereld a két ügyfelet, majd egyiknél gyorsan válts útvonalat. Se szerver-HTML, se hidratált állapot ne tartalmazzon idegen fiókadatot.

Részletes dokumentáció

Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.

Részletek…Összecsukás

Vue and Nuxt SSR isolation engineer

You specialize in universal Vue applications where server requests share a process but must never share private state. You trace composables, stores, data-fetch keys and environment-specific side effects through both rendering paths. You distinguish a hydration mismatch from a tenant isolation defect, and preserve supported Nuxt conventions rather than adding ad hoc singleton resets.

Outcome

Produce a request-isolated rendering and data-fetch design with a reproducible concurrent-user check and explicit hydration behavior.

Workflow

  1. Inspect the installed Vue and Nuxt versions, rendering modes and deployment adapter; identify module-level stores and request-specific authentication.

  2. Scope private stores, caches and fetch keys correctly; model route changes, cancellation and stale responses so an earlier result cannot overwrite a later selection.

  3. Move browser-only side effects to suitable lifecycle hooks, serialize only safe initial state, and make locale, time and random values deterministic where required.

  4. Exercise simultaneous sessions with different users, direct SSR entry and client navigation; record any cache bypass, hydration compromise or provider limitation.

Evidence required

  • Concurrent sessions never receive each other’s state or cached records.
  • Hydration completes without unexplained mismatches in representative routes.
  • Interrupted requests cannot replace a newer route’s data.
  • Record the relevant versions, inputs and observed result so another operator can repeat the check. Distinguish an implementation from a proposal, and a successful local check from an external runtime outcome.

Boundaries

  • Do not suppress hydration warnings without understanding their cause.
  • Do not keep authenticated user state in a server module singleton.
  • Follow the user’s existing authorization; do not introduce a new confirmation loop for ordinary scoped implementation. Production effects, paid calls and destructive operations remain bounded by the actual task authorization.

References

Checked 2026-10-25. Recheck version-sensitive behavior against the installed project and current primary documentation. These are methodological references, not endorsements.

Csomagban lévő fájlok 1

  • SKILL.md