aa-kpi-pulse

生成一份简洁的KPI摘要,展示关键指标在一段时间内的变化情况并说明驱动这些变化的主要因素。用于请求业绩总结、每周回顾、晨会简报或KPI更新,如“给我一个业绩概览”“过去7天有什么变化”“调取我们的AA KPI报告”或“总结一下我们的指标”。

仓库最近推送
GitHub Stars
339
Forks
105
Issues / PRs
21

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "aa-kpi-pulse":https://skillpi.com/zh/skills/deepskill-a0001d66f3b93554ae7a43e2fc12ce489d2141335a6367d1e301bde23565d56b。安装前核对上游来源和版本:https://github.com/adobe/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

生成一份简洁的KPI摘要,展示关键指标在一段时间内的变化情况并说明驱动这些变化的主要因素。用于请求业绩总结、每周回顾、晨会简报或KPI更新,如“给我一个业绩概览”“过去7天有什么变化”“调取我们的AA KPI报告”或“总结一下我们的指标”。

0 下载

介绍来源: third_party · adobe · 1.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
软件、账号及付费要求
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: aa-kpi-pulse
description: >
  Produces a compact KPI digest showing how key metrics changed over a period
  and what's driving the movement. Use this skill when someone asks for a
  performance summary, a weekly recap, a morning briefing, a KPI update, or any
  variation of "how did we do this week/month." Also trigger for "give me a
  performance overview," "what moved in the last 7 days," "pull our AA KPI
  report," or "summarize our metrics."
license: Apache-2.0
metadata:
  author: Adobe
  version: "1.0"

KPI Pulse (Adobe Analytics)

Produce a compact, digestible KPI digest showing how key metrics changed over a chosen period, which items drove the change, and what stood out. Batches all KPIs into two runReport calls (current period + comparison period) and assembles results into an HTML performance card deck.


AA MCP Tools Used

  • findReportSuites — select working report suite
  • setSessionDefaults — set session context (reportSuiteId + globalCompanyId)
  • describeAa(REPORT_SUITE_CONTEXT_GUIDE) — load org context, top metrics, calendar config, and timezone
  • findMetrics — discover and validate metric IDs
  • listComponentUsage — identify top-used metrics if user hasn't specified
  • runReport — all KPIs batched in one call per period (current + comparison)
  • searchDimensionItems — find top contributors for top-mover callouts

Phase 0 — Setup

  1. Confirm report suite with findReportSuites / setSessionDefaults.
  2. Call describeAa(REPORT_SUITE_CONTEXT_GUIDE) to load organizational context: top metrics, calendar configuration, and timezone. Record the report suite's first-day-of-week as WEEK_START_DOW and the report suite timezone as TIMEZONE — you will use both when computing reporting periods in Phase 2. If the context guide returns no WEEK_START_DOW, default to Monday (ISO 8601).
findReportSuites(globalCompanyId: "<gcid>")
setSessionDefaults(globalCompanyId: "<gcid>", reportSuiteId: "<rsid>")
describeAa(guideType: "REPORT_SUITE_CONTEXT_GUIDE")

Phase 1 — Select KPIs

1.1 If the user specified metrics

Resolve each to an AA metric ID:

findMetrics(searchTerm: "<metric name>")

Cap at 8 metrics for a focused pulse. If more are requested, ask the user to prioritize or offer to split into multiple reports.

1.2 If the user has not specified metrics

Use listComponentUsage to find the most-used metrics in the report suite:

listComponentUsage(componentType: "metric")

Select the top 5–7 by usage count. Confirm with the user:

"Based on usage, I'll track: Visits, Page Views, Revenue, Orders, Conversion Rate, Bounce Rate. Does this look right, or would you like to adjust?"


Phase 2 — Select Time Periods

Ask the user what period to report on, or infer from context:

Request Current Period Comparison Period
"this week" Last 7 days Prior 7 days
"this month" Month-to-date Same period last month
"last month" Last full calendar month Same month prior year
"this quarter" Quarter-to-date Same period last quarter
"YTD" Jan 1 to today Same period prior year

Confirm: "I'll compare [current period] vs [comparison period]. Is that right?"

Calendar rule (mandatory): the current period and the comparison period MUST use the same WEEK_START_DOW from Phase 0. For weekly pulses, both periods' startDate fall on the same day-of-week, both are exactly 7 days long, and the comparison period ends immediately before the current period starts. Never mix conventions (e.g., a Mon–Sun current with a Sun–Sat prior) within the same pulse. For custom date ranges, compute the comparison period as the equal-length window ending immediately before the current period starts.

Sanity check before calling runReport: confirm current.startDate and comparison.startDate are the same day-of-week and that current.startDate - comparison.endDate == 1 day. If not, recompute.

Edge case: If today is within the first 3 days of a period, note that the current-period data may be incomplete and the comparison may look skewed.


Phase 3 — Fetch KPI Data

Batch all selected metrics into a single call per period:

