sap-fiori-building-blocks
SAP Fiori Elements Building Blocks
Purpose
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.
Scope
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.