api-route-conventions
CommunityStandards for Next.js API routes and webhooks.
AuthorSanchay-T
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Expert knowledge on Next.js API route patterns, authentication with getAuthOrTest, error handling, response formats, rate limiting, and webhook verification.
Core Features & Use Cases
- Standard API Route Template: Example GET/POST patterns for /app/api/...
- Authentication Patterns: getAuthOrTest and bypass methods.
- Webhook Pattern: Stripe, QStash, Clerk.
- Validation & Logging: Zod patterns, structured logging.
Quick Start
Use the standard API template at /app/api/[feature]/route.ts and adjust for your endpoint.
Dependency Matrix
Required Modules
None requiredComponents
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: api-route-conventions Download link: https://github.com/Sanchay-T/influencer-platform-app/archive/main.zip#api-route-conventions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.