agents: Skill for Claude Code

.agents/skills/backend-developer/SKILL.md

backend-developer is a skill for Claude Code, Codex from mtnyilmaz/agents. It costs 48 tokens per session (1,317 once invoked), scanned A, original, MIT.

A set of backend development practices for Fastify, tRPC, Prisma, PostgreSQL, Redis, and BullMQ. These are tools for APIs, databases, caching, and background jobs.

In plain words
What is it for?
Use it to build API routes, services, database queries, validation schemas, authentication flows, Redis-backed features, and BullMQ jobs.
Why use it?
It provides consistent patterns for separating routes, services, validation, database access, middleware, authentication, and queued work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is mtnyilmaz/agents's own configuration. It tells Claude Code and Codex how to work on agents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agents configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import type { RequestContext } from "../context";.

Reuse

Borrowing it

Nothing to install: this file belongs to mtnyilmaz/agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mtnyilmaz/agents/main/.agents/skills/backend-developer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mtnyilmaz/agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for backend-developer

README.md
[![agentmods](https://agentmods.dev/badge/skills/mtnyilmaz/agents/backend-developer/github.svg)](https://agentmods.dev/skills/mtnyilmaz/agents/backend-developer)
Your own site
<a href="https://agentmods.dev/skills/mtnyilmaz/agents/backend-developer"><img src="https://agentmods.dev/badge/skills/mtnyilmaz/agents/backend-developer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for backend-developer

Your own site · 80×15
<a href="https://agentmods.dev/skills/mtnyilmaz/agents/backend-developer"><img src="https://agentmods.dev/badge/skills/mtnyilmaz/agents/backend-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,317 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.01317
Opus 5.5 $0.00019 $0.00527
Sonnet 5.5 $0.00010 $0.00263
Haiku 4.5 $0.00005 $0.00132

Measured 1mo ago against content hash cd70b0715205, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

backend-developer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/backend-developer/SKILL.md · 189 lines

How it starts

The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Backend Developer

Expert in building production-grade backend APIs with the project's tech stack.

Layer References

Route→Service→Database architecture, tRPC router/service patterns, response format, and Zod schemas are covered in layers/project/typescript/service-layer.md and layers/project/typescript/architecture.md. This skill adds the step-by-step new-feature guide, middleware order, and BullMQ patterns not found in layers.

Creating a New Domain Feature

Step 1: Zod Schema (shared)

// packages/utils/src/validation/schemas.ts
export const createProductSchema = z.object({
  name: z.string().min(1),
  price: z.number().positive(),
  description: z.string().optional(),
});

Step 2: Service

// apps/api/src/services/product.service.ts
import { db } from "@repo/database";
import type { RequestContext } from "../context";

export const ProductService = {
  async create(input: CreateProductInput, ctx: RequestContext) {
    ctx.logger.info({ input }, "Creating product");
    return db.product.create({ data: input });
  },

  async getById(id: string, ctx: RequestContext) {
    const product = await db.product.findFirst({
      where: { id, deletedAt: null },
    });
    if (!product) throw new AppError("NOT_FOUND", t("errors.product_not_found"), 404);
    return product;
  },
};

Step 3: tRPC Router

// apps/api/src/routes/product.router.ts
import { router, protectedProcedure } from "../trpc";
import { createProductSchema } from "@repo/utils/validation";
import { ProductService } from "../services/product.service";

export const productRouter = router({
  create: protectedProcedure
    .input(createProductSchema)
    .mutation(({ input, ctx }) => ProductService.create(input, ctx)),

  getById: protectedProcedure
    .input(z.object({ id: z.string() }))
    .query(({ input, ctx }) => ProductService.getById(input.id, ctx)),
});

Step 4: Register Router

// apps/api/src/routes/index.ts
export const appRouter = router({
  auth: authRouter,
  user: userRouter,
  product: productRouter, // ← add here
});

Read the full file on GitHub · 189 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 189 lines · 48 tokens per session scan A cd70b0715205

Subscribe to this mod's changes

backend-developer is a skill published in the GitHub repository mtnyilmaz/agents (6 stars, last pushed 5mo ago), licensed MIT. It adds 48 tokens to every session and 1,317 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

vercel-storage

Vercel storage expert guidance — Blob, Global Config (formerly Edge Config), and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing, configuring, or using data storage with Vercel applications.

vercel/vercel-plugin · 49 tokens

developing-serverpod-backend

Develops full-stack Dart backends using the Serverpod framework with PostgreSQL, Redis, and Docker. Use when building type-safe API endpoints, defining YAML data models, configuring Serverpod auth, writing server-side tests, running database migrations, deploying to Docker/AWS/GCP, or using Serverpod Mini for…

Poorgramer-Zack/dart-expert-skills · 76 tokens

laravel-infrastructure

Laravel Horizon queues, Octane performance, Reverb WebSockets, Redis caching, PostgreSQL database. ALWAYS activate when: working with queue jobs, cache, sessions, broadcasting, database performance, supervisor, worker. Triggers on: job failed, queue stuck, cache not clearing, Redis connection, broadcast event…

anilcancakir/my-claude-code · 127 tokens

butterbase

AI-native, open-source backend-as-a-service with a built-in Model Context Protocol server. Postgres, auth, storage, functions, AI gateway.

butterbase-ai/butterbase · 34 tokens

supabase

Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies…

supabase/agent-skills · 185 tokens

haven-db

Reset, reseed, locate and prune a haven stack's databases with haven db, and know which verbs destroy data. Use when someone says 'haven db', 'reset the database', 'drop the database', 'reseed in place', 'db preset', 'demo preset', 'database url', 'connection string for postgres', 'haven db prune', 'haven seed'…

langwatch/langwatch · 116 tokens