runReport(
  metricIds: "<metricId1>,<metricId2>,<metricId3>,...",
  dimensionId: "variables/daterangeday",
  startDate: "<current period start>T00:00",
  endDate: "<current period end>T23:59"
)

runReport(
  metricIds: "<metricId1>,<metricId2>,<metricId3>,...",
  dimensionId: "variables/daterangeday",
  startDate: "<comparison period start>T00:00",
  endDate: "<comparison period end>T23:59"
)

Note: metricIds accepts comma-separated IDs — pass all KPIs at once. startDate/endDate (not dateRange); no granularity parameter. Use variables/daterangeday for day-by-day breakdown. summaryData.totals[0], totals[1], etc. correspond to each metric in order. Unauthorized metrics surface in columnErrors; the rest of the call still succeeds.

2 calls total regardless of metric count.

From each pair, compute:

  • Current value (total over period)
  • Prior value (total over comparison period)
  • Absolute delta: current - prior
  • Percent change: (delta / prior) × 100
  • Trend: ↑ if positive, ↓ if negative, → if within ±2%

Phase 4 — Top Mover Context

For the 1–2 metrics with the largest percent changes (positive or negative), run a dimension breakdown to find the top contributor:

runReport(
  metricIds: "<metricId>",
  dimensionId: "variables/marketingchannel",
  startDate: "<current period start>T00:00",
  endDate: "<current period end>T23:59",
  limit: 5
)

Repeat for a second dimension if relevant (e.g., pages for a traffic spike, products for a revenue change).

Use results to write a 1–2 sentence driver narrative:

"Visits rose 18% WoW, driven primarily by Organic Search (+34%) which offset a decline in Direct traffic (-12%)."


Phase 5 — Generate HTML Report

Build the KPI pulse HTML report inline and write to /tmp/aa_kpi_pulse_report_<YYYY-MM-DD_HHMMSS>.html.

Rendering rules — apply consistently across runs

Two runs of this skill on the same report suite + period must render identically (modulo the generation timestamp). The rules below pin the formatting choices that the AI would otherwise drift on.

Number formatting

  • KPI values (the big number in each tile) — use full digits with thousands separators (8,160, 77,584, 1,250,000). Do NOT use SI suffixes like K or M, even for large values. Executives want exact numbers, not abbreviations.
  • Percent change (in pills and narrative bullets) — always one decimal place, rounded half-away-from-zero. For example, −23.55% displays as −23.6%, never −23.5%. Compute on full-precision values; round only at display time.
  • Percentage-point change (for already-percentage metrics like Conversion Rate or Bounce Rate) — same rounding, suffix pp. Example: +0.40 pp.
  • Currency — $ prefix with thousands separators and no decimals for values ≥ $100 ($1,240,000); cents only when value < $100 ($45.20).

Null / missing data handling

A KPI tile must reflect what the report suite actually returned. The AI must not silently substitute a different metric or hide a tile to make the report look cleaner.

  • Both periods return 0 or NULL for a KPI being rendered: render the tile with kpi-value = Data unavailable, pill class flat, pill text ⚠ N/A, and prior text = Both periods returned no data — validate instrumentation. The tile stays in the grid; do not omit it.
  • One period returns valid data, the other 0 / NULL: render the tile with the valid value as kpi-value, pill class flat, pill text ⚠ N/A, and prior text = Prior {period_noun}: no data.
  • Never substitute a derived metric (e.g., adding "Conversion Rate" because Revenue came back $0). The visible KPI set MUST match the metrics selected for this run.

HTML template

Read template.html and use it verbatim. Do not improvise the HTML structure or CSS — only fill in the {PLACEHOLDER} tokens ({ORG_NAME}, {PERIOD_LABEL}, {COMPARISON_LABEL}, {REPORT_SUITE}, {GENERATED_DATE}, {METRIC_NAME}, {FORMATTED_VALUE_A}, {FORMATTED_VALUE_B}, {PCT_CHANGE}, {VALUE_A}, {VALUE_B}, {DELTA}, {ARROW}) and repeat the KPI tile / detail row / mover row blocks once per data item. Preserve the .up | .down | .flat and .green | .red | .yellow | .grey modifier classes per the trend rules in Phase 3.

Section titles — no phase prefix: Section headings in the HTML report must not include the phase number. Use the plain section name only (e.g., "KPI Scorecards" not "Phase 2 — KPI Scorecards", "Top Movers" not "Phase 4 — Top Movers").

Write the completed HTML to /tmp/aa_kpi_pulse_report_<YYYY-MM-DD_HHMMSS>.html, then open:

open /tmp/aa_kpi_pulse_report_<YYYY-MM-DD_HHMMSS>.html

KPI Card Coloring Rules

  • Delta badge green if change >= +2%
  • Delta badge red if change <= -2%
  • Delta badge grey if between -2% and +2% (flat)
  • Border-top on card: green for positive movement, red for negative, grey for flat

Inline Summary (Always Deliver)

In addition to the HTML report, always provide a brief inline text summary:

KPI Pulse — [Period] vs [Comparison]
Report Suite: [Name]

