github-actions
Use this skill when authoring or debugging GitHub Actions workflows (.github/workflows/*.yml) — e.g. "add CI for this Drupal project on GitHub", "run…
Safe deployment workflow for Drupal 10/11 sites: pre-flight checks, backup, the correct update sequence (composer install, database updates, config import, cache rebuild), verification, and rollback plan. Use when deploying to any environment, releasing to production, or when
$ npx -y skills add siva01c/claude-plugins --skill deploy-workflow --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/deploy-workflowContext preview
The summary Claude sees to decide when to auto-load this skill.
Safe deployment workflow for Drupal 10/11 sites: pre-flight checks, backup, the correct update sequence (composer install, database updates, config import, cache rebuild), verification, and rollback plan. Use when deploying to any environment, releasing to production, or when
name: deploy-workflow description: > Safe deployment workflow for Drupal 10/11 sites: pre-flight checks, backup, the correct update sequence (composer install, database updates, config import, cache rebuild), verification, and rollback plan. Use when deploying to any environment, releasing to production, or when the user asks to "push changes live", "update the server", or run a release. Also use for multisite releases where each site needs its own database update pass.
Deployment of a Drupal site has a fixed order of operations. Skipping a step or reordering it produces failures that only surface at runtime. This skill enforces the sequence and its preconditions.
1. Confirm the target: which environment, which drush alias or SSH host. **Never assume production.** 2. Verify the working tree being deployed is clean and on the intended tag/branch. 3. Check config status on the target: `drush config:status`. Unexpected overrides on the target mean someone changed config in the UI — resolve before deploying, or the import will silently destroy their changes. 4. Maintenance window: for schema-changing releases, ask whether maintenance mode is required (`drush state:set system.maintenance_mode 1`).
**Exit condition:** target confirmed by the user, config status reviewed.
drush @TARGET sql:dump --result-file=auto --gzip
Also snapshot the current codebase reference (deployed tag/commit) so rollback is a known state, not a guess.
**Exit condition:** a restorable database dump exists and its location is recorded.
The canonical order:
git fetch && git checkout TAG # or the platform's deploy mechanism composer install --no-dev --optimize-autoloader drush deploy # = updb + cim + cr + deploy:hook (Drush 10.3+)
If `drush deploy` is not available or the project needs explicit control:
drush updb -y # database updates first — update hooks may rely on old config drush cim -y # import configuration drush cr # rebuild caches drush deploy:hook -y # post-deploy hooks, if used
Notes:
**Exit condition:** every command exited 0. A non-zero exit stops the workflow — do not continue past a failed `updb` or `cim`.
1. `drush config:status` — must report no differences. 2. `drush core:requirements --severity=2` — no new errors. 3. `drush watchdog:show --severity=Error --count=20` — no new runtime errors. 4. Load the front page and one or two critical paths (login, key form) — HTTP 200 and visually sane. 5. Disable maintenance mode if it was enabled.
**Exit condition:** all checks pass. If any fails, go to Phase 4 instead of debugging live under pressure — unless the fix is obvious and low-risk.
1. Restore the codebase to the previous tag/commit. 2. Restore the Phase 1 database dump. 3. `drush cr`, re-verify, and communicate the failed release.
A curated collection of Claude Code plugins for Drupal development, security, and deployment. Each plugin covers one topic — Drupal itself, DDEV, Docker, CI/CD, git workflows, and security verification — so you install only what you need.
Use this skill when authoring or debugging GitHub Actions workflows (.github/workflows/*.yml) — e.g. "add CI for this Drupal project on GitHub", "run…
Use this skill when authoring or debugging GitLab CI/CD pipelines (.gitlab-ci.yml) — e.g. "add a CI pipeline for this Drupal project", "run…
Use for operational Drupal 11 workflows in DDEV environments, including safe updates, backup-first procedures, and troubleshooting commands.
Use this skill when authoring or editing Docker Compose files (compose.yaml / docker-compose.yml), running multi-container stacks, or containerizing a…
Use this skill when running local AI models with Docker Model Runner — the `docker model` CLI — e.g. "run an LLM locally with Docker", "pull a model from the…
Use when creating or extending Drupal 11 custom modules, including scaffolding, service architecture, and dependency injection best practices.