From drupal-boost
Drupal Workspaces module for content staging, parallel workspaces, and batch publishing. Use when setting up content staging workflows or implementing editorial workflows with Workspaces.
npx claudepluginhub abderrahimghazali/drupal-boostThis skill is limited to using the following tools:
The Workspaces module provides content staging — make changes in a workspace without affecting the live site, then publish everything at once.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
The Workspaces module provides content staging — make changes in a workspace without affecting the live site, then publish everything at once.
drush en workspaces -y
drush ev "\Drupal::entityTypeManager()->getStorage('workspace')->create(['id' => 'staging', 'label' => 'Staging'])->save();"
Use the workspace switcher toolbar or:
drush ev "\Drupal::service('workspaces.manager')->setActiveWorkspace(\Drupal::entityTypeManager()->getStorage('workspace')->load('staging'));"
$workspaceManager = \Drupal::service('workspaces.manager');
if ($workspaceManager->hasActiveWorkspace()) {
$workspace = $workspaceManager->getActiveWorkspace();
$workspace_id = $workspace->id();
}
$workspaceManager->executeOutsideWorkspace(function () {
// Code here runs in the Live workspace context
});
administer workspaces — Full workspace administrationcreate workspace — Create new workspacesedit own workspace — Edit workspaces you creatededit any workspace — Edit all workspacesdelete own workspace — Delete workspaces you createddelete any workspace — Delete all workspacesview own workspace — View workspaces you createdview any workspace — View all workspacesworkspace entity key to support workspacesexecuteOutsideWorkspace() when you need to read/write live content from workspace context