ClaudeSuperPower

fix-xml-native-html

Skill

Fix native HTML and SVG usage in XML views/fragments that UI5 linter reports but cannot auto-fix. Use this skill when linter outputs: - `no-deprecated-api` with message "Usage of native HTML in XML Views/Fragments is deprecated" - `no-deprecated-api` with message "Deprecated use of SVG in XML View o

Install

git clone https://github.com/UI5/plugins-coding-agents.git ~/.claude/skills/fix-xml-native-html

What is fix-xml-native-html?

Fix native HTML and SVG usage in XML views/fragments that UI5 linter reports but cannot auto-fix. Use this skill when linter outputs: - `no-deprecated-api` with message "Usage of native HTML in XML Views/Fragments is deprecated" - `no-deprecated-api` with message "Deprecated use of SVG in XML View or Fragment" Trigger on: HTML elements in XML views (html:div, html:span, html:a), SVG elements in XML views, xmlns:html namespace usage. Provides guidance on replacing native HTML with UI5 controls and SVG with UI5 icons or custom controls.

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Inherit all session tools

Declares no tool restrictions — inherits every session tool

~135 tokens of context used while enabled, before you invoke anything

Documentation

README · ~6 min read

Fix Native HTML and SVG in XML Views/Fragments

This skill fixes native HTML and SVG usage in XML views/fragments that the UI5 linter detects but cannot auto-fix because they require understanding the appropriate UI5 control replacements.

Linter Rules Handled

Rule IDMessage PatternThis Skill's Action
no-deprecated-apiUsage of native HTML in XML Views/Fragments is deprecatedReplace with UI5 controls
no-deprecated-apiDeprecated use of SVG in XML View or FragmentReplace with UI5 icons or custom controls

When to Use

Apply this skill when you see linter output like:

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just skills.