/sap-ux-fiori-tools:sap-fiori-building-blocks building block type (table/chart/filter-bar/field/form/page/rich-text-editor/custom-column/custom-filter-field/custom-form-field/action), the target page, and the annotation path or target propertyfrom sap-ux-fiori-tools
Adds SAP Fiori Elements building blocks (Table, Chart, FilterBar, Field, Form, Page, Rich Text Editor, custom columns/filters/fields/actions) to FPM views or fragments via the Fiori MCP server.
Ships in sap-ux-fiori-tools. 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.
Add Fiori Elements building blocks (sap.fe macros) to a Flexible Programming Model (FPM) view or fragment.
This skill is the "before" — gathering the prerequisites (which annotation, which view, which aggregation
point). The Fiori MCP server's add-building-block functionality is the "do it" — it calls the same
generator as the SAP Page Editor (@sap-ux/fe-fpm-writer), so the XML, namespaces, and manifest.json
dependencies are always correct.
Never hand-write building block XML or use write_file/edit_file on the view. Manual XML produces wrong
namespaces, missing sap.fe.macros manifest entries, and hallucinated attributes. The execute_functionality
call with functionalityId: "add-building-block" is the only correct path.
This skill adds an existing building block to an app. It does not author a new building-block type — that
is a separate developer task in @sap-ux/fe-fpm-writer (new macro, templates, prompts) and is out of scope here.
list_functionality, get_functionality_details,
execute_functionality, and search_docs tools).@UI.LineItem, @UI.SelectionFields, @UI.FieldGroup, @UI.Chart) into a writable annotation
file when it does not already exist — you do not need to create it first. This works on both OData apps (XML
annotations) and CAP (CDS) projects (it writes into a writable .cds file via the annotation service, as long as
@sap/ux-cds-compiler-facade is installed — standard in a CAP dev environment). If there is no writable annotation
file (e.g. the facade is missing), the shell write is skipped with a warning and the building block is still added —
in that case the required UI annotation must already exist. For other standard building block types, the UI
annotation must already exist in the model. If unsure, check the annotation file first.| buildingBlockType | Use for | Binding |
|---|---|---|
table | list / line items | metaPath → @com.sap.vocabularies.UI.v1.LineItem |
chart | graph / analytics | metaPath → @com.sap.vocabularies.UI.v1.Chart |
filter-bar | search / filters | metaPath → @com.sap.vocabularies.UI.v1.SelectionFields |
field | single property / value | metaPath → annotation path for the property |
form | details section | metaPath → FieldGroup / property path |
page | custom page layout | — |
rich-text-editor | notes / rich text | metaPath → bound property path (e.g. /Products/description) |
rich-text-editor-button-groups | RTE toolbar config | — |
custom-column | extra table column | no metaPath; uses embededFragment |
custom-filter-field | custom filter field | no metaPath; uses embededFragment |
custom-form-field | custom form field | no metaPath; uses embededFragment |
action | toolbar button / action | no metaPath; uses embeddedAction |
metaPath is required for table, chart, filter-bar, field, form, and rich-text-editor (for the
rich-text-editor it is the bound property path, e.g. /Products/description). Custom-* types and action do not
use metaPath.
Standard building blocks are not valid on every page type. Typical support (verify against the app's page type before inserting):
| BB | List Report | Object Page | ALP | OVP | Custom Page |
|---|---|---|---|---|---|
| Table | ✅ | ✅ | ✅ | ❌ | ✅ |
| Chart | ✅ | ✅ | ✅ | ❌ | ✅ |
| FilterBar | ✅ | ❌ | ✅ | ❌ | ✅ |
| Field | ❌ | ✅ | ❌ | ❌ | ✅ |
| Form | ❌ | ✅ | ❌ | ❌ | ✅ |
| Rich Text Editor | ❌ | ✅ | ❌ | ❌ | ✅ (fragment only) |
If the requested building block is not supported on the target page type, tell the user instead of inserting it.
Modifying an existing Fiori app goes through the Fiori MCP server's three-step functionality protocol.
Adding a building block is the functionality with id add-building-block.
list_fiori_apps.list_functionality with the app path to confirm that
add-building-block is available.get_functionality_details
with { appPath, functionalityId: "add-building-block" }. Its description lists the available
insertion points: every view/fragment file and the valid aggregationPath XPath options for it
(e.g. /mvc:View/content). Its parameters is the JSON schema for the call in step 5. Do not guess the
viewOrFragmentPath or aggregationPath — use the values it returns.search_docs with the building block type name (e.g. "Table building block",
"FilterBar building block", "RichTextEditor building block") before populating buildingBlockData.
This is mandatory — do not skip it even if you think you know the property names.
Then determine the binding: for standard building blocks, pick the metaPath (an annotation path for
table/chart/filter-bar/field/form; the bound property path such as /Products/description for
rich-text-editor).execute_functionality with the chosen parameters:
{
"appPath": "<app path>",
"functionalityId": "add-building-block",
"parameters": {
"viewOrFragmentPath": "<one of the files from step 3>",
"aggregationPath": "<one of the XPaths from step 3>",
"buildingBlockData": { "buildingBlockType": "table", "id": "myTable" }
}
}
buildingBlockData carries buildingBlockType, an optional id, and the type-specific fields (e.g. metaPath).execute_functionality once per building block, in sequence — not in
parallel. Each call reads the view from disk; parallel calls won't see each other's writes and may produce
duplicate element IDs.Add to the main custom page view (webapp/ext/main/Main.view.xml, aggregation /mvc:View/content):
1. A FilterBar: id productFilterBar,
metaPath /Products/@com.sap.vocabularies.UI.v1.SelectionFields
2. A Table: id productTable,
metaPath /Products/@com.sap.vocabularies.UI.v1.LineItem, linked to productFilterBar
3. A Rich Text Editor: id productNotesRte, metaPath /Products/description
(Leave contextPath unset — use an absolute metaPath with a leading slash as above.)
aggregationPath (or viewOrFragmentPath) instead of using the options returned by
get_functionality_details.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/sap-fiori-add-visual-filterAdd visual filters (chart-based) to SAP Fiori Elements filter bar or value help using CAP or ABAP RAP. Use when asked to add chart filters, bar chart selectors, or visual filter bars to a Fiori Elements application./sap-fiori-analytical-chartAdd analytical chart (chart + table hybrid) to SAP Fiori Elements List Report using aggregated data. Supports CAP and ABAP RAP (OData V4). Use when asked to add a chart section, aggregated data visualization, or Analytical List Page chart to a List Report./sap-fiori-app-developmentGuidelines for SAP Fiori app development for CAP and standalone projects. Use when creating or modifying SAP Fiori Elements applications, adding a List Report, Object Page, or Worklist, or connecting a Fiori app to a CAP service or OData endpoint./sap-fiori-create-cliInvokes the @sap-ux/create CLI — generate, add, convert, remove, update, change, list, get commands for SAP Fiori projects. Use when asked to run sap-ux, invoke create CLI, add config to a project, generate adaptation-project, or use any sap-ux/create subcommand. Full options for each command group are in the linked references./sap-fiori-eslint-pluginConfigure, migrate, or run ESLint with @sap-ux/eslint-plugin-fiori-tools in SAP Fiori projects (standalone or CAP). Use when ESLint is missing and the user wants to add it or add code quality checks; when an existing .eslintrc or eslint@8 config needs upgrading to ESLint 9 flat config; when the user wants to run linting, fix lint errors, or ESLint is broken or not working; or when the user wants to see the application issues or UX consistency issues for a specific app — e.g. "show application issue(s) for my project <project_name>", "show application issues for app X", "UX consistency issues", "issues consistent with Page Map", "same issues as Application Information".
/sap-fiori-opa5-test-developmentUse this skill when writing, fixing, extending, or reviewing OPA5 integration tests for SAP Fiori Elements applications - whether the app uses OData V4 (sap.fe.test library) or OData V2 (fioriElementsTestLibrary). Triggers on any request involving OPA5 journeys, page objects, JourneyRunner setup, test structure, mock data, or debugging test failures in a SAP Fiori Elements project generated by SAP Fiori tools. Use even when the user says "write integration tests" or "add an OPA journey" without specifying the library, as long as the project context is SAP Fiori Elements. Not applicable to freestyle UI5 apps.Generated from the plugin's indexed repository (sap/open-ux-tools) — no native marketplace selected
npx claudepluginhub p/sap-sap-ux-fiori-tools-plugins-coding-agents-fioriOther plugins' skills for the same job