zitadel-sdk-next SKILL.md skillA

zitadel-sdk-next 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-next@git:20261018.decabad

Pins git:20261018.decabad 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-next/skills/zitadel-sdk-next/SKILL.md
Versions recorded
5
Latest version
git:20261018.decabad, committed Oct 18, 2026
First version recorded
Oct 5, 2026
Size
7,851 bytes
Repository stars
27
License
AGPL-3.0

Integrate Zitadel authentication into a Next.js App Router app with @zitadel/sdk-next. Use whenever the user wants to add Zitadel login, registration, logout, or session handling to a Next.js project — wiring the auth middleware/proxy, reading sessions in Server or Client Components, rendering the `<zitadel-login>` UI, or customizing an existing Zitadel + Next integration.

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-next

Next.js middleware and helpers that wire the Zitadel auth UI and session
verification into an App Router app.

## When to use

Use this when adding or customizing Zitadel auth in an **existing or custom**
Next.js app, or when you need to understand how the pieces fit together.

For a brand-new app, prefer the CLI: `npx @zitadel/cli@alpha setup --framework next` scaffolds
the whole integration (middleware, login page, env) and wires it for you. Reach
for this skill when that scaffold already exists and you are editing it, or when
the app is bespoke and you are integrating by hand.

## Install

```bash
pnpm add @zitadel/sdk-next@alpha
```

Peer deps the package expects: `next >=15.2.3`, `react >=18`, `react-dom >=18`.
TypeScript `>=5.0` (the SDK consumer floor; the package is built against a
newer TypeScript, but that does not raise the floor for your project).

## Integrate

The package has per-runtime entry points — import from the one that matches
where the code runs, not the root, from client modules:

| Import                         | Runs in                           | Provides                           |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add zitadel/nextgen/zitadel-sdk-next@sha256:7ad0867b2ee94bea

The line at the top of this page pins the label git:20261018.decabad, 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_zfsp65b4eq263lla.svg)](https://markdownregistry.com/a/art_zfsp65b4eq263lla)

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

Versions

The registry has recorded 5 versions of this file, between Oct 5, 2026 and Oct 18, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20261018.decabad latest2026-10-18 decabad 7,851 BA view · diff
git:20261018.2f2b8732026-10-18 2f2b873 6,514 BA view · diff
git:20261018.4d4b4b32026-10-18 4d4b4b3 6,499 BA view · diff
git:20261018.2e26a4c2026-10-18 2e26a4c 6,493 BA view · diff
git:20261005.46a366f2026-10-05 46a366f 6,489 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 (7851 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_zfsp65b4eq263lla
GET https://markdownregistry.com/api/v1/resolve?ref=zitadel/nextgen/zitadel-sdk-next
GET https://markdownregistry.com/api/v1/blob/7ad0867b2ee94bea6e48a70882ff9342faa982a0086a79da49d9db98dfe12b22

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.