/abap2ui5:build-an-appfrom abap2UI5
Guides building applications with abap2UI5: app class template, lifecycle, view building, data binding, events, popups, navigation, and validation. Use when writing or reviewing z2ui5_if_app consumer code.
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.
None: SKILL.md is the whole skill.
Read ${CLAUDE_PLUGIN_ROOT}/docs/agents/building-apps.md (the framework's
guide, shipped with this plugin: docs/agents/building-apps.md two folders
above this skill's own) — it is the complete
self-contained guide (template, lifecycle, builder verbs, binding rules,
events, popups, navigation, portability rules, validation tooling). This
skill is the trigger and the checklist; the guide is the content.
Before writing one from scratch, ask whether it exists. abap2UI5/samples
holds 150 working apps, each linted, rendered and downported to three
releases — a value help, a tree, navigation between two apps, a dynamic table
typed at runtime. Reading one beats reproducing it, and beats any snippet: the
sample is gated, a snippet is a copy somebody has to keep in step.
examples
tool queries that catalogue (examples { query: "value help f4" }) and
hands back the class to read. Its neighbour capabilities answers the other
question — whether a UI5 control can be expressed at all — out of
samples-controls' 622 ports.The rules that go wrong most often. Each is one line here and a section of the guide — read the section before you rely on the line.
z2ui5_if_app; main( client ) runs once per
roundtrip and is ONE IF/ELSEIF chain, so exactly one arm runs:
IF client->check_on_init( ). seeds and displays, ELSEIF client->check_on_navigated( ). displays, ELSEIF client->check_on_event( ).
dispatches. The navigated arm is not optional — it is the roundtrip a
called app or a value help hands control back on. An app with nothing to
seed drops the init arm. Never separate IF blocks, never one nested in
another (guide §2; the linter's missing-view-display-on-navigated,
redundant-init-display, separate-lifecycle-ifs).IF client->check_on_init( ).,
never IS INITIAL / IS NOT INITIAL. A negative branch, and every other
abap_bool, is compared: = abap_false.z2ui5_cl_ui5_view_builder (ele/tag/a/end/
stringify). The legacy z2ui5_cl_xml_view is frozen — never in new code.a( ) has three value parameters: v for constants, bindings and
events; b for a boolean from an ABAP variable (abap_true in v
serializes as X); t for text that carries data, which the builder
escapes so a { in it is not read as a binding (guide §3).view-chain-layout
skill is the single source of the rules, the factory( ) shape that goes
with each chain shape included (the linter's chain-house-layout rule:
npm run check:abap2ui5 reports,
npm run fmt:chains applies). Write the chain, run the formatter, read the
diff.client->_bind( var ), display-only included; _bind_edit
is obsolete. Row-template fields bind as `{UPPERCASE}`. Never write a
model path as a text literal. A value the view shows is bound, not baked
into the view — changed bound data is pushed automatically, and
view_model_update( ) does nothing (guide §4).client->_event( NAME ), dispatched with
CASE client->get_event( ).. Client-resolved arguments are $-prefixed;
an argument that carries data goes on a wire with
s_ctrl-check_arg_literal = abap_true; a per-keystroke wire (liveChange,
liveSearch, sliderChange) sets s_ctrl-check_queue_last (guide §5).popup_display( val = … ), but popover_display( xml = … by_id = … ). A button that only closes is
follow_up_action( val = cs_event-popup_close ), not a backend event
(guide §6).ui5-check skill).main.npx --yes @abap2ui5/linter <file>); iterate without a SAP
system via the mcp-server (deploy_app → build_backend → run_app,
then interact_app to drive the event branch and run_unit_tests for
the class's own test double — guide §9 has the tooling and the double).abap-check skill —
the abapGit round trip and activation. They catch what a green lint does
not; its other sections are for the cases their headings name.src/02/z2ui5_if_client.intf.abap in
abap2UI5/abap2UI5 — when unsure about
a method or a cs_event action, read it there; the follow_up_action
abapdoc documents the full frontend-action catalog. For a signature alone,
the generated index is enough: ${CLAUDE_PLUGIN_ROOT}/docs/agents/client-api.md
(shipped with this plugin, next to the guide),
every signature in one short file, the obsolete ones apart.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub abap2ui5/abap2ui5 --plugin abap2ui54 skills in this plugin
/abap-checkThe catalogue of ABAP problems a green CI does not catch - abapGit round-trip and import failures (BOM, line endings, trailing whitespace, EOF newline, 255-character lines, metadata sidecars for CLAS and for DDLS/BDEF/TABL), activation errors abaplint does not model (class_constructor visibility, LOCAL FRIENDS, generic types on older releases, reserved table field names, RAP and CDS), extended-check (SLIN/ATC) traps, downport and transpiler traps, and runtime breakage that only shows on a real system. Use before finishing any change under src/, after editing a .clas.xml or any other metadata sidecar, when a pull into a system produced unexpected diffs, an import error or an activation error - and add the case here whenever a new one is found./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
Other plugins' skills for the same job