Back to skills
SKILL.md
Backend Patterns Grmkris
ASecurityBackend 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
Works with
Security analysis
100/100npx -y skills add diegosouzapw/awesome-omni-skill --skill backend-patterns-grmkris --agent claude-codeAre you the author of Backend Patterns Grmkris?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/diegosouzapw-backend-patterns-grmkris)---
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
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.