Fix JavaScript `no-globals` errors that UI5 linter reports but cannot auto-fix. Use this skill when linter outputs: - `no-globals` rule with message "Access of global variable '...' (...)" in JS files Cases handled (linter CANNOT auto-fix): - Assignments to global namespaces: `sap.myNamespace = {...}` - Global namespace assignment/read inside sap.ui.define - Delete expressions: `delete…
安装
npx skills add UI5/plugins-coding-agents --skill fix-js-globalsnpx skills add UI5/plugins-coding-agents --skill fix-js-globals -a claude-code -gnpx skills add UI5/plugins-coding-agents --skill fix-js-globals -a codex -ggemini skills install https://github.com/UI5/plugins-coding-agents.git --path plugins/ui5-modernization/skills/fix-js-globalsgh skill install UI5/plugins-coding-agents fix-js-globalsgit clone --depth 1 https://github.com/UI5/plugins-coding-agents /tmp/UI5__plugins-coding-agents
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/UI5__plugins-coding-agents/plugins/ui5-modernization/skills/fix-js-globals ~/.claude/skills/fix-js-globals # Claude Code
cp -R /tmp/UI5__plugins-coding-agents/plugins/ui5-modernization/skills/fix-js-globals ~/.agents/skills/fix-js-globals # Codex, Cursor, Gemini CLI, Copilot, OpenCode