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★ 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_stepis 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-serverrunning as an MCP server. It providesrun_rta_workflow_stepand the otherfiori-mcptools 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:
PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATHenv var (absolute path to a Chromium binary)PLAYWRIGHT_BROWSER_CHANNELenv var (chrome,msedge,chrome-beta, etc.)- System Google Chrome (default channel)
- 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. Usedescribe_ui/execute_page_actionto 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
Установить adp-controller-extension в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic