diff --git a/skill-data/drupalorg-cli/SKILL.md b/skill-data/drupalorg-cli/SKILL.md index 79a2275..c86a1c1 100644 --- a/skill-data/drupalorg-cli/SKILL.md +++ b/skill-data/drupalorg-cli/SKILL.md @@ -131,6 +131,39 @@ drupalorg mr:logs drupalorg mr:logs 'project/drupal!708' ``` +### Slash commands (GitLab work items only) + +These commands post Drupal.org bot quick-actions as comments on a GitLab work item. +They only work for projects whose issue queue lives at `git.drupalcode.org` (the bot +is not present on classic Drupal.org issue queues). + +The `` argument is a WorkItemRef — bare NID, `project_name#nid`, or full URL. + +Each command also accepts `--format=text|json|md|llm`. Posting is asynchronous: the +bot processes the comment after it lands, so re-fetch with `--no-cache` to confirm. + +```bash +# Create a fork (and a default-branch issue branch) for an issue without a fork +drupalorg issue:fork + +# Grant the current user push access to the existing fork +drupalorg issue:get-access + +# Assign one or more users (default: me) +drupalorg issue:assign [user...] +drupalorg issue:unassign [user...] +drupalorg issue:reassign [user...] + +# Manage labels (e.g. state::needsReview, state::rtbc, state::needsWork) +drupalorg issue:label