Przejdź do treści
Biblioteka skilli
Dane i analityka · Budowanie i kod

consumer-goods-tpe-dashboard-configure

/consumer-goods-tpe-dashboard-configure

Konfiguruje bez interfejsu dashboardy skuteczności promocji TPM: uprawnienia, Data Cloud, eksporty i aplikację analityczną.

Repozytorium
sf-skills ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
23.10.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
10
Skrypty
6
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 23.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co sprawdzić przed instalacją
  • 6 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/find-failure-reason.js, scripts/poll-status.js, scripts/render-apex.js, scripts/run-data-transform.js, scripts/sf-rest.js, scripts/soql-escape.js

Co robi i kiedy

Konfiguruje bez interfejsu dashboardy skuteczności promocji TPM: uprawnienia, Data Cloud, eksporty i aplikację analityczną.

Oryginalny opis (EN)

End-to-end headless setup of Trade Promotion Effectiveness (TPE) dashboards for a Trade Promotion Management (TPM) Cloud org, covering tenant pairing checks, permission sets, SSOT and Tableau Next enablement, C360 SDM verification, the TPM Accruals data kit install, business-period export, RTR Data Cloud export configuration, the TPM_PROMOTION_MEASURE Data Transform, TPE Analytics app install, and optional KPI dashboard customization. Use when a customer or admin wants to set up TPE dashboards, enable Trade Promotion Effectiveness, install the TPE analytics app, or set up and customize TPE das

Jak działa

  1. Inputs to collect first
  2. Phase list
  3. Scripts
  4. Report
Sekcje z nagłówków SKILL.md, w oryginale · 58 linii, 663 słów
Podgląd SKILL.md
---
name: consumer-goods-tpe-dashboard-configure
description: "End-to-end headless setup of Trade Promotion Effectiveness (TPE) dashboards for a Trade Promotion Management (TPM) Cloud org, covering tenant pairing checks, permission sets, SSOT and Tableau Next enablement, C360 SDM verification, the TPM Accruals data kit install, business-period export, RTR Data Cloud export configuration, the TPM_PROMOTION_MEASURE Data Transform, TPE Analytics app install, and optional KPI dashboard customization. Use when a customer or admin wants to set up TPE dashboards, enable Trade Promotion Effectiveness, install the TPE analytics app, or set up and customize TPE dashboards with their own KPIs."
metadata:
  version: "1.0"
  minApiVersion: "67.0"
  domains:
    - "Consumer Goods"
  relatedSkills:
    - "consumer-goods-rtr-datacloud-export-configure"
    - "consumer-goods-tpe-dashboard-custom-kpi-configure"
    - "consumer-goods-tpe-datakit-deploy"
  cliTools:
    - tool: ["node"]
      semver: ">=20.0.0"
    - tool: ["sf"]
      semver: ">=2.0.0"
---

# Consumer Goods TPE Dashboard Configure

Bring a TPM org from bare state to a running TPE dashboard in one guided session, driven entirely by `sf` CLI + REST/anonymous-Apex against an already-authenticated org — never a password or interactive login on the user's behalf.

Persona: a **Salesforce TPM System Admin** setting up TPE dashboards for their org.

