About drupalorg-cli
drupalorg-cli is a CLI skill for managing Drupal.org issues and contribution workflows. It covers issue discovery through patches and GitLab merge requests, and provides version-matched instructions through the CLI.
Key features
- 01Browse and search issues
- 02Create branches and patches
- 03Generate interdiffs and apply patches
- 04Work with GitLab issue forks and merge requests
- 05Load version-matched workflow guidance
Use cases
- 01Review Drupal.org issue history before contributing
- 02Prepare and apply a patch for an issue
- 03Follow an issue through a GitLab merge request
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ mglaman/ drupalorg-cli --skill drupalorg-cliAfter installing, type/drupalorg-cliin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/gitlab-mr-contribution.mdpatch-contribution.mdwork-on-issue.mdDetails
From the project READMEdrupalorg-cli
CLI for Drupal.org issue lifecycle management. Covers the full contribution workflow: browsing issues, creating branches, generating patches and interdiffs, applying patches, and working with GitLab issue forks and merge requests.
Start here
This file is a discovery stub, not the usage guide. Before running any
drupalorg command, load the actual content from the CLI:
drupalorg skill:get drupalorg-cli # workflows, commands, output formats
drupalorg skill:get drupalorg-cli --full # include workflow reference guides
The CLI serves skill content that always matches the installed version, so instructions never go stale.
Contribution policy
Drupal.org's policy on the use of AI when contributing applies to every change made through this CLI. The user answers for everything pushed or posted, and violations lead to account bans. Before writing code or text for a Drupal.org issue:
- Read the full thread and existing MRs first. Respect prior attempts and settled decisions.
- Keep diffs minimal and explainable. No out-of-scope refactors or unverified dependencies.
- Pass local checks and the MR pipeline before handing off. Never push to someone else's MR without their knowledge.
- Draft an
AI-Generated: Yes (...)disclosure for the MR description or comment when AI produced entire functions, classes, scaffolding, or long doc blocks. - Hand the user drafts to edit into their own words, never text to paste verbatim.
Full checklist:
drupalorg skill:get drupalorg-cli --full # includes references/ai-contribution-policy.md
Specialized skills
drupalorg skill:get --format=llm # list every bundled skill with its description
drupalorg skill:get drupalorg-work-on-issue # end-to-end GitLab MR contribution workflow
drupalorg skill:get drupalorg-issue-search # search issues across API, scrape, and web
drupalorg skill:get drupalorg-issue-summary-update # analyse and update issue summaries