Command Palette

Search for a command to run...

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

sap-sac-custom-widget

БесплатноЗапускает вложенные скриптыНе проверен

SAP Analytics Cloud (SAC) Custom Widget development. Use when building custom visualizations, extending SAC with Web Components, or creating Widget Add-Ons…

secondskyот secondsky★ 511 звёзд на GitHub15 установок в других каталогах

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

SAP Analytics Cloud Custom Widget Development

Related Skills

  • sap-sac-scripting: Use when custom widgets interact with SAC scripting, widgets, or story/application APIs
  • sap-sac-planning: Use when widgets participate in planning workflows or planning table interactions
  • sapui5: Use for Web Component/UI5 frontend implementation patterns and browser-side quality
  • sap-dependency-security: Use when adding third-party charting or build dependencies to widget projects

Table of Contents

Overview

This skill enables development of custom widgets for SAP Analytics Cloud (SAC). Custom widgets are Web Components that extend SAC stories and applications with custom visualizations, interactive elements, and specialized functionality.

When to Use This Skill

Use this skill when:

  • Building custom visualizations not available in standard SAC
  • Generating prompt-driven widget ideas, branded widget packages, or composite-ready widget designs
  • Integrating third-party charting libraries (ECharts, D3.js, Chart.js)
  • Creating interactive input components for SAC applications
  • Implementing specialized data displays or KPI widgets
  • Extending Analytics Designer applications with custom functionality
  • Troubleshooting custom widget loading or data binding issues

Requirements:

  • SAC tenant with Optimized Story Experience or Analytics Designer
  • JavaScript/Web Components knowledge
  • External hosting (GitHub Pages, AWS S3, Azure) OR SAC-hosted resources (QRC Q2 2023+)

AI-Assisted Generation

For prompt-driven widget creation, first classify the widget role and data-source mode, then suggest 2-3 role-aware options before generating the selected complete package. Keep AI-generated code SAC-compatible, preserve data-binding order when used, and validate/repair before import. See references/ai-assisted-composite-generation.md for output contracts, RAG context patterns, brand styling, and composite caveats.


Widget Discovery and Evidence Intake

Before generating a table, chart, KPI, menu, sidebar, filter, or hybrid control, select both its widget role and data-source mode. Request dimensions, measures/key figures, dates, versions, filters, and feed order only for SAC-bound widgets. For pure UI controls, collect interaction, navigation, state, method/event, accessibility, and responsive-layout requirements instead. Accept user-provided screenshots, PDFs, images, brand guides, and sanitized data as evidence, but confirm technical IDs, feed mappings, asset rights, and licenses before code generation. See references/widget-discovery-intake.md for the Widget Brief, evidence boundaries, and hosted-tool safeguards.


Local Custom Widget Builder

For enterprise or locked-down local environments, offer templates/local-builder/ as the standard no-install scaffold builder. It runs as static HTML/CSS/vanilla JavaScript, avoids public CDNs and external packages, and exports SAC upload artifacts as two separate downloads: widget.json and a Resource-ZIP containing only root-level component JavaScript files. Use Node's server.mjs fallback when direct file:// use is blocked. When a user explicitly permits public-web use for a non-sensitive desktop prototype, optionally suggest the Custom Widget Builder or live demo; never send tenant material or trust its exports without local validation. See references/local-builder-workflow.md for builder boundaries, export rules, hosted-tool safeguards, and validation checks.


SAP Sample Widget Lessons

Before generating a chart, KPI, hierarchy, input utility, Widget Add-On, or build-based widget, consult references/sap-sample-widget-lessons.md. It audits every SAP sample folder and distills reusable lessons for Data Binding-first scaffolds, root-relative Resource-ZIP URLs, styling/builder panel separation, support flags, custom types, script methods/events, add-on extensions[], and build-based app caveats. Use the lessons for structure and

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

Установить sap-sac-custom-widget в Claude Code и Claude Desktop

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

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

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

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

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

Read
Bash
WebFetch

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

README.mdagents/openai.yamlreferences/advanced-topics.mdreferences/ai-assisted-composite-generation.mdreferences/best-practices-guide.mdreferences/browser-design-runtime.mdreferences/css-and-styling-compliance.mdreferences/echarts-integration.mdreferences/integration-and-migration.mdreferences/json-schema-reference.mdreferences/local-builder-workflow.mdreferences/production-widget-lessons.mdreferences/property-lifecycle.mdreferences/sac-import-packaging-lessons.mdreferences/sap-sample-widget-lessons.mdreferences/script-api-reference.mdreferences/verification-and-artifacts.mdreferences/widget-addon-guide.mdreferences/widget-discovery-intake.mdreferences/widget-templates.mdtemplates/basic-widget.jstemplates/builder-panel.jstemplates/data-bound-chart.jstemplates/design-runtime/design-runtime.jsontemplates/design-runtime/index.htmltemplates/design-runtime/runtime.csstemplates/design-runtime/runtime.jstemplates/local-builder/builder-config.jsontemplates/local-builder/builder.csstemplates/local-builder/builder.jstemplates/local-builder/index.htmltemplates/local-builder/server.mjstemplates/styling-panel.jstemplates/widget.json-completetemplates/widget.json-minimal

FAQ

Что делает скилл sap-sac-custom-widget?

SAP Analytics Cloud (SAC) Custom Widget development. Use when building custom visualizations, extending SAC with Web Components, or creating Widget Add-Ons. Covers JSON metadata, JavaScript Web Components, lifecycle functions, data binding with feeds, styling/builder panels, property/event/method definitions, third-party library integration, hosting, security, performance, and debugging. Includes Widget Add-On feature (QRC Q4 2023+) and templates for widgets, charts, and KPI cards.

Как установить скилл sap-sac-custom-widget?

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

Скилл sap-sac-custom-widget запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить sap-sac-custom-widget с