drupalorg-project-clone
Use when cloning a known Drupal.org project machine name for local contribution work.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when cloning a known Drupal.org project machine name for local contribution work.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Use when working on public Drupal.org Schema.org Blueprints module issues, including queue scouting, local issue tracking, issue-fork review, scoped contribution work, or assessing ecosystem impact.
Use when traversing a public Drupal.org project issue queue, maintaining local Markdown issue notes, reviewing issue forks or merge requests, or preparing scoped contribution work.
Use when working on public Drupal.org Webform module issues, including queue scouting, local issue tracking, issue-fork review, or scoped Webform contribution work.
Use when working on private Webform security issues in Drupal GitLab.
Use when creating logo prompt ideas for a Drupal.org module or theme.
Use when creating or improving Drupal.org project page body markup.
SOC 職業分類に基づく
| name | drupalorg-project-clone |
| description | Use when cloning a known Drupal.org project machine name for local contribution work. |
Set up a single Drupal.org project as a Composer type: package repository sourced from git for local contribution work. If the user provides a username instead of a project name, use drupalorg-projects-clone instead.
Infer from context when possible:
webform, token, ginIf only a display name is provided, resolve it to the machine name first.
Fetch https://www.drupal.org/project/{project_name}/git-instructions.
Extract:
git@git.drupal.org:project/webform.git6.3.xDerive the Composer version: 6.3.x → 6.3.x-dev. Keep any user-supplied branch override.
Trust caller- or user-provided type. Otherwise inspect Drupal.org page metadata and git-instructions to resolve module, theme, or recipe. Default to module only if the type is truly not exposed.
Read composer.json and check:
wikimedia/composer-merge-plugin is requiredcomposer.sandbox.json exists and is tracked/ignoredMake one explicit ownership decision before editing:
composer.sandbox.json for both repositories and requirecomposer.json for bothNever split ownership across files for the same package.
| Project kind | Composer type | Install path |
|---|---|---|
| Module | drupal-module-sandbox | web/modules/sandbox/{$name} |
| Theme | drupal-theme-sandbox | web/themes/sandbox/{$name} |
| Recipe | drupal-recipe | recipes/{$name} |
Package name is drupal/{project_name}.
Ensure extra.installer-paths in composer.json supports the selected type:
"web/modules/sandbox/{$name}": ["type:drupal-module-sandbox"]
"web/themes/sandbox/{$name}": ["type:drupal-theme-sandbox"]
Verify the existing drupal-recipe path for recipes.
Add or update a repository entry (update instead of appending if one already exists):
{
"type": "package",
"package": {
"name": "drupal/{project_name}",
"type": "drupal-module-sandbox",
"version": "{branch}-dev",
"source": {
"url": "git@git.drupal.org:project/{project_name}.git",
"type": "git",
"reference": "{branch}"
}
}
}
Repository rules:
composer.json: place before packages.drupal.orgcomposer.sandbox.json: keep repositories sorted alphabetically by package.nameRequire rules:
"*" as the version constraint: "drupal/{project_name}": "*"require sorted alphabetically| Ownership | Package state | Command |
|---|---|---|
| Sandbox | any | ddev composer update drupal/{project_name} --with-all-dependencies |
| Root | new | ddev composer require drupal/{project_name}:* |
| Root | existing | ddev composer update drupal/{project_name} --with-all-dependencies |
Do not run ddev composer require after manually editing composer.sandbox.json.
After Composer succeeds: ddev drush cr
Confirm:
repositories and requirecomposer.lock shows drupal/{project_name} resolved to {branch}-dev from the Drupal.org git URLgit@git.drupal.org:project/{project_name}.gitddev auth ssh and retry