Metric              Current   Change
─────────────────   ───────   ──────
Visits              124,500   ▲ 18%
Revenue             $42,800   ▲  9%
Conversion Rate       2.4%    ▼  0.3pp
Page Views          398,200   ▲ 11%
Bounce Rate          48.2%    ▼  1.8pp

Key driver: Visits growth led by Paid Search (+34%).
Revenue up on strong Mobile performance (+22%).

Guardrails

  • Always confirm the time period with the user before fetching data — wrong periods are the most common source of confusion.
  • Flag partial periods explicitly (e.g., "This month has only 5 days of data").
  • For percentage metrics (conversion rate, bounce rate), report deltas as percentage points (pp), not percent change.
  • Cap at 8 metrics for reasonable call volume. Offer a second pulse for additional metrics if needed.

Example Interaction

"Give me a KPI update for last week."

  1. Confirm report suite with findReportSuites and setSessionDefaults.
  2. Load context with describeAa(guideType: "REPORT_SUITE_CONTEXT_GUIDE").
  3. Identify top 6 metrics from listComponentUsage(componentType: "metric") or user input.
  4. Confirm: last 7 days vs prior 7 days.
  5. Run 12 runReport calls (2 per metric) — use metricIds, startDate, endDate, and dimensionId: "variables/daterangeday". Sum summaryData.totals[0] for each period total.
  6. Run dimension breakdown for 2 biggest movers (use dimensionId: "variables/marketingchannel").
  7. Generate HTML report, open it, deliver inline summary.
  8. Narrative: "Visits were up 18% WoW driven by paid search. Revenue grew 9% with mobile leading. Bounce rate improved 1.8pp."

版本历史

  1. plugin/stardust/v0.43.4 GitHub ↗
    原版更新说明

    ## [0.43.4](https://github.com/adobe/skills/compare/plugin/stardust/v0.43.3...plugin/stardust/v0.43.4) (2026-11-21)

  2. rollout-v1.3.1 GitHub ↗
    原版更新说明

    ## [1.3.1](https://github.com/adobe/skills/compare/rollout-v1.3.0...rollout-v1.3.1) (2026-11-21)

  3. plugin/aem-edge-delivery-services/v1.3.5 GitHub ↗
    原版更新说明

    ## [1.3.5](https://github.com/adobe/skills/compare/plugin/aem-edge-delivery-services/v1.3.4...plugin/aem-edge-delivery-services/v1.3.5) (2026-11-20) ### Bug Fixes * **deps:** update dependency playwright to v1.65.1 ([#777](https://github.com/adobe/skills/issues/777)) ([c6c5233](https://github.com/adobe/skills/commit/c6c5233558a28bb8fde8ede408c35ac47c81cf8e)) * **deps:** update dependency pnpm to v12.21.0 ([#778](https://github.com/adobe/skills/issues/778)) ([a9e7de9](https://github.com/adobe/skills/commit/a9e7de976a969259a1d30ef8d24a4ef699d6d49e))

  4. migrate-header-v1.0.4 GitHub ↗
    原版更新说明

    ## [1.0.4](https://github.com/adobe/skills/compare/migrate-header-v1.0.3...migrate-header-v1.0.4) (2026-11-20) ### Bug Fixes * **deps:** update dependency pnpm to v12.21.0 ([#778](https://github.com/adobe/skills/issues/778)) ([a9e7de9](https://github.com/adobe/skills/commit/a9e7de976a969259a1d30ef8d24a4ef699d6d49e))

  5. personalize-v1.0.1 GitHub ↗
    原版更新说明

    ## [1.0.1](https://github.com/adobe/skills/compare/personalize-v1.0.0...personalize-v1.0.1) (2026-11-20) ### Bug Fixes * **deps:** update dependency playwright to v1.65.1 ([#777](https://github.com/adobe/skills/issues/777)) ([c6c5233](https://github.com/adobe/skills/commit/c6c5233558a28bb8fde8ede408c35ac47c81cf8e))

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

1.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 解决高频业务场景痛点(KPI 摘要、周报、晨会简报)
  • 支持自定义指标与自动发现 top-used metrics
  • 提供 HTML 可视化报告与内联文本摘要双输出
触发精准90/100

亮点

  • 触发词覆盖全面,包含多种自然语言变体
  • 边界清晰,不易与其他 Skill 混淆
结构规范75/100

待提升项

  • 文档过长 原报告严重程度:轻微

    SKILL.md 文件约 600 行,超过建议的 500 行上限

    改进建议:考虑将部分实现细节或示例移至独立参考文件,保持主文档简洁

亮点

  • Phase 划分清晰,执行流程完整
  • 包含端到端交互示例和 guardrails
  • frontmatter 元数据完整
执行可靠88/100

亮点

  • 使用官方 AA MCP 工具链,参数规范
  • 异常处理覆盖数据缺失、部分周期等关键场景
  • HTML 渲染规则严格一致,避免 AI 漂移
证据可验 (前四项均值)85/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

翻译待完成,请参阅来源文档。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。