Backend Dev Guidelines
langfuse/langfuse
Build or review Langfuse backend code. An agent skill from langfuse/langfuse.
Type flow patterns for tRPC + Prisma monorepos. An agent skill from bitovi/ai-enablement-prompts.
$ npx skills add bitovi/ai-enablement-prompts --skill cross-package-types -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install bitovi/ai-enablement-prompts cross-package-types --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/bitovi/ai-enablement-prompts.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/trpc-prisma/skills/cross-package-types .claude/skills/cross-package-types && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cross-package-types" agent skill from https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/trpc-prisma/skills/cross-package-types into .claude/skills/cross-package-types/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cross-package-types", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/trpc-prisma/skills/cross-package-typesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add bitovi/ai-enablement-prompts --skill cross-package-types -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install bitovi/ai-enablement-prompts cross-package-types --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bitovi/ai-enablement-prompts.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/trpc-prisma/skills/cross-package-types .agents/skills/cross-package-types && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cross-package-types" agent skill from https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/trpc-prisma/skills/cross-package-types into .agents/skills/cross-package-types/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cross-package-types", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bitovi/ai-enablement-prompts --skill cross-package-types -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install bitovi/ai-enablement-prompts cross-package-types --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bitovi/ai-enablement-prompts.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/trpc-prisma/skills/cross-package-types .cursor/skills/cross-package-types && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cross-package-types" agent skill from https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/trpc-prisma/skills/cross-package-types into .cursor/skills/cross-package-types/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cross-package-types", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/bitovi/ai-enablement-prompts.git --path plugins/trpc-prisma/skills/cross-package-types--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add bitovi/ai-enablement-prompts --skill cross-package-types -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install bitovi/ai-enablement-prompts cross-package-types --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bitovi/ai-enablement-prompts.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/trpc-prisma/skills/cross-package-types .gemini/skills/cross-package-types && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cross-package-types" agent skill from https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/trpc-prisma/skills/cross-package-types into .gemini/skills/cross-package-types/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cross-package-types", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install bitovi/ai-enablement-prompts cross-package-typesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add bitovi/ai-enablement-prompts --skill cross-package-types -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/bitovi/ai-enablement-prompts.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/trpc-prisma/skills/cross-package-types .github/skills/cross-package-types && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cross-package-types" agent skill from https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/trpc-prisma/skills/cross-package-types into .github/skills/cross-package-types/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cross-package-types", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bitovi/ai-enablement-prompts --skill cross-package-types -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install bitovi/ai-enablement-prompts cross-package-types --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bitovi/ai-enablement-prompts.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/trpc-prisma/skills/cross-package-types .opencode/skills/cross-package-types && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cross-package-types" agent skill from https://github.com/bitovi/ai-enablement-prompts/tree/main/plugins/trpc-prisma/skills/cross-package-types into .opencode/skills/cross-package-types/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cross-package-types", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cross-package-typesType flow patterns for tRPC + Prisma monorepos. An agent skill from bitovi/ai-enablement-prompts.
Cross Package Types is an agent skill from bitovi/ai-enablement-prompts. Type flow patterns for tRPC + Prisma monorepos. Covers AppRouter type inference across shared, server, and client packages. Use when setting up types, fixing type errors across packages, or understanding the type chain.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering gRPC and Protobuf, ORMs and data access and Monorepo tooling. It works with tRPC, Prisma and Zod. The repository describes itself as: Prompts Bitovi uses for software development. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit df229b1. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cross Package Types loads about 1.1k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 181 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from bitovi/ai-enablement-prompts at commit df229b1, republished under its MIT licence (© bitovi). 181 words, ~1,109 tokens.
.claude/skills/cross-package-types/SKILL.md (or your agent's skills folder).Defines how TypeScript types flow through a monorepo with tRPC and Prisma.
Prisma Schema → Prisma Client Types → Zod Schemas → tRPC Routers → Client Type Inference| Package | Owns | Exports |
|---|---|---|
| shared | Zod schemas, enums, constants | Schemas for both server and client |
| server | tRPC routers, Prisma client | AppRouter type |
| client | React components, tRPC hooks | Consumes AppRouter type |
.pick(), .omit(), .extend() on base schemasThe shared package has two entry points:
// package.json
{
"exports": {
"./server": "./src/server/index.ts", // Server-only: Prisma, DB utils
".": "./src/index.ts" // Browser-safe: Zod schemas, types, constants
}
}// shared/src/schemas/user.ts
import { z } from 'zod';
// Base schema matching Prisma model
export const UserSchema = z.object({
id: z.string().uuid(),
email: z.string().email(),
name: z.string().min(1),
role: z.enum(['ADMIN', 'USER', 'VIEWER']),
createdAt: z.date(),
updatedAt: z.date(),
});
// Auto-managed fields
const PRISMA_AUTO_FIELDS = ['id', 'createdAt', 'updatedAt'] as const;
// Input schema (for create)
export const CreateUserSchema = UserSchema.omit(
Object.fromEntries(PRISMA_AUTO_FIELDS.map(f => [f, true])) as Record<string, true>
);
// Update schema (partial, without auto fields)
export const UpdateUserSchema = CreateUserSchema.partial();
// Form schema (client-friendly, no server-only fields)
export const UserFormSchema = UserSchema.pick({
email: true,
name: true,
role: true,
});
export type User = z.infer<typeof UserSchema>;
export type CreateUserInput = z.infer<typeof CreateUserSchema>;
export type UpdateUserInput = z.infer<typeof UpdateUserSchema>;// server/src/routers/user.ts
import { router, protectedProcedure } from '../trpc';
import { CreateUserSchema, UpdateUserSchema } from '@myapp/shared';
import { prisma } from '@myapp/shared/server';
export const userRouter = router({
list: protectedProcedure.query(async () => {
return prisma.user.findMany();
}),
create: protectedProcedure
.input(CreateUserSchema)
.mutation(async ({ input }) => {
return prisma.user.create({ data: input });
}),
update: protectedProcedure
.input(z.object({ id: z.string().uuid(), data: UpdateUserSchema }))
.mutation(async ({ input }) => {
return prisma.user.update({ where: { id: input.id }, data: input.data });
}),
});// server/src/routers/index.ts
import { router } from '../trpc';
import { userRouter } from './user';
export const appRouter = router({
user: userRouter,
});
export type AppRouter = typeof appRouter;// client/src/utils/trpc.ts
import { createTRPCReact } from '@trpc/react-query';
import type { AppRouter } from '@myapp/server';
export const trpc = createTRPCReact<AppRouter>();// client/src/components/UserList.tsx
import { trpc } from '../utils/trpc';
export function UserList() {
const { data: users } = trpc.user.list.useQuery();
// `users` is fully typed as User[] automatically
}any to silence cross-package type errorstype imports: import type { AppRouter } from '@myapp/server'© bitovi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/trpc-prisma/skills/cross-package-types of bitovi/ai-enablement-prompts.
Open the folder on GitHubat commit df229b1
Cross Package Types next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cross Package Types this skillbitovi/ai-enablement-prompts | 121 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Backend Dev Guidelineslangfuse/langfuse | 36k | — | ~1.9k | Automated safety check: Pass | Custom licence | |
| Better Drizzlealmeidazs/better-drizzle | 348 | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Codebase Contexthomarr-labs/homarr | 5k | — | ~679 | Automated safety check: Pass | Apache-2.0 | |
| Backend Dev Guidelineslitefuse/litefuse | 100 | 1 repos | ~5.8k | Automated safety check: Pass | Custom licence | |
| Node Backend Development Guidelinesdiet103/claude-code-infrastructure-showcase | 10k | 2 repos | ~2k | Automated safety check: Pass | MIT |
langfuse/langfuse
Build or review Langfuse backend code. An agent skill from langfuse/langfuse.
almeidazs/better-drizzle
Write, review, and debug code that uses better-drizzle, the typed repository layer over Drizzle ORM 1.x (better(db), client.users.findMany, paginate, cursor, upsertMany, relation include/connect…
homarr-labs/homarr
Navigate Homarr's monorepo architecture and reuse shared packages.
litefuse/litefuse
Comprehensive backend development guide for Litefuse's Next.js 14/tRPC/Express/TypeScript monorepo.
diet103/claude-code-infrastructure-showcase
Sets layered architecture and coding rules for Node.js, Express and TypeScript microservices, covering routes, controllers, services, repositories, Prisma, Sentry and Zod.
trycompai/crm
Build end-to-end type-safe tRPC APIs inside NestJS using the nestjs-trpc adapter — @Router/@Query/@Mutation/@Subscription decorators, TRPCModule.forRoot, injectable middlewares and context, Zod…
bitovi/ai-enablement-prompts
Track reusable UI components and unextracted patterns. An agent skill from bitovi/ai-enablement-prompts.
bitovi/ai-enablement-prompts
Extract and compare computed CSS styles between a baseline URL and a dev/Storybook URL using Playwright MCP evaluate calls.
bitovi/ai-enablement-prompts
A skill your agent uses when the user asks to "create a plugin", "add a plugin", "make a new plugin", "build a plugin", or wants to package skills into an installable plugin for this marketplace.
bitovi/ai-enablement-prompts
Create React components, hooks, or utilities following the modlet pattern.
bitovi/ai-enablement-prompts
A skill your agent uses when the user asks to "create a skill", "add a skill", "make a new skill", "build a skill", or wants to automate a repeated workflow into a reusable prompt.
bitovi/ai-enablement-prompts
Create new Agent Skills for this project. An agent skill from bitovi/ai-enablement-prompts.
Categories
Type flow patterns for tRPC + Prisma monorepos. An agent skill from bitovi/ai-enablement-prompts. Cross Package Types is an agent skill from bitovi/ai-enablement-prompts. Type flow patterns for tRPC + Prisma monorepos.
Cross Package Types fits situations like: setting up types; fixing type errors across packages; understanding the type chain.
Run `npx skills add bitovi/ai-enablement-prompts --skill cross-package-types -a claude-code`. Or copy the skill folder (plugins/trpc-prisma/skills/cross-package-types in bitovi/ai-enablement-prompts) into .claude/skills/cross-package-types in your project. Claude Code loads it when a task matches its description.
Run `npx skills add bitovi/ai-enablement-prompts --skill cross-package-types -a codex`. Or copy the skill folder (plugins/trpc-prisma/skills/cross-package-types in bitovi/ai-enablement-prompts) into .agents/skills/cross-package-types in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bitovi/ai-enablement-prompts --skill cross-package-types -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cross-package-types, .gemini/skills/cross-package-types, .github/skills/cross-package-types and .opencode/skills/cross-package-types in your project.
SKILL.md names no scripts, command-line tools or credentials: Cross Package Types is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cross Package Types is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cross Package Types: Backend Dev Guidelines (langfuse/langfuse, 36k stars), Better Drizzle (almeidazs/better-drizzle, 348 stars), Codebase Context (homarr-labs/homarr, 5k stars) and Backend Dev Guidelines (litefuse/litefuse, 100 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
bitovi (a GitHub organization) maintains it in bitovi/ai-enablement-prompts, which has 121 GitHub stars. The repository holds 40 skills in this directory. The repository was last updated on September 11, 2026.
Source: bitovi/ai-enablement-prompts on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.