Fix XML view/fragment issues that UI5 linter reports but cannot auto-fix.
“网站与界面”领域的一个 Skill。已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
完整描述
Fix XML view/fragment issues that UI5 linter reports but cannot auto-fix. Use this skill when linter outputs these rules:
- `no-globals` - For ALL global variable access in XML views — sap.*, jQuery.*, AND app-namespace globals (e.g., com.example.app.utils.Handler.onPress, my.app.formatter.method)
- `no-ambiguous-event-handler` - For event handlers without dot prefix or local name
- `no-deprecated-api` - For legacy template:require syntax (space-separated)
Trigger on XML view/fragment files with errors about global variables, event handlers, formatters, type references in bindings, factory functions, or template:require.
Automatically adds core:require declarations, fixes event handler prefixes, and handles .bind($control) for functions that use 'this'.
IMPORTANT: The linter reports app-namespace globals in XML under `no-globals` — these MUST be fixed by this skill, NOT deferred to fix-linter-blind-spots.
For native HTML or SVG in XML views, use the fix-xml-native-html skill instead.