Skip to content

Cross-reference the Clerk CLI and Skills in AI docs#3427

Merged
manovotny merged 4 commits into
mainfrom
manovotny/confused-silence
Jun 11, 2026
Merged

Cross-reference the Clerk CLI and Skills in AI docs#3427
manovotny merged 4 commits into
mainfrom
manovotny/confused-silence

Conversation

@manovotny

@manovotny manovotny commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

🔎 Previews:

What does this solve? What changed?

The Skills page is now a top-10 docs page and a primary AI/agent entrypoint, but the CLI ↔ Skills relationship in docs was one-directional and partly broken — Colin flagged that the Skills page never mentions the CLI, which may be suppressing CLI awareness. This tightens that cross-referencing and fixes stale commands.

Cross-referencing + correctness (68f4995, a203c57):

  • Skills page — added a CLI back-link (a [!NOTE] callout plus the new /clerk-cli row linking to /docs/cli), so CLI ↔ Skills is now bidirectional.
  • Skills table sync — added the three rows missing vs. the clerk/skills repo: clerk-cli, clerk-billing, and clerk-expo (distinct from the existing clerk-expo-patterns — Expo setup vs. patterns), plus matching example prompts.
  • CLI page — corrected two removed commands in the AI-agent section: replaced clerk skill install (removed in clerk/cli#315) with the current install paths (the optional clerk init prompt, or npx skills add clerk/skills), and replaced clerk init --prompt (removed in clerk/cli#241) with clerk init -y for non-interactive agent setup.
  • AI overview — added a CLI section linking to /docs/cli.

Copy/casing polish on the AI overview (0135f0e):

  • Tightened the overview intro.
  • Capitalized the Organizations feature reference (proper noun, per the styleguide).
  • Kept "AI prompts" lowercase (a descriptive label, not a product) and aligned the prompts.mdx page title to match.

Verified with pnpm run build:tsx and pnpm run lint (both clean), and peer-reviewed via /co-fix.

This also closes the loop on #3418, which added agent nudges pointing to the Skills page "for correct CLI usage" — the destination page now actually surfaces the CLI.

Deadline

  • No rush.

Other resources

manovotny and others added 2 commits June 8, 2026 14:54
- Skills page: add a CLI back-link, sync the table with three missing rows (clerk-cli, clerk-billing, clerk-expo), and add matching example prompts
- CLI page: replace the removed `clerk skill install` command with current install paths (`clerk init` / `npx skills add clerk/skills`)
- AI overview: add a CLI section

DOCS-11816

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Tighten the AI overview intro
- Capitalize the Organizations feature reference on the Skills and overview pages
- Lowercase AI prompts (a descriptive label, not a product) on the overview and the prompts page title

DOCS-11816

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 8, 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 Jun 10, 2026 8:21pm

Request Review

The `clerk init --prompt` print-only mode was removed (clerk/cli#241); agents now run `clerk init -y` for non-interactive setup. Caught by review alongside DOCS-11816.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@manovotny manovotny marked this pull request as ready for review June 8, 2026 20:27
@manovotny manovotny requested a review from a team as a code owner June 8, 2026 20:27

@djgould djgould left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me!

@SarahSoutoul

Copy link
Copy Markdown
Contributor

@manovotny One thing - noticed the Expo quickstart mentions clerk-expo-patterns but not clerk-expo? Do we need to add clerk-expo too there?

Screenshot 2026-06-10 at 1 34 00 pm

The Expo quickstart is a setup context, and clerk-expo is the Expo setup skill; clerk-expo-patterns is the advanced follow-on. Raised by review on #3427.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@manovotny

manovotny commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

@SarahSoutoul Good catch — verified against the repos: npx skills add clerk/skills installs the full bundle, so clerk-expo is already included functionally, but the call-out should name it since it's the Expo setup skill (exactly the quickstart context — clerk-expo-patterns is the advanced follow-on). Updated the nudge in this PR to mention both (4cebd19).

Related: clerk init --framework expo currently maps to clerk-expo-patterns only and never installs clerk-expo — upstream PR to fix (or confirm it's intentional): clerk/cli#328.

@SarahSoutoul SarahSoutoul self-assigned this Jun 10, 2026
@manovotny manovotny merged commit 6b6f353 into main Jun 11, 2026
8 checks passed
@manovotny manovotny deleted the manovotny/confused-silence branch June 11, 2026 17:20
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.

3 participants