reservations-service

Community

Add and test reservation API endpoints fast.

Authormattbutlerengineering
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you safely extend the Reservations Service API so new routes (tables, reservations, availability, holds, and cancellations) follow the project’s Fastify + Prisma patterns and produce correct, well-documented behavior.

Core Features & Use Cases

  • Add new Fastify endpoints with consistent request/response typing and OpenAPI schema metadata.
  • Implement business logic in the correct service layer (e.g., src/services/table.ts or src/services/reservation.ts) using Prisma models like Table and Reservation.
  • Create tests for routes using Vitest with mocked service layers and JWT verification behavior.

Use Case Example: You need a new endpoint to return availability for a table during a specific time range; you’ll add the route, wire it to the appropriate service method, ensure auth is correct (required vs optional), update OpenAPI schema, and add a focused test for status codes and payload shapes.

Quick Start

Use the reservations-service skill to add an endpoint to the Reservations Service under services/reservations, including route schema, auth handling, service-layer logic, and route tests.

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: reservations-service
Download link: https://github.com/mattbutlerengineering/mattbutlerengineering/archive/main.zip#reservations-service

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 471,000+ vetted skills library on demand.