一键导入
update-project-templates
Updates the GLSP project-templates in this repo to a new GLSP release. User-invoked only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Updates the GLSP project-templates in this repo to a new GLSP release. User-invoked only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | update-project-templates |
| description | Updates the GLSP project-templates in this repo to a new GLSP release. User-invoked only. |
| disable-model-invocation | true |
Updates this repo's 4 project-templates/ to a target GLSP release. (The
workflow/ example has its own dedicated update-workflow skill — it is not a
target here.)
Scope: the 4 project-templates/ — node-json-theia, node-json-vscode,
java-emf-eclipse, java-emf-theia. See references/templates.md.
Optional argument: an explicit target version (e.g. 2.7.0). If omitted, the
latest release is resolved automatically.
v:
WebFetch https://api.github.com/repos/eclipse-glsp/glsp/releases/latest → tag_name.
No npm cross-check.body field). It contains links to the individual component repos'
changelogs. Extract them.targetVersion, the changelog URLs, and the
per-template component→repo map from references/templates.md.Only the target release's changelog matters — examples are updated every release, so the gap is always exactly one release. Do not compute a "from" version.
Spawn 4 glsp-template-updater subagents in parallel — one per template, in a
single message. Hand each the release context plus its templateId, templatePath,
relevant components, and changelogUrls. Add any per-template note as extra
instructions. The subagents edit + verify only; they run no git commands.
Cross-cutting rules the subagents enforce (already in the agent definition, restated here so you can sanity-check their reports):
FAIL is reported only after
reasonable fix attempts are exhausted, never after a single failed build.mvn/java 17
for java templates, yarn/node for all) — reported as STOPPED, no edits.targetVersion;
unrelated third-party deps are left alone unless a changelog mandates a change.Do no git operations. Leave all changes in the working tree for the user to review and commit. Collect the per-template reports into one consolidated summary:
from → to, GLSP deps bumped, own-version bumped (y/n), mechanical
migrations applied, needs-review items (with changelog refs), env/README
changes, build status (PASS / FAIL + excerpt / STOPPED + missing tool).Make non-PASS builds and needs-review items impossible to miss.