service

Generate TypeScript service layers and tests for backend resources.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/RyoOsaka/claude-code-template --skill service-ryoosaka
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: service
Source: https://github.com/RyoOsaka/claude-code-template/tree/main/examples/hono-backend/skills/service
Command: npx skills add https://github.com/RyoOsaka/claude-code-template --skill service-ryoosaka

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the generation of a complete service layer and related tests for a backend resource, eliminating boilerplate and ensuring consistent patterns across projects.

Core Features & Use Cases

  • Service scaffolding: creates service files (CRUD operations) and corresponding tests based on the resource name.
  • Type-safe templates: uses TypeScript types and Drizzle ORM to enforce consistent data access patterns.
  • Project integration: provides ready-to-wire integration points for routes and error handling in hono-backend style projects.

Quick Start

Provide the resource name to generate the complete service layer scaffold with tests.

Frequently Asked Questions about service

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a service layer with CRUD operations for a backend resource?

You can generate a service layer by providing the resource name to automatically scaffold fully wired CRUD service files, type-safe interfaces, error handling, and test templates in your backend project.

What is a repository pattern service layer in TypeScript backend projects?

A repository pattern service layer in TypeScript backend projects separates business logic from data access, providing type-safe interfaces and error handling for CRUD operations using Drizzle ORM.

Can I use this service layer generator with Drizzle ORM and TypeScript?

Yes, this service layer generator works specifically with backend projects using TypeScript and Drizzle ORM, applying repository pattern conventions to generate type-safe service files and tests.

How do I automate boilerplate CRUD service logic and test generation?

Automate boilerplate CRUD service logic and test generation by providing a resource name, which generates service files and corresponding tests with consistent data access patterns and error handling.

Does the generated service layer include test templates and error handling?

Yes, the generated service layer includes test templates and error handling, providing ready-to-wire integration points for routes with type-safe interfaces in hono-backend style projects.

What is the best way to scaffold consistent service files across multiple backend resources?

The best way to scaffold consistent service files across multiple backend resources is to automate generation by providing each resource name, ensuring uniform type-safe templates and error handling patterns.