Command Palette

Search for a command to run...

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

sparkx-weekly-ads-report

БесплатноБез исполняемых скриптовНе проверен

Generate a weekly ad performance recap report for ads ops / customer-facing teams to use every Monday. Includes a KPI card (with WoW comparison), 7-day trend…

infometaот infometa★ 475 звёзд на GitHub

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

Weekly Ads Report

Scope: This Is an Orchestration Skill, Not a New MCP Tool

This skill does not map to a single MCP tool of its own — it orchestrates three existing read tools, each already covered by its own skill:

Dependency — install these three base skills alongside this one: sparkx-query-ads-performance, sparkx-query-entity-metadata, sparkx-query-operation-log. Skills install as sibling directories under your current agent's skills root (.claude/skills/<name>/ for Claude Code; the equivalent root for other agents — see the installation notes in README), which is exactly what the ../query-.../… links above (and elsewhere in this doc) resolve against — if a base skill isn't installed there, those links won't resolve and this skill can't run. Install all three first.

Read those three SKILL.md files first (parameter formats, field-naming rules, the Ratio Metric Display Rule) plus references/platform-notes.md (auth flow, error handling, pagination, date-range limits, currency rules — shared by all three underlying tools). This document only covers logic specific to the weekly-report use case; it doesn't repeat what the three base skills already document.

Output Language: Always Match the User, Never Hard-Code Chinese or English

The worked examples and output templates below are written in Chinese (matching this product's primary customer base), but they are structural illustrations, not literal text to copy verbatim. Generate the actual report in whatever language the user asked in — section headers, KPI labels, the one-line summary, everything. A customer who asks in English should get an English report with English headers ("Weekly KPI Overview", not "本周 KPI 概览"); a customer who asks in Japanese should get one in Japanese. Do not assume the audience is Chinese-speaking just because this skill's own documentation and templates are.

When calling get_ads_perf, also set the language parameter (zh/en/ja) to match the customer's language — this controls the human-readable enum companion text the tool returns (e.g. campaignTypeText, targetMatchTypeText), so a customer reading an English report doesn't see a Chinese enum label embedded in an otherwise-English table. get_entity_metadata has no language parameter — it's not in that tool's documented parameter list. Localize its enum values using the returned {field}Text companion fields, or sparkx-query-entity-metadata's own enum-i18n.md if a given enum has no Text companion — don't pass language to get_entity_metadata expecting it to have the same effect as on get_ads_perf.

When to Use

Trigger phrases: 周报, 周复盘, 上周表现, weekly report, recap last week, 周会材料

User roles: ads ops, customer-facing AM/CSM

Core question: what happened last week, what to do this week

Not for:

  • Monthly/quarterly view → sparkx-monthly-ads-report / quarterly-ads-report (not yet built)
  • A specific question the user brings ("is my SBV structure right") → sparkx-ads-structure-analysis
  • Day-level monitoring → a dedicated alerting skill (not yet built)

Input Parameters

Parameter Type Required Default Description
profileIds array[long] No — Target profile IDs. See "Resolving profileIds" below for the exact selection rules — don't default to "all stores" without checking those rules first
weekEnding date (YYYY-MM-DD) No Last Sunday (local timezone) The end date (Sunday) of the week this report covers
compareBaseline enum No wow wow | wow+4w_avg (the latter also compares against the trailing-4-week average)
outputFormat enum No markdown markdown | structured_report
includeAiSection bool | "auto" No auto Whether to include an AI-managed summary section (auto = include if the store has AI management enabled)

Resolving profileIds

Always call get_user_authorized_context first to get the authorized profiles list, then apply exactly one of these cases:

  1. The user named specific store(s) ("Demo US", "my UK store") → resolve the name(s) against the authorized list and query only the matching profile(s).
  2. The user explicitly said "all stores" / "全账号" / equivalent → query all authorized profileIds.
  3. The user didn't name a store, and there's only one authorized profile → use it directly. There's nothing to ask — one option is not a choice.
  4. The user didn't name a store, and there are multiple authorized profiles:
    • 5 or fewer → you may
Полный SKILL.md на GitHub

Установить sparkx-weekly-ads-report в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

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

references/platform-notes.md

FAQ

Что делает скилл sparkx-weekly-ads-report?

Generate a weekly ad performance recap report for ads ops / customer-facing teams to use every Monday. Includes a KPI card (with WoW comparison), 7-day trend, anomaly summary, top-mover lists, and next-week action recommendations. Use when the user says "出个周报", "周复盘", "上周表现如何", "weekly report". Not for monthly/quarterly reports (use sparkx-monthly-ads-report / quarterly-ads-report, not yet built), nor for deep-dive analysis on a specific question (use the relevant analysis skill instead).

Как установить скилл sparkx-weekly-ads-report?

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

Скилл sparkx-weekly-ads-report запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить sparkx-weekly-ads-report с