fix-partially-deprecated-apis

fix-partially-deprecated-apis is a skill for Claude Code, Codex from UI5/plugins-coding-agents. It costs 147 tokens per session (3,460 once invoked), scanned A, original, Apache-2.0.

A repair guide for UI5 code that uses deprecated forms of certain APIs and cannot be fixed automatically by the linter. UI5 is SAP’s web user-interface framework, and a linter is a tool that reports code problems.

In plain words
What is it for?
Use it to update deprecated calls involving parameters, models, mobile setup, OData entries, views, fragments, routers, and JavaScript binding formatters. It applies when the UI5 linter reports the listed rules.
Why use it?
It turns specific linter messages into the supported replacement code. This avoids guessing which argument or option must change for each affected API.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is "../model/formatter".

Good fit Use it to update deprecated calls involving parameters, models, mobile setup, OData entries, views, fragments, routers, and JavaScript binding formatters. It applies when the UI5 linter reports the listed rules.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/UI5/plugins-coding-agents
agentmods
npx agentmods add skills/ui5/plugins-coding-agents/fix-partially-deprecated-apis

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix-partially-deprecated-apis

README.md
[![agentmods](https://agentmods.dev/badge/skills/ui5/plugins-coding-agents/fix-partially-deprecated-apis/github.svg)](https://agentmods.dev/skills/ui5/plugins-coding-agents/fix-partially-deprecated-apis)
Your own site
<a href="https://agentmods.dev/skills/ui5/plugins-coding-agents/fix-partially-deprecated-apis"><img src="https://agentmods.dev/badge/skills/ui5/plugins-coding-agents/fix-partially-deprecated-apis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fix-partially-deprecated-apis

Your own site · 80×15
<a href="https://agentmods.dev/skills/ui5/plugins-coding-agents/fix-partially-deprecated-apis"><img src="https://agentmods.dev/badge/skills/ui5/plugins-coding-agents/fix-partially-deprecated-apis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,460 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 482
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00147 $0.03460
Opus 5.5 $0.00059 $0.01384
Sonnet 5.5 $0.00029 $0.00692
Haiku 4.5 $0.00015 $0.00346

Measured 3mo ago against content hash 42dbbce2be48, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fix-partially-deprecated-apis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ui5-modernization/skills/fix-partially-deprecated-apis/SKILL.md · 485 lines

How it starts

The opening of the file, as written. The whole thing — 485 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fix Partially Deprecated APIs

This skill fixes partially deprecated API usage that the UI5 linter detects but cannot auto-fix because they require understanding the specific deprecated variant being used.

Quick Reference

API Deprecated Usage Fix
Parameters.get No args, string, or array Object with name and callback
JSONModel.loadData bAsync=false (3rd param) Omit or set true
Mobile.init homeIcon/homeIconPrecomposed Remove, use web manifest
ODataModel.v2.createEntry batchGroupId Use groupId
ODataModel.v2.createEntry properties as array Use object with values
View.create type: "JS/JSON/HTML/Template" Use "XML" or omit
Fragment.load type: "HTML" Use "XML" or omit
Router constructor Missing/false async Set async: true
Binding formatter String value in JS Function reference

Linter Rules Handled

Rule ID Message Pattern This Skill's Action
no-deprecated-api Usage of deprecated variant of 'sap/ui/core/theming/Parameters.get' Use object parameter
no-deprecated-api Usage of deprecated value for parameter '...' of 'sap/ui/model/json/JSONModel#loadData' Remove/change parameter
no-deprecated-api Usage of deprecated value for parameter '...' of 'sap/ui/util/Mobile#init' Remove parameter
no-deprecated-api Usage of deprecated parameter 'batchGroupId' in 'sap/ui/model/odata/v2/ODataModel#createEntry' Use groupId
no-deprecated-api Usage of deprecated value '...' for parameter 'type' in 'sap/ui/core/mvc/View.create' Use XML type
no-deprecated-api Usage of deprecated value '...' for parameter 'type' in 'sap/ui/core/Fragment.load' Use XML type
no-deprecated-api Usage of deprecated value for parameter 'oConfig.async' of constructor 'sap/ui/core/Router' Set async: true
unsupported-api-usage Do not use strings for 'formatter' values in JavaScript Use function reference

Read the full file on GitHub · 485 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 485 lines · 147 tokens per session scan A 42dbbce2be48

Subscribe to this mod's changes

fix-partially-deprecated-apis is a skill published in the GitHub repository UI5/plugins-coding-agents (48 stars, last pushed 3d ago), licensed Apache-2.0. It adds 147 tokens to every session and 3,460 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

fix-partially-deprecated-apis compared with skills from other repositories

fix-partially-deprecated-apis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-partially-deprecated-apisUI5/plugins-coding-agentsSkill483d agoApache-2.0A147Claude Code, Codex
agenttrace-session-auditsickn33/agentic-awesome-skillsSkill51kyesterdayMITA34Claude Code
octocode-researchbgauryy/octocodeSkill969todayMITA148Codex
root-cause-investigatorumputun/cc-thingzSkill50111d agoMITA53Claude Code
code-review-webrampstackco/claude-skillsSkill1.1k14d agoMITA121Claude Code
code-agentinitializ/forgeSkill2239d agoApache-2.0A21Claude Code, Codex
github-issue-managerexplyt/spring-pluginSkill1705d agoApache-2.0A100Claude Code, Codex