Delegates three of its twelve steps to standalone sibling skills (own `SKILL.md`, own inputs, self-contained per this repo's skills architecture rules — no shared files):

- Step 7 → `consumer-goods-tpe-datakit-deploy`
- Step 9 → `consumer-goods-rtr-datacloud-export-configure`
- Step 12 → `consumer-goods-tpe-dashboard-custom-kpi-configure` (optional, only if the customer wants custom KPIs on the base dashboards)

Every other step runs directly in this skill.

## Inputs to collect first

Ask before starting. Do not guess.

1. **TPM System Admin username** — must already be authenticated via `sf` CLI. Verify with `node ./scripts/sf-rest.js org-status --target-org <username>` (never `sf org display --json` directly — see `references/phases-1-6.md`).
2. **Dry-run?** — offer by default. In dry-run, every read/verify/check step still runs; every write/trigger/install step is skipped and recorded as `pending — not run (dry-run)`.

Also detect the installed package namespace and version-gate the org (Consumer Goods Cloud >= 262.2 required) before Phase 1 — see "Namespace detection" in `references/phases-1-6.md`.

## Phase list

| Phase | Step | Summary | Details |
|---|---|---|---|
| Setup | — | Collect inputs, detect namespace, version-gate the org | `references/phases-1-6.md` |
| 1 | Tenant pairing | Ask user to confirm Hyperforce Processing Service pairing (not verifiable programmatically) | `references/phases-1-6.md` |
| 2 | TPM Admin permission set(s) | Ask user to confirm org-specific persona permission sets are assigned | `references/phases-1-6.md` |
| 3 | GenieAdmin / TableauEinsteinAdmin | Query, and on confirmation assign, these two permission sets | `references/phases-1-6.md` |
| 4 | SSOT package | Verify the `ssot` managed package is installed | `references/phases-1-6.md` |
| 5 | Enable Tableau Next | Ask user to confirm manual UI enablement (not verifiable programmatically) | `references/phases-1-6.md` |
| 6 | C360 SDM | Verify or trigger + poll the C360 Unified Semantic Model app install | `references/phases-1-6.md` |
| 7 | TPM Accruals Data Kit | **Delegated** to `consumer-goods-tpe-datakit-deploy` | `references/phases-7-12.md` |
| 8 | Business Period export | Anonymous-Apex export via a Hyperforce-substrate Sales Org, poll, then confirm the `tpmbusinessperiod` Data Stream sync | `references/phases-7-12.md` |
| 9 | RTR Data Cloud export | **Delegated** to `consumer-goods-rtr-datacloud-export-configure` | `references/phases-7-12.md` |
| 10 | TPM_PROMOTION_MEASURE Data Transform | Ask (credit consumption), then run and poll the Data Transform | `references/phases-7-12.md` |
| 11 | TPE Analytics App install | Trigger + poll the async app-framework install (~15-20 min) | `references/phases-7-12.md` |
| 12 | Customize KPIs (optional) | **Delegated** to `consumer-goods-tpe-dashboard-custom-kpi-configure`, only if requested | `references/phases-7-12.md` |

`references/phases-7-12.md` also documents the shared `scripts/poll-status.js` poller and the full set of hard Rules (never authenticate on the user's behalf, never hardcode a namespace or Sales Org, never claim success on anything but a terminal success status, a poll timeout is not a failure, etc.) that apply across every phase.

## Scripts

- `scripts/sf-rest.js` — authenticated REST calls; also exposes `org-status` (strips `accessToken` before printing).
- `scripts/poll-status.js` — generic async-status poller, reused by Phases 6 and 11.
- `scripts/find-failure-reason.js` — extracts the actual per-requirement failure reason for a `FailedStatus` app-framework install (Phase 11), including "DMO not available" detection.
- `scripts/render-apex.js` — renders an anonymous-Apex template with `--var` substitutions; loads `scripts/soql-escape.js` to escape substituted literals.
- `scripts/soql-escape.js` — escapes a value for safe interpolation into a single-quoted SOQL/Apex string literal.
- `scripts/run-data-transform.js` — triggers and polls a named Data Transform (Phase 10).
- `scripts/schedule-business-period-export.apex` — anonymous-Apex template for Phase 8.

## Report

At the end of a run, give the user a structured status per phase (1-12): pass / blocked / pending, with the specific blocking reason and remediation click-path where applicable. Call out anything skipped due to dry-run, a declined confirmation, or (Phase 12) the customer opting out of KPI customization.
Pliki w paczce (10)
  • SKILL.md 6 KB
  • references/phases-1-6.md 9 KB
  • references/phases-7-12.md 21 KB
  • scripts/find-failure-reason.js 5 KB
  • scripts/poll-status.js 3 KB
  • scripts/render-apex.js 2 KB
  • scripts/run-data-transform.js 4 KB
  • scripts/schedule-business-period-export.apex 2 KB
  • scripts/sf-rest.js 6 KB
  • scripts/soql-escape.js 1 KB

Wersje

W bazie nie ma innych skilli o nazwie consumer-goods-tpe-dashboard-configure.

Identyczna treść występuje jeszcze w 3 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 28.10.2026 · wersja paczki 557dffd3dffc (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90consumer-goods-rtr-datacloud-export-configure
    Konfiguruje eksport RTR z systemu TPM do Data Cloud dla dashboardów skuteczności promocji.
  • 100consumer-goods-tpe-datakit-deploy
    Wdraża komponenty TPM Accruals Data Kit potrzebne wyłącznie do dashboardów Trade Promotion Effectiveness (TPE), samodzielnie lub jako krok delegowany z consumer-goods-tpe-dashboard-configure.
  • 100kpi-dashboard-design
    Projektuje skuteczne dashboardy KPI: dobór metryk, dobre praktyki wizualizacji i wzorce monitoringu w czasie rzeczywistym dla dashboardów biznesowych.
  • 100kpi-dashboard-design
    Projektuje skuteczne dashboardy KPI: dobór metryk, dobre praktyki wizualizacji i wzorce monitorowania w czasie rzeczywistym, przy budowie dashboardów biznesowych.
  • 91optuna-hyperparameter-tuning
    Dostraja parametry metaheurystyk i solverów w Optuna: definiuje przestrzeń poszukiwań, próbkowanie TPE, wczesne przycinanie słabych konfiguracji i walidację na zbiorze wydzielonym.
  • 100devexpress-dashboard-export
    Eksportuje DevExpress Dashboards do PDF, obrazu lub Excela w kodzie: eksport po stronie serwera, zdarzenia CustomExport i CustomizeExportDocument oraz konfiguracja interfejsu eksportu w ASP.NET Core i Blazor.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.