zitadel-sdk-solid-start SKILL.md skillA

zitadel-sdk-solid-start from zitadel/nextgen is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add zitadel/nextgen/zitadel-sdk-solid-start@git:20261021.ab19e1e

Pins git:20261021.ab19e1e in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
zitadel/nextgen
Path
packages/sdk-solid-start/skills/zitadel-sdk-solid-start/SKILL.md
Versions recorded
4
Latest version
git:20261021.ab19e1e, committed Oct 21, 2026
First version recorded
Oct 19, 2026
Size
5,595 bytes
Repository stars
27
License
AGPL-3.0

Integrate Zitadel authentication into an existing or custom SolidStart app with @zitadel/sdk-solid-start. Use when the user wants login, logout, session handling, or protected routes in a SolidStart 2 app and is wiring the SDK by hand rather than letting the CLI scaffold a fresh project — registering the middleware, reading auth state in a server function, or rendering the `ZitadelLogin` / `ZitadelSession` widgets.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# @zitadel/sdk-solid-start

SolidStart middleware and helpers that add Zitadel (Nextgen) auth to a
SolidStart app. The middleware proxies auth traffic same-origin under
`/__nextgen`, verifies the session JWT via JWKS on the server, writes the result
to `event.locals.nextgenAuth`, and redirects unauthenticated requests on
protected routes. The package is server-only; the widgets come from
`@zitadel/sdk-solid`.

## When to use

The `zitadel` CLI (`zitadel setup --framework solid-start`) scaffolds the
middleware, its `vite.config.ts` registration, login/register/profile routes,
and `.env.local` into a fresh or detected SolidStart project — prefer it for
greenfield work. It refuses a SolidStart 1 app. Reach for **this skill** when you
are adding auth to an **existing or custom** SolidStart app by hand, or
adjusting a scaffolded wiring.

## Install

```bash
pnpm add @zitadel/sdk-solid-start@latest
# the login/logout/session widgets are a separate package:
pnpm add @zitadel/sdk-solid@latest
```

Peer deps: `@solidjs/start ^2.0.0`, `solid-js ^1.8.0`.

## Integrate

**1. Middleware.** Create `src/middleware.ts`, wrapped in SolidStart's
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add zitadel/nextgen/zitadel-sdk-solid-start@sha256:6db776a07f3465ae

The line at the top of this page pins the label git:20261021.ab19e1e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_sdv44qjhx4u23cys.svg)](https://markdownregistry.com/a/art_sdv44qjhx4u23cys)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Oct 19, 2026 and Oct 21, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261021.ab19e1e latest2026-10-21 ab19e1e 5,595 BA view · diff
git:20261019.12b32262026-10-19 12b3226 5,593 BA view · diff
git:20261019.c1ec7ca2026-10-19 c1ec7ca 5,439 BA view · diff
git:20261019.7f82bfc2026-10-19 7f82bfc 5,290 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5595 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

zitadel/nextgen · 27 stars · license AGPL-3.0 · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_sdv44qjhx4u23cys
GET https://markdownregistry.com/api/v1/resolve?ref=zitadel/nextgen/zitadel-sdk-solid-start
GET https://markdownregistry.com/api/v1/blob/6db776a07f3465aea4c47bec4beb52e25ca39471a599cca4bbf631c2ccb32828

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from zitadel/nextgen

.cursorrules Cursor rule
zitadel/nextgen · .cursorrules
git:20261014.2e7bbe8 · audit A · 27 stars
AGENTS.md@.moon AGENTS.md file
zitadel/nextgen · .moon/AGENTS.md
git:20261020.8d47d7a · audit A · 27 stars
AGENTS.md AGENTS.md file
zitadel/nextgen · AGENTS.md
git:20261017.9e45fa5 · audit A · 27 stars
AGENTS.md@api/openapi AGENTS.md file
zitadel/nextgen · api/openapi/AGENTS.md
git:20261020.8d47d7a · audit A · 27 stars
AGENTS.md@apps AGENTS.md file
zitadel/nextgen · apps/AGENTS.md
git:20261015.74f0bb1 · audit A · 27 stars
AGENTS.md@apps/cli AGENTS.md file
zitadel/nextgen · apps/cli/AGENTS.md
git:20261016.c9fd392 · audit A · 27 stars
zitadel-cli SKILL.md skill
zitadel/nextgen · apps/cli/skills/zitadel-cli/SKILL.md · Set up and manage Zitadel authentication in a local project with the agent-friendly `zitadel` CLI. Use when the user…
git:20261018.eef798c · audit A · 27 stars
AGENTS.md@apps/cli/src/lib/local-server AGENTS.md file
zitadel/nextgen · apps/cli/src/lib/local-server/AGENTS.md
git:20261020.8d47d7a · audit A · 27 stars
AGENTS.md@apps/cli/tests AGENTS.md file
zitadel/nextgen · apps/cli/tests/AGENTS.md
git:20261020.8d47d7a · audit A · 27 stars
AGENTS.md@apps/console AGENTS.md file
zitadel/nextgen · apps/console/AGENTS.md
git:20261020.8d47d7a · audit A · 27 stars
AGENTS.md@apps/docs AGENTS.md file
zitadel/nextgen · apps/docs/AGENTS.md
git:20261021.9b24d6e · audit A · 27 stars
AGENTS.md@apps/storybook AGENTS.md file
zitadel/nextgen · apps/storybook/AGENTS.md
git:20261020.8d47d7a · audit A · 27 stars

Every file in zitadel/nextgen

Browse by kind, by grade A, or by owner.