scaffold-api
CommunityScaffold safe Next.js API routes fast.
Authormanhthien2005
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you create new FixNow API endpoints consistently, with the right validation, authentication, database access, and error handling already patterned in place.
Core Features & Use Cases
- Route scaffolding: Generates Next.js App Router route handlers for common API methods like GET, POST, PATCH, and DELETE.
- Validation and auth: Applies zod input validation and NextAuth-based permission checks for customer, admin, or owner-only access.
- Database integration: Uses Drizzle ORM patterns for reading and writing data safely, including explicit column selection and transaction guidance.
- Use case: Add a new booking-related endpoint, such as a status update route or a parts lookup API, while keeping the code aligned with FixNow conventions.
Quick Start
Ask for a FixNow API route scaffold for your desired path, HTTP method, authentication level, and input schema.
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: scaffold-api Download link: https://github.com/manhthien2005/FixNow/archive/main.zip#scaffold-api 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 545,000+ vetted skills library on demand.