Skip to content

chore(repo): auto-enable clerk-monorepo skill via SessionStart hook#8962

Open
jacekradko wants to merge 1 commit into
mainfrom
jacek/auto-enable-clerk-monorepo-skill
Open

chore(repo): auto-enable clerk-monorepo skill via SessionStart hook#8962
jacekradko wants to merge 1 commit into
mainfrom
jacek/auto-enable-clerk-monorepo-skill

Conversation

@jacekradko

@jacekradko jacekradko commented Jun 23, 2026

Copy link
Copy Markdown
Member

Every Claude Code session in this repo now invokes the clerk-monorepo skill automatically. A SessionStart hook in .claude/settings.json injects a one-line instruction pointing at the skill, which documents the pnpm + turbo dev loop, the package map, and the changeset/commit/PR rules. There is no settings flag to force a skill always-on, so a SessionStart hook is the supported way to make it consistent across sessions and contributors. Empty changeset since this is repo tooling with no package impact.

Summary by CodeRabbit

  • Chores
    • Updated internal tooling and build configuration files.

@changeset-bot

changeset-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f0c90f8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment Jun 23, 2026 2:38am
swingset Ready Ready Preview, Comment Jun 23, 2026 2:38am

Request Review

@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Repository UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 751bd9c5-453a-4bfc-954b-db5c196bb2be

📥 Commits

Reviewing files that changed from the base of the PR and between 52d310c and f0c90f8.

📒 Files selected for processing (2)
  • .changeset/auto-enable-clerk-monorepo-skill.md
  • .claude/settings.json

📝 Walkthrough

Walkthrough

Adds a SessionStart hook to .claude/settings.json that emits a JSON payload with hookSpecificOutput describing the clerk/javascript SDK monorepo context and contribution rules. A new changeset file documents this addition.

Changes

Claude Monorepo Skill Auto-Enable

Layer / File(s) Summary
SessionStart hook and changeset entry
.claude/settings.json, .changeset/auto-enable-clerk-monorepo-skill.md
Inserts a top-level hooks section with a SessionStart entry that runs a shell echo command producing a JSON hookSpecificOutput payload containing hookEventName: "SessionStart" and additionalContext for the clerk/javascript SDK monorepo. The changeset file records this addition.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • clerk/javascript#8769: Directly related — adds the clerk-monorepo Claude Code skill and docs that this PR's SessionStart hook is designed to auto-enable by emitting the skill's session context.

Suggested reviewers

  • alexcarpenter

Poem

🐇 Hop, hop, a hook takes flight,
At session start, context shines bright.
The monorepo secrets, echoed in JSON,
Claude wakes up knowing just what's going on!
A changeset to mark this bunny's small deed. 🌟

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding a SessionStart hook to auto-enable the clerk-monorepo skill, which aligns with both file modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Jun 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@8962

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@8962

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@8962

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@8962

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@8962

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@8962

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@8962

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@8962

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@8962

@clerk/express

npm i https://pkg.pr.new/@clerk/express@8962

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@8962

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@8962

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@8962

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@8962

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@8962

@clerk/react

npm i https://pkg.pr.new/@clerk/react@8962

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@8962

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@8962

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@8962

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@8962

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@8962

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@8962

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@8962

commit: f0c90f8

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