Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

clerk-ci-integration

Skill by jeremylongshore

Configures Clerk authentication testing in CI with GitHub Actions and Playwright. It is for developers whose apps use Clerk and who want automated sign-in tests in their build pipeline.

  • Score 79
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install clerk-ci-integration

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clerk-ci-integration ~/.claude/skills/clerk-ci-integration

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install clerk-ci-integration in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Clerk CI Integration is a skill for Claude Code that sets up continuous integration for apps that use Clerk authentication. It provides a GitHub Actions workflow that passes Clerk keys from repository secrets, runs the build and tests, and installs Playwright with Chromium for end-to-end tests.

The skill also covers a Playwright auth setup that signs in a test user and saves the session state for reuse, a Playwright config with an authenticated project, sample E2E and Vitest tests, and a seed script that creates a CI test user through the Clerk backend SDK if it does not exist. It lists the GitHub secrets to add and includes an error table for common CI failures. It is aimed at developers who run Clerk-based apps on GitHub and want automated auth tests in their pipeline.

Written from the project's SKILL.md and checked against it.

What it can do

  • GitHub Actions workflowRuns the build, unit tests and Playwright tests on pull requests and pushes to main.
  • Playwright auth setupSigns in a test user through the sign-in form and saves the session state for reuse.
  • Playwright configDefines a setup project and an authenticated project that reuses the saved sign-in state.
  • E2E test examplesCovers dashboard access when signed in, redirects when signed out, and a protected API.
  • Test user seed scriptCreates the CI test user with the Clerk backend SDK if the user is not already there.
  • Vitest mock exampleShows how to mock the Clerk server auth helper in a unit test for a protected route.
  • CI secrets guideLists the GitHub secrets needed for Clerk keys, webhook secret and test user credentials.

What you need

  • GitHub repository with Actions enabled
  • Clerk test API keys (pk_test_ and sk_test_)
  • npm or pnpm project
  • Node.js 20 (set in the example workflow)

Try asking

  • Set up a GitHub Actions workflow that runs my Clerk E2E tests
  • Create a Playwright auth setup that saves a signed-in session
  • Write a seed script that creates my CI test user in Clerk

Good to know

  • Uses test keys from a Clerk dev instance, as the source describes
  • Sign-in steps rely on fixed selectors and URLs shown in the example

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/.curated/clerk-ci-integration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEditBash(gh:*)

  • SKILL.md7 KB
  • references/implementation-guide.md5 KB

Alternatives to clerk-ci-integration

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

clerk-ci-integration: common questions

Which GitHub secrets does the Clerk CI setup need?

The source lists CLERK_PK_TEST, CLERK_SK_TEST, CLERK_WEBHOOK_SECRET_TEST, CLERK_TEST_USER_EMAIL and CLERK_TEST_USER_PASSWORD. The Clerk keys come from the dev instance.

What do I do if the saved sign-in state goes stale?

The source says to delete the .auth/ directory and re-run the setup. This fixes an expired cached session.

Does the seed script create the test user automatically?

It first checks for a user with the CI test email. If none exists, it creates one with that email and the CI test password.

How do I install clerk-ci-integration?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is clerk-ci-integration free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is clerk-ci-integration safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.

What are alternatives to clerk-ci-integration?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

clerk-ci-integration Install

Add to stack

Loading.