Skip to content

Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.

Add clerk-auth to README and mark complete in roadmap

Jez1ffbde33947a
diff --git a/README.md b/README.md
index 1cf571d8..070da8be 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ Skills will be symlinked to `~/.claude/skills/`. Claude Code will automatically
---
-## πŸ“¦ Available Skills (15 Production-Ready)
+## πŸ“¦ Available Skills (16 Production-Ready)
### Cloudflare Core Infrastructure
@@ -115,6 +115,15 @@ Deploy Next.js (App Router/Pages) to Cloudflare Workers with OpenNext adapter. P
---
+### Authentication
+
+#### **clerk-auth**
+Complete Clerk authentication for React, Next.js, and Cloudflare Workers with JWT verification. Prevents 10 documented errors.
+
+**Triggers**: `clerk auth`, `clerk`, `@clerk/nextjs`, `@clerk/backend`, `JWT verification`
+
+---
+
### AI & Machine Learning
#### **ai-sdk-core**
@@ -344,8 +353,8 @@ Using skills vs manual setup (measured across 15 production skills):
| **Average Tokens** | 12,000-15,000 | 4,000-5,000 | **~67%** |
| **Typical Errors** | 2-4 per service | 0 (prevented) | **100%** |
| **Setup Time** | 2-4 hours | 15-45 minutes | **~80%** |
-| **Total Skills** | - | 15 production-ready | - |
-| **Errors Prevented** | - | 131 documented | - |
+| **Total Skills** | - | 16 production-ready | - |
+| **Errors Prevented** | - | 141 documented | - |
### Real Examples:
diff --git a/planning/skills-roadmap.md b/planning/skills-roadmap.md
index f187a55d..70dec2cb 100644
--- a/planning/skills-roadmap.md
+++ b/planning/skills-roadmap.md
@@ -511,25 +511,39 @@ Result: Integrated solution from atomic skills
---
#### 10. clerk-auth
-**Status**: Planned
+**Status**: βœ… Complete (2025-10-22)
**Priority**: Critical
**Dependencies**: None (works across frameworks)
-**Estimated Dev Time**: 5 hours
-**Token Savings**: ~60%
+**Actual Dev Time**: 6 hours
+**Token Savings**: ~67%
+**Errors Prevented**: 10
**What It Does**:
-- Complete Clerk knowledge domain
-- React integration patterns
-- Next.js integration
-- Cloudflare Workers JWT verification
+- Complete Clerk authentication for React, Next.js, Cloudflare Workers
+- JWT verification with @clerk/backend
+- Custom JWT templates and claims extraction
+- Protected routes and middleware patterns
+- User metadata and session management
+- Organization permissions and RBAC
+- shadcn/ui integration with Clerk components
+- Webhook signature verification
+
+**Files Created**:
+- README.md (comprehensive auto-trigger keywords)
+- SKILL.md (complete guide with all frameworks)
+- Templates for React, Next.js, Cloudflare Workers
+- JWT verification examples
- Custom JWT templates
-- User metadata extraction
-- Session management
-- Works across all frameworks
+- Protected route patterns
+- Webhook handlers
+
+**Production Validated**: Multiple framework implementations tested
**Auto-Trigger Keywords**:
-- `clerk auth`, `clerk`, `clerk react`, `clerk nextjs`
-- `clerk cloudflare`, `jwt verification`, `clerk jwt`
+- `clerk auth`, `clerk`, `@clerk/nextjs`, `@clerk/backend`, `@clerk/clerk-react`
+- `clerkMiddleware`, `verifyToken`, `JWT verification`, `protected routes`
+- `useUser`, `useAuth`, `SignInButton`, `UserButton`, `custom JWT claims`
+- Error keywords: `Missing Clerk Secret Key`, `Invalid session token`, `Clerk webhook failed`
---
@@ -907,9 +921,9 @@ Calculate:
## πŸ“ˆ Progress Tracking
### Overall Progress:
-- **Completed**: 15 skills βœ…
+- **Completed**: 16 skills βœ…
- **Batch 1 - Cloudflare Foundation**: 9/9 complete (100%) 🎯
-- **Batch 2 - AI SDK & Auth**: 2/6 complete (33%)
+- **Batch 2 - AI SDK & Auth**: 3/6 complete (50%)
- **Batch 3 - Cloudflare Advanced**: 2/6 complete (33%) 🎯
- **Batch 4 - Data & Utilities**: 0/2 complete (0%)
@@ -931,7 +945,7 @@ Calculate:
| **ai-sdk-core** | **βœ… Complete** | **6h** | **~58%** | **12** | Critical |
| **ai-sdk-ui** | **βœ… Complete** | **6h** | **~55%** | **12** | Critical |
| **cloudflare-durable-objects** | **βœ… Complete** | **8h** | **~66%** | **18** | Critical |
-| clerk-auth | Planned | 5h (est.) | ~60% | - | Critical |
+| **clerk-auth** | **βœ… Complete** | **6h** | **~67%** | **10** | Critical |
| hono-routing | Planned | 4h (est.) | ~55% | - | High |
| react-hook-form-zod | Planned | 4h (est.) | ~60% | - | High |
| **cloudflare-workflows** | **βœ… Complete** | **4h** | **~67%** | **5** | Critical |
@@ -942,7 +956,7 @@ Calculate:
| tanstack-query | Planned | 4h (est.) | ~55% | - | Medium |
| drizzle-orm-d1 | Planned | 5h (est.) | ~60% | - | Low |
-**Total Skills Planned**: 23 (15 complete, 8 to build)
+**Total Skills Planned**: 23 (16 complete, 7 to build)
---
@@ -1053,6 +1067,6 @@ A skill is considered "complete" when:
---
-**Last Updated**: 2025-10-22 (Completed cloudflare-workflows skill - 15/23 skills complete)
+**Last Updated**: 2025-10-22 (Updated: clerk-auth + cloudflare-workflows marked complete - 16/23 skills complete, 70% done)
**Next Review**: 2025-10-28
**Maintainer**: Jeremy Dawes | [email protected]