Skip to content
Back to skills

Server And Stores

ASecurity

"Work on ZenML FastAPI server routers, auth/RBAC, domain models,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
devopssqlfastapidebuggingapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill server-and-stores --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Server And Stores?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Server And Stores
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-server-and-stores/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-server-and-stores)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: server-and-stores
description: "Work on ZenML FastAPI server routers, auth/RBAC, domain models,
  stores, SQLModel schemas, Alembic migrations, triggers, resource pools, and
  server deployment troubleshooting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Server and Stores

Use this sub-skill when the task mentions ZenML FastAPI, REST endpoints, routers, `zen_server`, authentication, RBAC, HTTP errors, Zen stores, SQLModel schemas, Alembic migrations, triggers, schedules, resource pools, resource requests, server deployment, database upgrades, or server optional extras.

## When To Read

- Read [Server API](references/server-api.md) before adding or debugging FastAPI routers, endpoint wrappers, auth/RBAC checks, HTTP exceptions, feature gates, server optional dependencies, or import-boundary failures.
- Read [Models, Stores, and Migrations](references/models-stores-migrations.md) before changing Pydantic domain models, filters, REST/SQL store methods, SQLModel schemas, migrations, triggers, resource pools, or rolling-compatible data shapes.
- Read [Troubleshooting](references/troubleshooting.md) when server extras are missing, FastAPI returns the wrong status, RBAC blocks a request, schema/model fields drift, migrations diverge, trigger/resource-pool updates miss a layer, or upgrades break rolling deployments.
- Run [check_migration_branches.py](scripts/check_migration_branches.py) after adding or rebasing Alembic revisions to detect diverging migration heads without mutating any database.

## Scope

This sub-skill owns ZenML server internals: FastAPI app and routers, `zen_server`-local utilities, auth/RBAC endpoint patterns, REST server behavior, Zen store interfaces and implementations, SQLModel schemas, Alembic migrations, trigger/resource-pool internals, and server deployment troubleshooting. Keep runtime behavior synchronous at route boundaries unless the existing async wrapper pattern requires otherwise.

## Route Elsewhere

- Use [CLI and Client](../cli-and-client/SKILL.md) for Click commands, `Client()` usage, login/connect flows, user-facing list filters, and CLI/client signature coupling.
- Use [Pipeline Authoring](../pipeline-authoring/SKILL.md) for `@pipeline`, `@step`, schedules as authoring APIs, materializers, hooks, cache/retry behavior, and local pipeline runs.
- Use [Stacks and Integrations](../stacks-and-integrations/SKILL.md) for stack component flavors, service connectors, orchestrators, step operators, integration extras, and optional SDK import boundaries.
- Use [Maintenance](../maintenance/SKILL.md) for targeted test selection, formatting, linting, spelling, CI-equivalent checks, and broad docs maintenance.

## Safe Defaults

Do not import `zenml.zen_server` from client, CLI, integration, or shared model code. Do not import SQL schemas or `SqlZenStore` from outside the store/server layer; use shared models or `Client().zen_store` when lower-level access is unavoidable. Prefer read-only probes, `--help`, targeted unit tests, and branch checks before any migration upgrade. Treat tokens, API keys, database URLs, secret values, server URLs, and backup credentials as sensitive.

Files in this skill

  • SKILL.md3.1 KB
  • references/models-stores-migrations.md7.8 KB
  • references/server-api.md5.6 KB
  • references/troubleshooting.md6.1 KB
  • scripts/check_migration_branches.py2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.