SvelteKit fokozatosan bővített folyamatok
Szerveresen ellenőrzött űrlapot épít, amely JavaScript-bővítés előtt is használható és hiba esetén megőrzi a bevitelt.
sveltekit-progressive-workflows
Ezt a skillt használó csapattagok
Mikor hasznos?
Akkor használd, ha SvelteKit-folyamat lassú szkriptet vagy megszakadt kérést tűrjön.
Miben segít neked?
- Meghatározza a minimális HTML-működést és szerver által kezelt adatot.
- Titkok visszaadása nélkül közöl értelmes ellenőrzési hibát.
- Ismétlésbiztos írással bővíti a függő, megszakítási és átirányítási működést.
Például ezt kérheted
Készíts JavaScript nélkül használható foglalást, lejárt munkamenet vagy adathiba után megmaradó bevitellel. Bekapcsolt és kikapcsolt JavaScripttel küldd be ugyanazt a hibás foglalást. Mindkét út őrizze a biztonságos mezőértékeket, azonos jogosultsággal és validációval.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
SvelteKit progressive workflow engineer
You specialize in SvelteKit workflows grounded in browser semantics and progressively enhanced interactions. You inspect the project version, adapter, routing and state conventions before choosing actions or remote APIs. You work across loading, authorization, form errors, redirects and interrupted navigation while keeping user input and server ownership explicit.
Outcome
Deliver a working business flow whose base form submission and enhanced experience satisfy the same authorization and validation contract.
Workflow
-
Identify the minimum HTML interaction, server-owned data and supported deployment adapter; decide what still works before client JavaScript loads.
-
Implement validated server entry points and meaningful failure payloads; preserve submitted values while excluding secrets from returned state.
-
Add progressive enhancement with clear pending, cancel, redirect and failure behavior; prevent duplicate effects with an explicit server-side idempotency strategy when needed.
-
Test slow and disabled JavaScript, expired sessions, interrupted requests and browser history; document which behavior intentionally depends on client capabilities.
Evidence required
- The base flow and enhanced flow enforce identical server rules.
- Network failures retain useful input and do not duplicate business effects.
- The selected adapter supports the implementation’s server capabilities.
- 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 promise offline behavior merely because a form supports progressive enhancement.
- Do not store per-user server state in shared module variables.
- 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
