clerk-monorepo
Skill by clerk
Guides AI assistants through work in the clerk/javascript SDK monorepo. It is for developers setting up the repo, running builds and tests, writing changesets and commits, and checking breaking changes.
Install clerk-monorepo
Built from the published package, never by AI.
git clone --depth 1 https://github.com/clerk/javascript /tmp/javascript && mkdir -p ~/.claude/skills && cp -r /tmp/javascript/.claude/skills/clerk-monorepo ~/.claude/skills/clerk-monorepoRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/clerk/javascript /tmp/javascript && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/javascript/.claude/skills/clerk-monorepo ~/.gemini/antigravity-cli/skills/clerk-monorepoAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This is a how-to skill for the clerk/javascript monorepo, which holds Clerk's @clerk/* packages under packages/. It is managed with pnpm workspaces and Turborepo. The skill covers the setup order, a package map showing where each change belongs, dev-loop commands for building and testing single packages, and the repo's hard rules.
The skill restates rules from the repo's AGENTS.md file and says AGENTS.md wins if they disagree. It explains how to write changeset files by hand, how conventional commit PR titles are checked, and how to answer a breaking-change checklist for clerk-js and ui. It is aimed at contributors to the Clerk SDK monorepo.
Written from the project's SKILL.md and checked against it.
What it can do
- Repo setupWalks through Node version, corepack, pnpm install from the root, and the first build.
- Package mapLists the main @clerk/* packages and when to change each one.
- Dev-loop commandsGives pnpm and turbo commands to build, watch, and test one package or file.
- Changeset writingExplains where to place changeset files and what format they use.
- Commit and PR rulesDescribes the conventional commit PR title rule and the PR flow from branch to open PR.
- Breaking-change checkGives a short checklist for deciding whether a clerk-js or ui change is breaking.
- Bundle size fixesExplains how to handle a failing bundlewatch CI job for clerk-js or ui.
What you need
- Node.js >=24.15.0 (pinned in .nvmrc)
- corepack enabled for pnpm
- pnpm, installed through corepack
Try asking
- Walk me through setting up the clerk/javascript repo from scratch
- Which @clerk package should I change to fix a middleware CSP header?
- Write a changeset for a patch to @clerk/nextjs
Good to know
- npm and yarn are blocked by the repo's preinstall hook.
- Changeset CLI commands are interactive, so changeset files must be written by hand.
- AGENTS.md in the repo is the authority if it disagrees with this skill.
- Bundle size limit increases above 10KB need to be flagged to the user before committing.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/clerk-monorepo/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to clerk-monorepo
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
clerk-monorepo: common questions
Which Node version does the clerk/javascript monorepo need?
The skill says Node >=24.15.0 is pinned in .nvmrc. It notes that a wrong Node version is a common cause of cryptic module errors.
Can I use npm or yarn in this repo?
No. The skill says the preinstall hook runs only-allow pnpm, so npm and yarn are hard-blocked.
Does every PR need a changeset?
Yes, the skill says every PR needs a changeset. CI runs pnpm changeset status --since=origin/main and fails PRs that are missing one.
How do I install clerk-monorepo?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is clerk-monorepo free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is clerk-monorepo safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to clerk-monorepo?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
