Claude Marketplaces
SkillsMCP serversMarketplacesPluginsDigestToolsAdvertise
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Plugins
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index
  • Plugin index

Site

  • About
  • Tools
  • Submit
  • Advertise
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
by Mert Düzgün
Skills/Frontend Development
bobmatnyc avatar

Validated Handler

bobmatnyc/claude-mpm-skills

Wraps Next.js App Router API routes with automatic Zod validation so you stop writing the same 30 lines of query parsing and error handling in every endpoint. You define a Zod schema, specify if it's validating query params or body, and get back fully typed input with consistent 400 responses when validation fails. Especially useful if you're building pagination across multiple routes since you can share schemas like paginationInputSchema and eliminate the manual coercion and range checking. The pattern shines when you have dozens of routes and want uniform error formats without boilerplate.

skills.sh installs
330
GitHub stars
78
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill validated-handler --agent claude-code

Installs into .claude/skills of the current project.

Files

Next.js Validated Handler Pattern

Type-safe API route handler with automatic Zod validation for Next.js App Router.

When to Use This Skill

Use this skill when:

  • Building Next.js API routes (App Router)
  • Want automatic input validation with Zod
  • Need consistent error handling across API routes
  • Want to eliminate boilerplate validation code
  • Building type-safe APIs with TypeScript

The Problem

Without a validated handler, every API route has repetitive validation code:

// ❌ REPETITIVE - Every route looks like this
export async function GET(request: NextRequest) {
  try {
    // 1. Parse query params
    const { searchParams } = new URL(request.url);
    const rawPage = searchParams.get('page');
    const rawLimit = searchParams.get('limit');

    // 2. Validate each param manually
    if (!rawPage || isNaN(Number(rawPage))) {
      return NextResponse.json(
        { error: 'Invalid page parameter' },
        { status: 400 }
      );
    }

    if (!rawLimit || isNaN(Number(rawLimit))) {
      return NextResponse.json(
        { error: 'Invalid limit parameter' },
        { status: 400 }
      );
    }
SKILL.md on GitHub

Sponsors

This spot is openSlot 1$1,200/mo Advertise hereThis spot is openSlot 2$1,000/mo Advertise hereSnugSponsoredThe clipboard manager you and your agent can use, safelyknobsSponsoredSee your site on any phone, any day, in any languageAgent CaffeineSponsoredClose your lid, come back to finished workThis spot is openSlot 6$500/mo Advertise hereThis spot is openSlot 7$500/mo Advertise hereWaxSponsoredBlock anything with supervision, without erasing your iPhone

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Categories
Frontend Development, Backend & APIs
First seen
Jun 3, 2026

More from bobmatnyc/claude-mpm-skills

All 158
  • Bad Example Skill327
  • Emergency Release Workflow326
  • Digitalocean Teams325
  • Vector Search Workflows322
  • Vercel Storage Data322
  • Example Framework Skill321
  • Vercel Teams Billing318
  • Spring Boot317
  • Rust Desktop Applications263
  • Api Security Review257
  • Anthropic Sdk254
  • Testing Anti Patterns224
  • Root Cause Tracing214
  • Mcp206
  • Tauri Event System203
  • Condition Based Waiting197
  • Mcp Builder188
  • Writing Plans185
  • Dispatching Parallel Agents183
  • Webapp Testing Patterns181
  • Requesting Code Review180
  • Langchain Framework165
  • Django Framework159
  • React State Machines158

Recommended

More Frontend Development
1figma avatarfigma-code-connect-componentsfigma/mcp-server-guideConnects Figma design components to code components using Code Connect mapping tools. Use when user says "code connect", "connect this component to code", "map 330skills.sh installs
2tech-leads-club avatarperf-lighthousetech-leads-club/agent-skillsRun Lighthouse audits locally via CLI or Node API, parse and interpret reports, and set performance budgets. Use when measuring site performance, understanding 330skills.sh installs
3wix avatarwds-docswix/skillsWix Design System component reference. Use when building UI with @wix/design-system, choosing components, or checking props and examples. Triggers on "what comp329skills.sh installs
4dirien avatarpulumi-typescriptdirien/claude-skillsScaffolds Pulumi TypeScript infrastructure-as-code projects, writes IaC code with proper resource configuration, manages Pulumi ESC environments for centralized328skills.sh installs
5jezweb avatarazure-authjezweb/claude-skillsMicrosoft Entra ID (Azure AD) authentication for React SPAs with MSAL.js and Cloudflare Workers JWT validation using jose library. Full-stack pattern with Autho327skills.sh installs
6thedivergentai avatargodot-compositionthedivergentai/gd-agentic-skillsExpert architectural standards for building scalable Godot GAMES (RPGs, Platformers, Shooters) using the Composition pattern (Entity-Component). Use when design326skills.sh installs