Skip to content
Prompt

template-hono-prisma-kysely — Cursor Rules

by constROD

AI Summary

The service layer is responsible for orchestrating business logic and coordinating data access operations. It sits between the UI (components, hooks) and the data access layer, providing a clear separation of concerns. Services should handle: 1. Orchestration of multiple data operations 2. Business

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "template-hono-prisma-kysely — Cursor Rules" prompt rules to my project.
Repository: https://github.com/constROD/template-hono-prisma-kysely

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Cursor Rules for template-hono-prisma-kysely

Purpose and Overview

The service layer is responsible for orchestrating business logic and coordinating data access operations. It sits between the UI (components, hooks) and the data access layer, providing a clear separation of concerns. Services should handle: • Orchestration of multiple data operations • Business logic implementation • Data transformation and validation • Error handling and logging

Service Layer Module Structure

` src/ ├── services/ # Shared service layer module │ └── [entity] └── [operation-entity-name].ts # Shared service implementations └── features/ └── [feature-name]/ └── _services/ # Feature-specific services └── [operation-entity-name].ts # Feature-specific service implementations `

Functions

• [operation][Entity]Service: For service functions (e.g., getFeatureFlagService, createUserService)

Types

• [Operation][Entity]ServiceArgs: Arguments for service functions • [Operation][Entity]ServiceDependencies: Dependencies for service functions • [Operation][Entity]ServiceResult: Return type for service functions (if needed)

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 4mo ago
Stale
AdoptionUnder 100 stars
62 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars62
Forks12
Issues0
Updated4mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more