Clerk

Clerk authentication integration for Astro/Next.js. Use when implementing authentication, handling Clerk middleware, testing with Playwright, or debugging auth issues. Trigger phrases include "Clerk auth", "sign in", "authentication", "middleware", "E2E testing with Clerk".

5 starsTesting & QA

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add wrsmith108/clerk-claude-skill --skill clerk
Manual install
git clone --depth 1 https://github.com/wrsmith108/clerk-claude-skill.git /tmp/clerk-claude-skill
mkdir -p ~/.claude/skills
cp -r /tmp/clerk-claude-skill/. ~/.claude/skills/clerk

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Clerk Authentication Skill

Comprehensive guide for implementing and testing Clerk authentication, with special focus on Astro SSR integration and Playwright E2E testing.

## Key Concepts

### Clerk Architecture in Astro

```
┌─────────────────────────────────────────────────────────────┐
│                    Browser (Client)                          │
│  ┌─────────────────────────────────────────────────────┐    │
│  │  Clerk Frontend SDK (@clerk/astro)                  │    │
│  │  - Manages client-side session state                │    │
│  │  - Provides <SignIn>, <UserButton> components       │    │
│  │  - Sets localStorage tokens                         │    │
│  └─────────────────────────────────────────────────────┘    │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│                    Server (Astro SSR)                        │
│  ┌─────────────────────────────────────────────────────┐    │
│  │  clerkMiddleware (@clerk/astro/server)              │    │
│  │  - Validates HTTPOnly session cookies               │    │
│  │  - Runs BEFORE any custom middleware logic          │    │
│  │  - Sets Astro.locals.auth()                         │    │
│  └─────────────────────────────────────────────────────┘    │
└─────────────────────────────────────────────────────────────┘
```
Read the full skill on GitHub

Details

Skill name
clerk
License
MIT
Repo updated
27 December 2025

FAQ

What does the Clerk skill do?

Clerk authentication integration for Astro/Next.js. Use when implementing authentication, handling Clerk middleware, testing with Playwright, or debugging auth issues. Trigger phrases include "Clerk auth", "sign in", "authentication", "middleware", "E2E testing with Clerk".

How do I install the Clerk skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add wrsmith108/clerk-claude-skill --skill clerk. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Clerk popular?

It lives in wrsmith108/clerk-claude-skill, which has 5 GitHub stars and 0 forks.

Related skills

Idea Autopsy

5

auracura/idea-autopsy

Stress-test a business idea — especially one an AI suggested — before anyone builds it. Use when the user says "autopsy this", "is this a business or bullshit", "test this idea", or pastes a startup/side-hustle idea and wants to know if it's real. Returns one of four verdicts: BUSINESS, BUSINESS WRONG OWNER (real idea, wrong constraints — says which), BULLETIN (it's really just content or information), or BULLSHIT, plus the smallest test that would prove it wrong. Built from a four-hour session in which an LLM pitched twelve businesses and eleven died.

Testing & QA

Bet on It

5

Lum1104/bet-on-it

Use when debugging or changing behavior based on an uncertain causal hypothesis that the next action can test.

Testing & QA

Lead Free Heat Resistant Ceramics

5

dungnotnull/lead-free-heat-resistant-ceramics-agent-skill

Lead-Free Heat-Resistant Ceramic Glaze & Body Formulation — Production-grade Ceramic Materials & Lead-Free Glaze Engineering analysis harness. Use this skill whenever analyzing ceramic materials, formulating lead-free glazes, designing clay bodies, evaluating thermal expansion fit, testing food-safety compliance, or recommending firing schedules. This skill provides evidence-backed, risk-disclosed analysis with authoritative sourcing.

Testing & QA

QA Engineering Suite

5

aks-builds/quality-skills

107 production-grade QA engineering skills covering frontend, API, performance, mobile, security, CI, and AI/LLM testing. Use when writing or reviewing Playwright, pytest, Jest, k6, Cypress, Newman, or JUnit tests, auditing test coverage, designing test data strategies, or building quality gates in CI pipelines.

Testing & QA

River Trash Boom Robot Design

5

dungnotnull/river-trash-boom-robot-design-agent-skill

Autonomous River Trash-Boom Design & Testing — Production-grade harness for Autonomous River Debris-Boom Robotics & Hydraulics evidence-backed analysis with real-time data aggregation, recognized domain methods, and self-improving knowledge pipeline.

Testing & QA

Douyin Doubao Analyzer

6

songlitong521-oss/douyin-doubao-analyzer

抖音视频链接 → 豆包内容分析。收到抖音视频链接(v.douyin.com 短链、www.douyin.com/video 链接、iesdouyin 分享链接或含链接的分享口令文本)且带分析需求时触发。豆包(doubao.com,抖音账号登录、免费)因背靠抖音数据管道,能解析其他 AI 无法解析的抖音视频内容;本技能负责:清洗并展开链接提取视频元信息 → 按场景生成两段式豆包提示词(先发口令触发视频识别,再在同一会话要结构化输出)→ 投喂豆包(人工粘贴为主,Playwright 半自动桥接为辅)→ 等豆包分析完成 → 回收返回内容做校验、去噪、结构化整理并落盘。适用:"帮我分析这个抖音链接""抖音视频总结""拆解这条抖音""抖音爆款分析""这个抖音视频讲了什么""用豆包分析抖音视频""抖音选题对标"等请求。只做个人创作学习参考,不批量抓取、不绕过平台限制。

Testing & QA

Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.