# sapui5-linter

Use this skill to configure UI5 Linter and inspect SAPUI5 or OpenUI5 projects for code issues. It also covers checks and fixes ahead of a UI5 2.x migration.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 685 installs · ★ 475
- Author: secondsky
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/secondsky/sap-skills/tree/HEAD/plugins/sapui5-linter/skills/sapui5-linter/SKILL.md
- Updated: 2026-10-21
- HTML: https://affpapa.org/en/nevibecode/skills/sapui5-linter

## What it does

The skill guides work with `@ui5/linter` to locate deprecated APIs, global references, unsafe inline scripts, and manifest problems. It also covers event-handler checks and automatic repairs for selected findings, including some deprecated calls and manifest properties.

Instructions cover installation, `ui5lint.config.{js|mjs|cjs}` setup, and checks across a project or selected files. They also explain JSON and HTML reports, CI and npm-script integration, and previewing proposed fixes. Running the linter requires Node.js v20.11.x, v22.0.0, or later, plus npm v8.0.0 or later; an unsupported Node.js version prevents the check from running.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sapui5-linter -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/sapui5-linter/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/sapui5-linter/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sapui5-linter -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/sapui5-linter/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sapui5-linter -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/sapui5-linter/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install secondsky/sap-skills sapui5-linter
```

2. **Manually: put the files in place**
- File: `.github/skills/sapui5-linter/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sapui5-linter -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/secondsky/sap-skills --path plugins/sapui5-linter/skills/sapui5-linter
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/sapui5-linter/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add secondsky/sap-skills --skill sapui5-linter -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/secondsky/sap-skills/tree/HEAD/plugins/sapui5-linter/skills/sapui5-linter/SKILL.md

## When to use it
- find deprecated APIs in a SAPUI5 app
- spot global variable references
- check a manifest before a UI5 2.x migration
- produce JSON output for CI
- preview automatic lint fixes

## Example prompts
- Run `ui5lint --details` on my SAPUI5 project and explain the findings.
- Configure `ui5lint.config.js` to flag deprecated APIs as errors.
- Preview the proposed fixes with `UI5LINT_FIX_DRY_RUN=true ui5lint --fix`.

## Similar
- [frontend-design](https://affpapa.org/en/nevibecode/skills/frontend-design.md) — skill · 1025790 installs
- [design-taste-frontend](https://affpapa.org/en/nevibecode/skills/design-taste-frontend.md) — skill · 678700 installs
- [prototype](https://affpapa.org/en/nevibecode/skills/prototype.md) — skill · 986201 installs
- [hyperframes](https://affpapa.org/en/nevibecode/skills/heygen-com-hyperframes.md) — skill · 1200000 installs
- [hyperframes-cli](https://affpapa.org/en/nevibecode/skills/heygen-com-hyperframes-cli.md) — skill · 1300000 installs
- [webapp-testing](https://affpapa.org/en/nevibecode/skills/webapp-testing.md) — skill · 186758 installs

From the same set: [secondsky/sap-skills](https://affpapa.org/en/nevibecode/by/secondsky/sap-skills.md) — 40 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
