api-endpoint-scaffold

Create API route files with authentication and integration tests.

32|7|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/jamesjlundin/full-stack-web-and-mobile-template --skill api-endpoint-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-endpoint-scaffold
Source: https://github.com/jamesjlundin/full-stack-web-and-mobile-template/tree/main/.claude/skills/api-endpoint-scaffold
Command: npx skills add https://github.com/jamesjlundin/full-stack-web-and-mobile-template --skill api-endpoint-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers bootstrap production-ready API endpoints quickly, aligning with the repo's conventions, including authentication, rate limiting, and tests to ensure reliability.

Core Features & Use Cases

  • Endpoint Scaffolding: Create a new route file at apps/web/app/api/{path}/route.ts following existing templates.
  • Security & Validation: Integrates authentication with getCurrentUser and standard input validation patterns.
  • Tests & Quality: Generates skeleton integration tests in packages/tests to ensure reliability and regression safety.

Quick Start

Create a GET endpoint at /api/users/profile with authentication and an accompanying integration test.