ClaudeSuperPower

fix-control-renderer

Skill

Fix Control renderer issues that UI5 linter reports but cannot auto-fix. Use this skill when linter outputs these rules: - `no-deprecated-control-renderer-declaration` - For missing renderer declaration, string-based renderer declaration, implicit renderer auto-discovery (removed in modern UI5) - `n

Install

git clone https://github.com/UI5/plugins-coding-agents.git ~/.claude/skills/fix-control-renderer

What is fix-control-renderer?

Fix Control renderer issues that UI5 linter reports but cannot auto-fix. Use this skill when linter outputs these rules: - `no-deprecated-control-renderer-declaration` - For missing renderer declaration, string-based renderer declaration, implicit renderer auto-discovery (removed in modern UI5) - `no-deprecated-api` - For missing apiVersion:2 in renderer objects, missing IconPool import when using oRm.icon(), deprecated rerender() override. NOTE: For Library.init() apiVersion errors, use fix-library-init instead. - `ui5-class-declaration` - For non-static renderer property in ES6 classes Trigger on: "missing a renderer declaration", "Deprecated declaration of renderer", "deprecated renderer", "apiVersion" (in renderer context), "IconPool", "rerender", "renderer must be a static property" Converts legacy renderer patterns to modern apiVersion: 2 format with proper module imports.

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

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

Documentation

README · ~8 min read

Fix Control Renderer Issues

This skill fixes Control renderer issues that the UI5 linter detects but cannot auto-fix because they require understanding of the control's rendering behavior and module dependencies.

Linter Rules Handled

Rule IDMessage PatternThis Skill's Action
no-deprecated-control-renderer-declarationControl '...' is missing a renderer declarationAdd renderer: null or import renderer
no-deprecated-control-renderer-declarationDeprecated declaration of renderer '...' for control '...'Import renderer module and assign directly
no-deprecated-apiUse of deprecated renderer detected. Define explicitly the {apiVersion: 2}Add apiVersion: 2 to renderer object
no-deprecated-api"sap/ui/core/IconPool" module must be imported when using RenderManager's icon() methodAdd IconPool import
no-deprecated-apiOverride of deprecated method 'rerender' in control '...'Remove override, move code to lifecycle hooks

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.

Skillssimilar to this one

All skills