Skip to content

Add clerk init keyless note to Next.js AI prompt#3401

Closed
djgould wants to merge 1 commit into
mainfrom
devin/nextjs-quickstart-clerk-init
Closed

Add clerk init keyless note to Next.js AI prompt#3401
djgould wants to merge 1 commit into
mainfrom
devin/nextjs-quickstart-clerk-init

Conversation

@djgould

@djgould djgould commented May 29, 2026

Copy link
Copy Markdown
Contributor

What

Adds a short note to the Next.js AI prompt — the markdown version served at /docs/nextjs/getting-started/quickstart.md — pointing to the Clerk CLI's one-command setup:

npx clerk init --starter --framework next --keyless

The note links to the Clerk CLI docs. All existing manual steps are left unchanged.

Why

clerk init --starter --framework next --keyless scaffolds a new Clerk + Next.js app with temporary development keys and no signup — which maps directly onto this prompt's existing keyless-first philosophy ("Do NOT tell users to sign up, create accounts, get API keys"). Surfacing it gives agents and developers a faster path while keeping the manual instructions as the authoritative reference.

Notes

  • Scope: only the prompt file (prompts/nextjs-quickstart.md) changes. The rendered quickstart page (quickstart.mdx) is untouched — this affects the .md/LLM version only.
  • --keyless is only valid when bootstrapping a new project, so the note is scoped to new-project creation (where it sits next to the create-next-app step).
  • Passes the Cursor deeplink length check (check-prompt-deeplink-length.ts): 5116 / 8000 chars.

🤖 Generated with Claude Code

Surfaces the Clerk CLI as a one-command setup path in the Next.js
quickstart prompt (served at /docs/nextjs/getting-started/quickstart.md).
Uses `clerk init --starter --framework next --keyless`, which matches the
prompt's existing keyless-first, no-signup philosophy, and links to the
CLI docs. Manual steps are left unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@djgould djgould requested a review from a team as a code owner May 29, 2026 16:08
@vercel

vercel Bot commented May 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-docs Ready Ready Preview May 29, 2026 4:10pm

Request Review

@SarahSoutoul

Copy link
Copy Markdown
Contributor

@djgould is it supposed to be in draft? Just checking!

@djgould djgould closed this Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants