Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

adp-controller-extension

БесплатноБез исполняемых скриптовНе проверен

Use when the user wants to make UI changes to a SAP Fiori adaptation project via the adaptation editor — adding buttons, fields, columns, or sections…

SAPот SAP★ 162 звезды на GitHub

Об этом скилле

SAP Fiori ADP Controller Extension

Drive Runtime Authoring (RTA) in the SAP Fiori adaptation editor through the run_rta_workflow_step MCP tool exposed by fiori-mcp-server. The tool handles browser automation server-side; this skill orchestrates the step sequence and the AI decisions between steps.

Tool boundary. run_rta_workflow_step is a skill-internal dispatcher. Don't call it ad-hoc — the value of this skill is in the AI decision points between steps (control selection, action selection, payload preparation). Calling out of order will fail with a descriptive error.

Prerequisites

  • @sap-ux/fiori-mcp-server running as an MCP server. It provides run_rta_workflow_step and the other fiori-mcp tools this skill drives without it none of the tool calls below resolve. See the package's install/setup instructions: https://www.npmjs.com/package/@sap-ux/fiori-mcp-server
  • Adaptation editor URL (user-provided)
  • A Chromium-based browser the server can launch. Resolution order:
    1. PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH env var (absolute path to a Chromium binary)
    2. PLAYWRIGHT_BROWSER_CHANNEL env var (chrome, msedge, chrome-beta, etc.)
    3. System Google Chrome (default channel)
    4. Playwright-managed Chromium (auto-fallback if 1–3 fail)

Chromium fallback (no system Chrome)

If no system Chrome is found and no env override is set, the server falls back to Playwright's bundled Chromium. Install it once if needed:

npx playwright install chromium

The first install downloads ~120 MB. Subsequent runs reuse the cache. See the Error Handling table for the detection sequence on a start failure.

Tool Contract

A single tool, dispatched by the step argument. site is the editor URL from open_adaptation_editor — pass it on every step. The tool keeps the browser session server-side, keyed per project (that is why start/restart/get_odata_metadata require appPath); each other step locates its page by site.

step site frameId payload returns
start required required ("preview") { agentName? } { site, frameId, rtaStarted: true }
describe_ui required carry forward { rootElementId? } { uiTree: UiElementNode }
execute_page_action required carry forward { actionName, elementId?, actionParameters? } { isSuccess: boolean, result? }
get_overlays required carry forward — { overlays: Overlay[], actionsCatalog: { [actionId]: Action } }
get_context required carry forward { controlId, actionId } { context }
call_action required carry forward { controlId, actionId, actionPayload } { success: boolean }
save required carry forward — { saved: boolean }
cleanup required carry forward { reason? } { cleaned: boolean }
restart required carry forward — { site, frameId, rtaStarted: true }
stop required carry forward — { stopped: true }

Overlay = { overlayId, controlId, label, controlType, parentElementId, parentAggregationName, index?, actionIds: string[] } — index is the 0-based position within parentAggregationName and is omitted when the parent/aggregation can't be resolved or the aggregation is single-cardinality. actionIds lists the RTA actions available on this overlay; rich metadata for each id is in the top-level actionsCatalog. Action = { id, label, description?, parameters: [{ name, type, required?, description? }] } — keyed by actionId in actionsCatalog. The catalog is deduplicated across all overlays in a single get_overlays response, so an id appears once even when many overlays expose it. UiElementNode = { id, type, label?, children?: UiElementNode[], truncated?, childCount? } — one node in the UI element tree returned by describe_ui. id is the UI5 control id; pass it as elementId in execute_page_action. An unscoped describe_ui returns a shallow overview (top levels only); a node whose children were omitted is marked truncated: true with childCount. To see inside it, call describe_ui again with rootElementId set to that node's id — a scoped call returns that subtree at full depth.

For the standard adaptation editor preview iframe, pass frameId: "preview" in the start step.

When to reach for the navigation steps. The RTA steps (get_overlays → … → save) assume the page is already showing the control to edit. In Fiori Elements apps that often isn't true on first load — a List Report shows no rows until "Go" is pressed; an Object Page is only reachable after picking a row. Use describe_ui / execute_page_action to drive these pre-RTA navigations from the skill instead of asking the user to click manually. See Step 2 — Navigate the app below.

RTA Actions

CTX_ADDXML (fragment insert) and CTX_EXTEND_CONTROLLER (controller attach). Field schemas an

Полный SKILL.md на GitHub

Установить adp-controller-extension в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/example-session.mdreferences/hitl-gating.mdreferences/rta-actions.md

FAQ

Что делает скилл adp-controller-extension?

Use when the user wants to make UI changes to a SAP Fiori adaptation project via the adaptation editor — adding buttons, fields, columns, or sections, changing labels or properties, hiding controls, or extending controllers with custom logic. Trigger on phrases like 'add a button', 'hide a field', 'add a column', 'customize the toolbar', or 'extend the controller' when working in an adaptation project context.

Как установить скилл adp-controller-extension?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл adp-controller-extension запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить adp-controller-extension с