/craftcms-claude-skills:servdfrom craftcms-claude-skills
Guides deployment and debugging on Servd managed hosting for Craft CMS: push-to-deploy, servd.yaml, asset storage plugin, static caching, database SSH tunnels, queue runner, and ephemeral filesystem.
Ships in craftcms-claude-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
!sh ${CLAUDE_SKILL_DIR}/scripts/craft-version.sh
If no Craft version line appears above, establish the version before any version-specific advice: craftcms/cms in composer.lock for a site, the lowest version the craftcms/cms constraint in composer.json allows for a plugin, or ask. Then check it against the version tags in this skill ([5.10+], [changed 5.12], [seomatic 5.1+]).
Reference for Servd (servd.host), a Craft-specialised managed hosting platform. Covers git push-to-deploy and the servd.yaml build config, the local → staging → production workflow, the servd/craft-asset-storage plugin, Servd's static caching (and running Blitz alongside it), databases over SSH, backups, the queue runner, the ephemeral filesystem, and how Servd differs from Craft Cloud.
This skill is scoped to Servd specifically — what's different on Servd vs running Craft yourself on Forge or bare metal, and vs Pixel & Tonic's Craft Cloud. For generic Craft deployment, see the craftcms skill's deployment.md. For Craft Cloud, see the craft-cloud skill. For fortrabbit, see the craft-fortrabbit skill.
craftcms — When the Servd topic intersects plugin or module PHP (ephemeral-filesystem guards, queue-job design, asset filesystem code).craft-site — When Servd intersects front-end templating ({% dynamicInclude %} islands in cached pages, transform usage, CSRF in cached forms).ddev — For local development; Servd has no first-party local environment, so DDEV is the standard local stack.craft-php-guidelines — When editing plugin PHP to add ephemeral-filesystem checks.craft-mcp: for Craft's MCP server, OAuth server and personal access tokens [5.12+] (signing keys as env vars on this host).Authoritative sources used to write this skill (Servd's own docs):
Per-claim URLs appear in each reference file. Last verified against the docs on 2026-05-30. Some operational details (cron, exact plan tiers) are not in the public docs and are flagged as Verify where they appear.
Each row is a place self-hosted habits will mislead you.
| Concern | Self-hosted | Servd |
|---|---|---|
| Config file | .env, config/*.php, web-server config | servd.yaml at repo root for the build step (optional; overrides dashboard); platform settings + runtime env vars in the Servd dashboard |
| Deploy | Whatever you've wired | Git push-to-deploy (GitHub/GitLab/Bitbucket or any SSH host) → Composer install + optional Node build |
| Environments | Yours to define | Fixed local → staging → production, uni-directional; allowAdminChanges off everywhere except local |
| Filesystem | Local disk | Ephemeral + load-balanced — disk writes don't persist; use Redis (Craft data cache) or a remote asset volume |
| Assets | Local or your own S3 config | servd/craft-asset-storage — S3-backed Flysystem on the *.files.svdcdn.com CDN, auto-separated per environment |
| Image transforms | Native / Imager-X / ImageOptimize on-server | Off-server transforms via the Servd Asset Platform; Imager-X uses transformer: 'servd' |
| Database | Whatever you installed | MariaDB or MySQL 8, reached over an SSH tunnel |
| Page caching | Blitz or similar | Servd static caching built in; Blitz runs alongside it in reverse-proxy mode (not instead of) |
| Queue | You run a worker | Default AJAX-triggered; opt into the Dedicated Queue Runner (paid plans) for isolated immediate processing |
| Cron | crontab | Not documented as a user-configurable feature — design around the queue (Verify for a given plan) |
| Redis | You install it | Provided — Craft's data cache is auto-mapped to a stateful Redis |
| SSH | ssh user@server | Yes — SSH sessions (used e.g. for the DB tunnel) |
| Env vars | .env | Dashboard-managed per environment (not a committed .env) |
Both are managed Craft hosting with git deploy, ephemeral filesystems, S3 assets, off-server transforms, and dashboard env vars. Key differences for a developer:
| Servd | Craft Cloud | |
|---|---|---|
| Repo config | servd.yaml (build) + dashboard | craft-cloud.yaml |
| Asset layer | servd/craft-asset-storage plugin | craftcms/cloud bundled filesystem |
| Database | MariaDB or MySQL 8 | MySQL 8 / Postgres 15 (no MariaDB) |
| SSH | Yes | No |
| First-party CLI | None (plugin console commands + dashboard) | craftcms/cloud + php craft cloud/up |
| Caching | Servd static cache; Blitz runs alongside | Edge static caching; Blitz redundant |
| Transforms | Servd Asset Platform (svdcdn.com) | Cloudflare Images at the edge |
| Queue | Dedicated Queue Runner (paid) | Auto-processed |
references/limitations.md.storage/. [5.12+] MCP and OAuth GraphQL need signing keys; set CRAFT_OAUTH_PRIVATE_KEY / CRAFT_OAUTH_PUBLIC_KEY as env vars, since storage/ is ephemeral. See references/limitations.md and the craft-mcp skill.allowAdminChanges: false on staging and production and syncs uni-directionally (local → staging → production). Make changes in local, commit, deploy. See references/deploy-and-environments.md.references/caching.md..env for runtime config. Runtime env vars live in the Servd dashboard per environment, not a committed .env. SERVD_PROJECT_SLUG / SERVD_SECURITY_KEY come from the dashboard's Assets page.servd/craft-asset-storage filesystem so they land on the Servd Asset Platform and survive deploys. See references/asset-storage.md.composer install / npm run build in a CI action. Servd runs both during its build step. Configure the Node build via servd.yaml or the dashboard instead. See references/deploy-and-environments.md.references/database-and-queue.md.references/database-and-queue.md.Read the relevant reference file(s) for your task. Multiple files often apply.
Task examples:
deploy-and-environments.mdservd.yaml" → deploy-and-environments.mddeploy-and-environments.md + local-dev.mdasset-storage.mdasset-storage.md + limitations.mdasset-storage.mdcaching.mdcaching.md (Blitz reverse-proxy mode)caching.md ({% dynamicInclude %})database-and-queue.mddatabase-and-queue.mddatabase-and-queue.md + local-dev.mdlocal-dev.mdlocal-dev.mdlimitations.mdlimitations.mdlimitations.md (Servd vs Cloud) + this file's tableLoad only the reference files your task needs.
| Reference | Scope | ~Lines |
|---|---|---|
references/deploy-and-environments.md | Git push-to-deploy, the build step (Composer + Node, servd.yaml keys, Node versions), environments (local → staging → production, uni-directional), Project Config + allowAdminChanges, env vars & secrets, the deploy/clone workflow | ~150 |
references/asset-storage.md | servd/craft-asset-storage plugin (composer package, handle, install), SERVD_PROJECT_SLUG/SERVD_SECURITY_KEY, the Servd filesystem on *.files.svdcdn.com, per-environment dirs, off-server transforms, Imager-X (transformer: 'servd') and ImageOptimize integrations | ~140 |
references/caching.md | Servd static caching (enable + TTL, Full vs Tag-Based purge, exclude prefixes, {% dynamicInclude %} tag, CSRF injection, auto cache-busting on save, clear-caches/servd-static-cache + servd-edge-caches), and running Blitz in reverse-proxy mode | ~140 |
references/database-and-queue.md | MariaDB / MySQL 8, SSH-tunnel access, automatic + manual backups (30-day retention, 90-day deleted-asset window), the Dedicated Queue Runner, the cron caveat, console sync commands | ~130 |
references/local-dev.md | DDEV-based local dev (no first-party Servd local env), SERVD_* vars for local, servd-asset-storage/local/pull-assets·push-assets·pull-database·push-database, servd-asset-storage/clone, uni-directional sync discipline | ~120 |
references/limitations.md | Ephemeral + load-balanced filesystem (Redis + remote volumes for runtime files), plugin/feature constraints, the documented-vs-unknown gaps (cron), the full Servd-vs-Craft-Cloud comparison, and the repo detection signals (servd/craft-asset-storage, servd.yaml, SERVD_* env vars) | ~140 |
House rules: no AI or tool attribution and no co-author trailers in commits, PRs, comments, code or docs; no em dashes in prose; US spelling; no model or vendor names in pack files.
references/asset-storage.md (opens in a new tab)references/caching.md (opens in a new tab)references/database-and-queue.md (opens in a new tab)references/deploy-and-environments.md (opens in a new tab)references/limitations.md (opens in a new tab)references/local-dev.md (opens in a new tab)scripts/craft-version.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Triggers on: servd.yaml, servd/craft-asset-storage, servd-asset-storage plugin handle, SERVD_PROJECT_SLUG, SERVD_SECURITY_KEY, SERVD_BUNDLE_HASH, files.svdcdn.com, servd-asset-storage/clone, servd-asset-storage/local/pull-database, push-assets, clear-caches/servd-static-cache, clear-caches/servd-edge-caches, deploy to or host Craft on Servd. Always use when the project has a servd.yaml or servd/craft-asset-storage, or the task deploys to, hosts on or debugs Servd. Do NOT trigger for Craft Cloud (craft-cloud), fortrabbit (craft-fortrabbit), generic Craft deployment on Forge/bare metal (craftcms/deployment.md), or DDEV local dev unrelated to Servd parity (ddev).
Three short reads, in order
npx claudepluginhub michtio/craftcms-claude-skills --plugin craftcms-claude-skills16 skills in this plugin
/craft-cloudCraft Cloud, Pixel & Tonic's serverless hosting platform for Craft CMS. Covers craft-cloud.yaml, the Build → Migrate → Release deploy pipeline, the craftcms/cloud extension, edge transforms and static caching (cache.rules, ESI), the Cloud S3 filesystem, MySQL 8 / Postgres 15 (no MariaDB, no tablePrefix), the Console command runner and scheduled cron, queue jobs, custom domains, preview environments per branch, limits (ephemeral filesystem, no SSH, no .htaccess, no built-in mail), Cloud-compatible plugins, and self-hosted → Cloud migration./craftcmsCraft CMS 5 plugin and module development in PHP. Covers elements, element queries, services, models, records, controllers, migrations, queue jobs, console commands, field types, events, Twig extensions, widgets, permissions, GraphQL, testing, and debugging./craft-content-modelingCraft CMS 5 content modeling: sections, entry types, fields, Matrix, relations, project config, and content architecture strategy. Covers choosing section types, designing entry types and field layouts, selecting field types, Matrix and nested entries, relations and eager loading, and multi-site propagation./craft-fortrabbitfortrabbit (fortrabbit.com): managed PHP hosting with a Craft CMS software template. Covers git push-to-deploy through the fortrabbit GitHub App, the template's build and post-deploy commands, the merge deployment strategy with the /config/project replace pattern, the deploy file (.fortrabbit/deploy.yml) and its replace-by-default trap, CRAFT_* ENV vars mapped from FORTRABBIT_DB_*, production settings (admin changes and updates off), persistent storage for asset volumes and rsync sync, MySQL over an SSH tunnel, the queue and image transforms in a worker job, crons, platform limits (no root, no sendmail), and DDEV local development./craft-garnishGarnish, Craft CMS's built-in JavaScript UI toolkit for the control panel. ALWAYS load when writing, editing, or reviewing JavaScript that runs in the Craft CP: plugin CP assets, custom field type JS, element index JS, CP webpack config, or code importing garnishjs / referencing window.Garnish. Also for CP accessibility, keyboard interactions, drag-sort, and CP JS memory issues./craft-gated-buildBuilds one approved slice with the outside builders listed in .ai/skills-profile.json (local AI, a script) and keeps the pack's gates: craft-gate-writer locks the gate ahead of any builder, each builder gets a brief and returns a handback, the handback is verified, the lock and craft-review-checker cover the result, at most three rounds, and craft-feature-builder takes over when every outside builder fails, is unavailable or passes its timeout setting.Other plugins' skills for the same job