mcp-add-bb-support
БесплатноБез исполняемых скриптовНе проверенWire a new BuildingBlockType from @sap-ux/fe-fpm-writer into the fiori-mcp-server. Use when the schema.ts satisfies check fails after a new type was added to…
от SAP★ 162 звезды на GitHubОб этом скилле
Add a New BuildingBlockType to fiori-mcp-server
Use this skill when @sap-ux/fe-fpm-writer adds a new BuildingBlockType and the build errors with
a missing property in schema.ts, or when bb-sync.test.ts fails.
Do not manually patch schema.ts and stop there — that will compile but produce wrong runtime behaviour. Work through every touchpoint using the steps below.
Before starting, create a task for each of the five steps below and mark them complete as you go.
Step 1 — Find the missing type(s)
Build @sap-ux/fiori-mcp-server and read the tsc errors in schema.ts — the string value of the
missing type (e.g. 'custom-header') is what needs wiring. Alternatively run the bb-sync test
and read the failing test error messages — they name the missing type directly.
Step 2 — Classify the new type
Read references/discover-new-bb.md and answer the five questions about the new type.
The answers determine which touchpoints apply.
Step 3 — Wire into fiori-mcp-server
Read references/wire-into-mcp-server.md and apply all matching changes in one pass.
Use this as your working checklist — tick each item off as you complete it:
-
schema.ts— add entry tobuildingBlockSchemaByType -
utils.ts— add toAGGREGATION_PARENT_MACRO(if aggregation child) -
utils.ts— add toANNOTATION_SHELL_TERMS(if needs annotation shell) -
utils.ts— add toBB_TYPE_MIN_UI5_VERSION+ import constant (if versioned) -
translate.ts— add toPOSITION_WRAP_TYPES(if hasposition) — manual review, no test -
translate.ts— add toEMBEDDED_FRAGMENT_TYPES(if hasembededFragment) — manual review, no test -
translate.ts— add field renameifblock (if XML → TS renames) — manual review, no test -
translate.ts— updateresolveAggregationChildDefaults(if aggregation child with a key field) — manual review, no test -
fe-fpm-writer.cjs— add type toBuildingBlockType(always) + constant (if versioned) -
execute-functionality.test.ts— add type to localBuildingBlockType(always) + constant (if versioned) -
utils.test.ts— updateBB_TYPE_MIN_UI5_VERSIONkeys assertion (if versioned) -
schema.test.ts.snap+list-functionalities.test.ts.snap— regenerate both snapshots -
annotations.ts— add branch (if annotation shell needed — see Step 4) -
get-functionality-details.ts— add special rules (if non-standard placement — see Step 4)
Step 4 — Conditional wiring (only if needed)
Read references/conditional-wiring.md if the new type needs any of:
- An annotation shell (
ANNOTATION_SHELL_TERMSentry added in Step 3) - Non-standard placement rules
Step 5 — Verify
pnpm --filter @sap-ux/fe-fpm-writer build
pnpm --filter @sap-ux/fiori-mcp-server build
pnpm --filter @sap-ux/fiori-mcp-server test
All tests must pass, including bb-sync.test.ts.
After all tests pass, print the following message verbatim:
✅ Skill complete — build and tests pass.
⚠️ Note the following before closing:
- Tests confirm registration, not correctness. A human must verify the translate.ts wiring decisions (position, fragment, renames, aggregation defaults) match the new type's interface — a wrong wiring compiles green and passes every test, then generates broken XML at runtime.
- search_docs won't return results for this new building block type until build-bb-macro-docs.ts is manually updated and data_local/bb_macro_api.md is regenerated. See references/conditional-wiring.md.
Установить mcp-add-bb-support в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл mcp-add-bb-support?
Wire a new BuildingBlockType from @sap-ux/fe-fpm-writer into the fiori-mcp-server. Use when the schema.ts satisfies check fails after a new type was added to fe-fpm-writer.
Как установить скилл mcp-add-bb-support?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mcp-add-bb-support запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic