sap-fiori-app-development
Guidelines for SAP Fiori app development for CAP and standalone projects. Use when creating or modifying SAP Fiori Elements applications, adding a List…
от SAP★ 162 звезды на GitHub
Установить sap-fiori-app-development в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
SAP Fiori App Development Guidelines (CAP & Standalone Projects)
General Guidelines (Applicable to CAP and Standalone Fiori Projects)
- Always ask the user whether they want to create a Fiori app for CAP (Cloud Application Programming) or a standalone Fiori project connected to an external OData service before proceeding with implementation, unless the technology stack is explicitly specified in the user's request.
- Use the Fiori MCP tools to create the Fiori UI using SAP Fiori Elements.
- After the Fiori MCP Server tools execute successfully, inform the user of completion. Do not verify or double-check - treat successful tool execution as confirmation.
- The data model should be suitable for SAP Fiori elements: at minimum one entity type that serves as the main entity for the application. Navigation properties to related entities are optional but enable richer UI patterns.
- Each property of an entity must have a proper datatype.
- Before modifying the code directly - first check whether Fiori MCP server provides a suitable function or tool, or if a specialized skill exists (e.g.
sap-fiori-analytical-chart).
Available Application Templates (Both CAP and Standalone Projects)
The Fiori MCP can create the following application templates for both CAP and standalone project backends:
- FE_LROP - List Report Object Page (most common, OData V2/V4)
- FE_ALP - Analytical List Page (OData V2/V4)
- FE_OVP - Overview Page (OData V2/V4)
- FE_WORKLIST - Worklist (OData V2/V4)
- FE_FEOP - Form Entry Object Page (OData V4 only)
- FE_FPM - Flexible Programming Model / Custom Page (OData V4 only)
- FF_SIMPLE - Basic SAPUI5 Freestyle template (can work without a data source)
Available Page Types
The Fiori MCP can add the following page types to existing applications:
- ListReport - Table view with filtering and search
- ObjectPage - Detail page for viewing/editing records
- CustomPage - Fully custom page with your own views
Application Structure
- When asked to create a SAP Fiori elements app, check whether the user input can be interpreted as an application organized into one or more pages containing table data or forms.
- Applications typically start with a List Report page showing data in a table, but other templates are available (see above).
- Details of a specific table row are shown in an Object Page based on the base entity.
- An Object Page can contain sections based on navigation properties (both to-one (0..1) and to-many associations) of its entity type.
- Details of a table section row (for to-many associations) can be shown in another Object Page based on the association's target entity.
Application Preview Guidelines
- Use the most specific script for the app in
package.json. - For CAP: Use watch scripts (e.g.,
npm run watch-manage-travel) - For standalone Fiori projects: Use
npm start(live backend) ornpm run start-mock(mock data)
CAP-Specific Guidelines
- The fiori app must be created in the
appfolder under the CAP application root folder created before withcds initoperation. This root folder is always a subfolder directly under working directory. - When creating UI applications following a CAP application summary, make sure to use UI application names as described in the project structure of the summary, unless user explicitly requested otherwise.
- On any follow-up request to change or modify the UI of the full stack CAP application, always try first to make the change in the fiori app unless really required in service.
- Provide primary keys of type UUID for all entities.
- When creating sample data in CSV files, all primary keys and foreign keys MUST be in UUID format (e.g.,
550e8400-e29b-41d4-a716-446655440001).
Standalone Fiori Project Guidelines
- For standalone Fiori projects based on external services, the application is created at the root level by Fiori MCP tools.
- Destination or SAP System Name: If the user doesn't provide a destination name or SAP system name, use the Fiori MCP Server to retrieve and present available destinations/systems for user selection.
- Fetching OData Service Metadata (for initial app creation only): Refer to the tools instructions for downloading OData service metadata. If Service Center MCP is available use that, otherwise use the Fiori MCP Server to download the metadata file. To refresh metadata in an already-created app, see point 8 below.
- Annotations should primarily be maintained in the backend service, and only app-specific UI customizations or overrides should be placed in local (frontend) annotations.
- Use frontend annotations only for app-specific UI tweaks (e.g.,
/webapp/annotations/annotation.xml) referenced inmanifest.jsonwith matchinguriandlocalUrivalues:"annotation": { "type": "ODataAnnotation", "uri": "annotations/annotation.xml", "settings": { "l
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл sap-fiori-app-development?
Guidelines 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-app-development?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sap-fiori-app-development запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…