Skip to content

Feature request: Multisite support in drush SKILL.md commands #61

Description

@jjroelofs

Problem

When using drush commands from the SKILL.md skills (dxt, dxb) in a multisite environment, the commands default to the sites/default database instead of the intended site.

Current Behavior

Running drush dxb:page:update 6 --markup=@/tmp/file.html from the project root edits node 6 on the default site, not the intended multisite (e.g., hengelaars.test).

The user must either:

  1. cd into web/sites/{sitename} before running drush
  2. Or use --uri=http://sitename.test (which doesn't always work reliably)

Suggested Solution

Update the SKILL.md files to:

  1. Document the multisite context requirement clearly
  2. Consider adding a --site or --uri parameter reminder in command examples
  3. Potentially add site detection/validation before running commands

Example Scenario

# This edits the WRONG site (default)
drush dxb:page:update 6 --markup=@/tmp/homepage.html

# This is the correct approach
cd web/sites/hengelaars.test
../../../vendor/drush/drush/drush dxb:page:update 6 --markup=@/tmp/homepage.html

Environment

  • DXPR CMS multisite setup
  • Multiple sites in web/sites/ directory
  • Using Valet or similar local development environment

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions