/workflow-tools:deploy-workflowfrom workflow-tools
Enforces the correct deployment sequence for Drupal 10/11 sites: pre-flight checks, backup, composer install, database updates, config import, cache rebuild, verification, and rollback plan. Handles multisite releases.
Ships in workflow-tools. 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.
None: SKILL.md is the whole skill.
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.
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.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:
hook_post_update or hook_deploy_NAME(); do not hand-reorder cim before updb as a workaround without understanding why.drush -l SITE updb -y && drush -l SITE cim -y && drush -l SITE cr for every site sharing the codebase. A release is not done until every site has been updated.Exit condition: every command exited 0. A non-zero exit stops the workflow — do not continue past a failed updb or cim.
drush config:status — must report no differences.drush core:requirements --severity=2 — no new errors.drush watchdog:show --severity=Error --count=20 — no new runtime errors.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.
drush cr, re-verify, and communicate the failed release.drush sql:drop, sql:sync toward production, or destructive commands against the production alias as part of a deploy.drupal-ddev-operations skill (ddev-tools plugin) when available.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub siva01c/claude-plugins --plugin workflow-tools3 skills in this plugin
/feature-workflowPhased workflow for delivering a Drupal feature or non-trivial change: plan, implement, review, test, finalize. Use when building a new custom module, adding a route/form/plugin, changing entity structure or schema, or any task touching more than a couple of files. Do NOT use for typo fixes, CSS tweaks, or single-line changes — use the tiny-fix skill instead. Each phase has an exit condition; do not move to the next phase until it is met.
/tiny-fixLow-ceremony workflow for trivial, low-risk changes: typos, comments, CSS/styling tweaks, string changes, single-line fixes with no logic impact. Use to avoid the overhead of the full feature workflow when the change cannot break anything. If during the fix the change turns out to touch logic, security, config, or schema, stop and escalate to the feature-workflow skill.
Other plugins' skills for the same job