Serverpod
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 database-less BFF proxy endpoints.From its SKILL.md
npx -y skills add Poorgramer-Zack/dart-expert-skills --skill serverpodAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 7 stars7 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.5 KB, 652 tokens by cl100k_base, as published. Nobody here has run it
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.
- Core Architecture & Models Guide - YAML model definitions, project structure, and relationship mapping.
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.
- Endpoints & Database Guide - Typed ORM queries, transactions, and API endpoint patterns.
2.2 Authentication & Caching
Use the serverpod_auth module for token-based authentication. Configure Redis for caching to reduce repeated database queries.
- Authentication & Caching Guide -
serverpod_authsetup, endpoint protection, and Redis caching.
2.3 Database-less Backends (Serverpod Mini)
Use Serverpod Mini when you only need proxy/BFF endpoints without a PostgreSQL database.
- Serverpod Mini Guide - Lightweight API routing without database dependencies.
Phase 3: Deployment
3.1 Docker & Production
Use docker-compose to orchestrate local and production environments. Configure environment variables for credentials and connection strings.
- Deployment & Docker Guide - Production Dockerfiles, AWS/GCP deployment, environment configuration.
Reference Files
Documentation Library
Core Framework (Load First)
- Serverpod Overview - Setup, project structure, and architecture decisions.
Schema and Logic (Load During Phase 1/2)
- Core Architecture & Models Guide - YAML models, database schema, directory structure.
- Endpoints & Database Guide - ORM, typed queries, API endpoints.
- Serverpod Mini Guide - Database-less proxy routing.
Security, Scaling & Testing (Load During Phase 2/3)
- Authentication & Caching Guide -
serverpod_auth, endpoint protection, Redis caching. - Deployment & Docker Guide - AWS/GCP, Docker, environment management.
- Testing Guide - Isolated database testing, endpoint simulation, auto-generated test utilities.
What ships with it: 7 files
36.0 KB alongside SKILL.md
references/
- auth-and-caching.md9.0 KB
- core-and-models.md3.3 KB
- deployment-and-docker.md4.8 KB
- endpoints-and-database.md4.7 KB
- overview.md6.1 KB
- serverpod-mini.md3.8 KB
- serverpod-testing.md4.5 KB