clerk-hono

Community

Secure Hono apps with Clerk auth.

Authormorgs32
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers integrate Clerk authentication into Hono-based applications, enabling route protection and consistent access to userId and orgId in handlers.

Core Features & Use Cases

  • Middleware integration: apply clerkMiddleware() to protected routes to enforce login and session validation.
  • Auth data access: use getAuth(c) in handlers to retrieve userId and orgId and respond accordingly.
  • API key support: optionally verify Clerk API keys for machine-to-machine access and admin operations.
  • Use Case: secure endpoints across typical Hono apps and services that require authenticated user context.

Quick Start

Install the @hono/clerk-auth package, configure Clerk keys in your environment, apply clerkMiddleware to routes, and read authentication data with getAuth in handlers.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: clerk-hono
Download link: https://github.com/morgs32/skills/archive/main.zip#clerk-hono

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.