一键导入
update-packages
Updates Composer, Craft CMS plugins, and Node packages. Commits each step separately, audits for vulnerabilities, and generates a PR description.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Updates Composer, Craft CMS plugins, and Node packages. Commits each step separately, audits for vulnerabilities, and generates a PR description.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | update-packages |
| description | Updates Composer, Craft CMS plugins, and Node packages. Commits each step separately, audits for vulnerabilities, and generates a PR description. |
| allowed-tools | Bash, Write, Read, Edit |
Updates Composer, Craft Plugins and node packages. Each step is committed separately.
Each step that changes files must be committed separately using this template:
[UPDATES] <cli-command-from-step>
For example: [UPDATES] ddev composer update
Follow these steps in order:
ddev craft update all --interactive=0
This updates Composer packages related to Craft CMS. Commit any changes.
ddev composer update
This updates all Composer packages to their latest compatible versions. Commit any changes.
ddev npm update
Commit any changes.
Run both audits:
ddev composer audit
ddev npm audit
If vulnerabilities are found in either, write a vulnerability report to a markdown file in the root of the repository. If no issues are found, do nothing.
Write a markdown file to the root of the repo describing the updates and listing changed dependencies.