developing-serverpod-backend

developing-serverpod-backend is a skill for Claude Code, Codex from Poorgramer-Zack/dart-expert-skills. It costs 76 tokens per session (760 once invoked), scanned A, original, MIT.

A guide for building Dart backends with Serverpod, a framework for creating servers, APIs, and database-backed applications. It covers PostgreSQL, Redis, Docker, authentication, generated models, migrations, and deployment.

In plain words
What is it for?
Use it to define data models, create API endpoints, add authentication and caching, run database migrations, write server tests, and deploy with Docker to AWS or GCP.
Why use it?
It provides a structured way to share typed models between a server and its client while reducing repeated database and API code. It also brings common backend tasks into one Dart-based project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to define data models, create API endpoints, add authentication and caching, run database migrations, write server tests, and deploy with Docker to AWS or GCP.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/poorgramer-zack/dart-expert-skills/serverpod
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Poorgramer-Zack/dart-expert-skills --skill serverpod
Clone the repo
git clone --depth 1 https://github.com/Poorgramer-Zack/dart-expert-skills

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 developing-serverpod-backend

README.md
[![agentmods](https://agentmods.dev/badge/skills/poorgramer-zack/dart-expert-skills/serverpod/github.svg)](https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/serverpod)
Your own site
<a href="https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/serverpod"><img src="https://agentmods.dev/badge/skills/poorgramer-zack/dart-expert-skills/serverpod/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 developing-serverpod-backend

Your own site · 80×15
<a href="https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/serverpod"><img src="https://agentmods.dev/badge/skills/poorgramer-zack/dart-expert-skills/serverpod.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 760 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.00076 $0.00760
Opus 5 $0.00038 $0.00380
Sonnet 5 $0.00015 $0.00152
Haiku 4.5 $0.00008 $0.00076

Measured 11d ago against content hash 9bb841e83f12, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

developing-serverpod-backend 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 11d 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.

skills/serverpod/SKILL.md · 71 lines

How it starts

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

Serverpod Architecture & Development Guide

Overview

Serverpod splits projects into three modules: server, client, and shared. Models defined in .spy.yaml files generate type-safe Dart classes and database migrations via serverpod generate.


Process

High-Level Workflow

Phase 1: Research & Modeling

1.1 Understand Project Structure

Serverpod separates code into server, client, and shared modules. Endpoint logic lives in server; generated client code goes into client.

1.2 Define Data Models

Define database models using .spy.yaml files, then run serverpod generate to produce Dart classes and database migrations. Use explicit foreign key mappings for relational tables.


Phase 2: Implementation

2.1 Develop Endpoints

Implement business logic inside endpoint classes. Use session parameters for authentication context, built-in caching, and native JSON serialization.

2.2 Authentication & Caching

Use the serverpod_auth module for token-based authentication. Configure Redis for caching to reduce repeated database queries.

2.3 Database-less Backends (Serverpod Mini)

Use Serverpod Mini when you only need proxy/BFF endpoints without a PostgreSQL database.


Phase 3: Deployment

3.1 Docker & Production

Use docker-compose to orchestrate local and production environments. Configure environment variables for credentials and connection strings.

Read the full file on GitHub · 71 lines

Files

What ships with it

7 files 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. 11d ago First seen · 71 lines · 76 tokens per session scan A 9bb841e83f12

Subscribe to this mod's changes

developing-serverpod-backend is a skill published in the GitHub repository Poorgramer-Zack/dart-expert-skills (7 stars, last pushed 1mo ago), licensed MIT. It adds 76 tokens to every session and 760 once invoked, about $0.0004 per session on Opus 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

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

firebase-data-connect

Use when setting up Data Connect, writing GraphQL queries/mutations, configuring generated SDKs, handling offline, or applying security rules.

evanca/flutter-ai-rules · 31 tokens

nuxthub

Use when building NuxtHub v0.10.6 applications - provides database (Drizzle ORM with sqlite/postgresql/mysql), KV storage, blob storage, and cache APIs. Covers configuration, schema definition, migrations, multi-cloud deployment (Cloudflare, Vercel), and the new hub:db, hub:kv, hub:blob virtual module imports.

YuDefine/nuxt-supabase-starter · 78 tokens

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

fl-data-layer

Builds the data layer with Freezed DTOs, Retrofit clients, the storage-seam local data manager, and repositories wired through injectable.

phanbaohuy96/flutter_base_structure · 31 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