/abap2ui5:abap-checkfrom abap2UI5
Catalogue of ABAP problems that green CI misses: abapGit round-trip failures, activation errors, extended-check traps, downport/transpiler traps, and runtime breakage on real SAP systems. Use before finishing changes under src/ or after editing metadata sidecars.
Ships in abap2UI5. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Scope. This skill is about ABAP that has to survive a real SAP system — it applies to framework code and to app code alike, and most of it applies to any repository shipped through abapGit. The other skill,
build-an-app, is about writing an app with abap2UI5: the app class, the lifecycle, the view builder, binding, events. They compose — build withbuild-an-app, check with this one before you finish. The commands quoted below are this repository's; the rules behind them are not.
npm run verify proves the code parses, lints and runs under the transpiler.
Everything in this file is a way for that to be true while a real SAP system
still refuses the change — because the files come back different, because the
object does not even import, because the class pool does not activate, because
the extended check fires, or because the runtime behaves differently there than
under the transpiler.
This is a growing catalogue. Every entry is a defect that actually reached
main and was found by hand afterwards — several of them by a user, after a
pull. When you hit a new one, add it (see the last section) — the point is that
nobody has to discover it twice.
Every numbered section below carries a Gate: line, the same idea as the
Linter: lines in ui5-check — but the answer here is rarely "a linter rule".
Most of this is decided by a script in this repository, which means a
consumer running nothing but npx @abap2ui5/linter is not covered by it. The
line says which of the three it is, because that is the difference between a
defect that cannot reach main and one that cannot reach main here:
| linter | an abap2ui5lint rule — travels to every repository that runs it |
| this repo | a script under .github/scripts/ — covers this tree only |
| abaplint | a rule in abaplint.jsonc — covers repositories that enable it |
| open | nothing decides it; the entry is a thing you have to know |
Run first, in this order:
npm run check # abaplint (fast inner loop)
npm run check:abapgit # the abapGit round trip - covers src/00 and src/99 too
npm run check:atc # the extended-check traps a script can decide
npm run check_visibility
npm run verify # before any PR; includes all of the above
The long sections of this catalogue are files next to this one. Do not read
them all: take the rows that match what you changed. A reference to
"section 3" anywhere means the file whose name starts with 3-.
| File | Section | Read it when |
|---|---|---|
references/why-the-tooling-is-blind.md | Why the tooling here is blind to most of this | you want to know which gate decides what, or to measure a case against abaplint - tooling work, not app work |
references/1-abapgit-round-trip.md | 1. abapGit round trip — the file must come back byte-identical | every app - you wrote or touched a .clas.abap, a .clas.xml or any other file abapGit imports |
references/2-activation.md | 2. Activation — compiles here, syntax error there | every app - before a class counts as finished: what passes the lint and is a syntax error on a system |
references/3-extended-check.md | 3. Extended check (SLIN/ATC) — runs in real systems, not here | the code will face the extended check (SLIN/ATC) on a system - reads on internal tables, pragmas, unused declarations |
references/4-downport-and-transpile.md | 4. Downport and transpile — one source, three targets plus a JS runtime | the code has to run on 7.02 or in the transpiled runtime - the framework, the sample repositories, a unit test run without a system |
references/5-runtime.md | 5. Runtime — green here, wrong there | something is green in the transpiled run and wrong on a system, or the other way round |
references/7-rule-stock.md | 7. The rule stock — read for it by hand until abaplint decides it | reviewing a change by hand for what abaplint does not decide yet |
Gate: none, and that is the definition. An entry lands in this section because a check passed while the code was wrong, or failed while it was right. A gate cannot cover it — if one could, the entry would have moved to a numbered section above.
IF sy-sysid = + backtick-ABC. ABC is the
system ID of the Node runtime, so the guard makes the method a silent no-op
in npm run unit while it still runs in a real system — CI stays green over
assertions nobody executes. A test that genuinely cannot run under the
transpiler belongs in the skip list of node/setup/abap_transpile.json
with a note naming the missing runtime capability; the runner then prints
it as skipped instead of pretending it passed. (The remaining sy-sysid
guards are all in the frozen src/99 — they are history, not precedent.)src/01/03/ comes
from npm run app2abap and a manual fix there is reverted by the next
generation, with check:app2abap failing the PR. The same trap outside this
repository, without a gate to catch it: in
abap2UI5/samples-controls#38 an over-length statement was first split by
hand in a file produced by scripts/generate-overview.mjs, and the split had
to be moved into the generator in a follow-up commit. Before editing any
src/ file, check whether something writes it.CLASS … DEFINITION PUBLIC FOR EVENTS OF <entity> or METHODS … FOR ENTITY EVENT, so the class pool does not parse and every finding on the file —
the structure error, the parser errors, the check_syntax follow-ups — is a
consequence of that, not of the ABAP. It also cannot resolve superclasses
that are not in the API dependency: cl_apc_wsp_ext_stateless_base is
on-premise only and absent from steampunk-2305-api, which made the
WebSocket handler and its callers report unknown references.
abap2UI5/samples-stack 468af3d sorted 25 findings into ten real ones and
fifteen artefacts. Never rewrite valid ABAP to satisfy a linter that cannot
see it. Suppress narrowly instead — per rule and per file, with the reason
written next to the entry, and global.noIssues only when the error comes
from the parser itself and no rule-level exclude can reach it. Scope it to
the .abap files so the .clas.xml keeps its object_naming and
xml_consistency coverage.Take the system's side. Commit the files exactly as abapGit serialized them,
then run npm run check:abapgit on the result — whatever it now flags is the
rule that was broken, and the fix belongs in this repository rather than in the
system.
When an import fails rather than diffs, read the message twice: the object named in it is often not the broken one. A missing BDEF reports as a DDLS problem and as a where-used-list error on unrelated classes; an over-length line reports as a literal problem and leaves an empty class behind.
Keep the catalogue worth reading: one entry, one defect that actually happened.
.github/scripts/abapgit-format-gate.mjs; statement-level checks that
only a real system runs go in .github/scripts/extended-check-gate.mjs. Keep
the prose entry as the reasoning. Test the rule both ways — inject the
defect, see it fire, confirm the tree is clean again.references/1-abapgit-round-trip.md (opens in a new tab)references/2-activation.md (opens in a new tab)references/3-extended-check.md (opens in a new tab)references/4-downport-and-transpile.md (opens in a new tab)references/5-runtime.md (opens in a new tab)references/7-rule-stock.md (opens in a new tab)references/why-the-tooling-is-blind.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/build-an-appHow to build an application WITH abap2UI5 (as opposed to changing the framework) - app class template, lifecycle, view building via z2ui5_cl_ui5_view_builder, data binding, events, popups, navigation, validation tooling. Use when writing or reviewing a z2ui5_if_app class, demo app, sample or any consumer application code./ui5-checkThe catalogue of UI5 problems a green CI does not catch - names that do not exist in the oldest supported release (icons, controls, properties, aggregations, enum values, modules, themes), layout that only works from a newer release on, views that fail to load rather than to render, and CSP/runtime traps. Also the staging area for the abap2UI5 linter - every entry says what a rule would need to decide it. Use when writing or reviewing any XML view, fragment or frontend module, when an icon or control "is simply not there" on an old system, and add the case here whenever a new one is found./view-chain-layoutThe layout rules for a z2ui5_cl_ui5_view_builder chain - one call per line, four spaces per tree level, the end( ) column, which factory( ) shape goes with which chain shape, blank lines, and the linter rule that checks them. Identical in abap2UI5, abap2UI5/samples, abap2UI5/samples-controls and abap2UI5/samples-stack. Use when writing, reviewing or reformatting any view built with the builder, when a chain has drifted, and when chain-house-layout fails.2 plugins ship this exact skill · first indexed Nov 15, 2026
npx claudepluginhub abap2ui5/abap2ui5 --plugin abap2ui5Other plugins' skills for the same job