Set up a SvelteKit app with @awl packages
Starting point: A new or existing SvelteKit app and a GitLab personal access token for the @awl registry. Goal: Login, session, i18n, metrics and HTTP client run on the @awl/* packages, as far as the project needs them.
-
Wire the app with
sveltekit-app-setup. The skill first readspackage.json,src/hooks.server.tsandsrc/app.d.ts, then builds up layer by layer: registry, auth, session, i18n, observability, HTTP client, Tailwind. Layers the project does not need are left out.Tell Claude Set up sveltekit app: OIDC login, session and i18n with the @awl packages.
-
Look up single packages with
awl-npm-packages. The catalogue shows which package solves what, with a cheat sheet of signatures and options per package.Tell Claude Which awl package fits a form with validation?
-
Add a smoke test: check
toBeHydratedandtoBeAccessibleon/. The Playwright configuration itself comes fromtesting-web.Tell Claude Write a sveltekit e2e smoke test with Playwright.
When something goes wrong
Section titled “When something goes wrong”pnpm installcannot find an@awl/*package → registry setup inawl-npm-packages- A Svelte package from
@awlonly fails at runtime → theoptimizeDeps.excludeentry invite.config.tsis missing, seeawl-npm-packages - The Docker build cannot find the private packages →
building-docker-images

