Skip to content
Back to skills

Backend Patterns Grmkris

ASecurity

Backend patterns for ORPC routers, Drizzle schemas, and server-side code. Use when creating API endpoints, database tables, or services.

  • 57 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 17, 2026
databasessqlapidatabasebackend

Works with

  • api

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill backend-patterns-grmkris --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Backend Patterns Grmkris?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Backend Patterns Grmkris
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-backend-patterns-grmkris/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-backend-patterns-grmkris)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: backend-patterns
description: Backend patterns for ORPC routers, Drizzle schemas, and server-side code. Use when creating API endpoints, database tables, or services.
globs:
  - src/server/**/*.ts
  - src/db/**/*.ts
  - src/app/api/**/*.ts
alwaysApply: false
---

# Backend Patterns

Use these patterns when creating API endpoints, database schemas, or server-side logic.

## When to Use

- Creating new ORPC router procedures
- Adding database tables or schema changes
- Implementing server-side business logic
- Adding authentication/authorization logic

## Key Files

- `src/server/create-api.ts` - API factory with dependency injection
- `src/server/context.ts` - Request context with session and db
- `src/server/index.ts` - Procedure definitions (publicProcedure, protectedProcedure)
- `src/server/routers/index.ts` - Router definitions
- `src/db/schema/` - Table definitions

## Pattern Files

- [schema.md](schema.md) - SQLite schema patterns
- [router.md](router.md) - ORPC router patterns
- [service.md](service.md) - Service factory patterns

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.