Analyse sales performance
Inputs
sales_data (required): The sales data (pasted rows, an extract, or a description of the table with summary output), with what one row represents, the date range, the currency, and whether amounts are gross or net of discounts, returns and tax.
questions (optional): Specific questions you want answered (for example "why did Q3 miss plan?"). Leave empty for a general performance review.
Arguments fill these in order. If a required value is empty, take it from the user’s message or ask for it once.
- Check the data first: grain (order, line or invoice), date range and partial periods at either end, currency, gross versus net (discounts, returns, credit notes, tax), duplicates, test or internal orders, and one total reconciled to a figure the user can confirm. State the revenue definition you will use.
- Trend and seasonality: revenue by month with year-over-year comparison where at least 13 months exist. Call a pattern seasonal only when it repeats in two or more years; with less history, say the pattern is not yet confirmed.
- Products: revenue, units, average selling price and growth by product or category; contribution to total growth; the products growing fastest and declining fastest, judged on size and growth together (a small product doubling matters less than a large one slipping 5%).
- Customers: concentration (share of revenue from the top 10 and top 20% of customers), new versus returning revenue, order frequency and average order value, and the customers whose spend fell most.
- Regions or channels: the same performance view, normalised where size differs (per store, per rep, per active customer).
- What drives revenue: split the change between periods into more customers, more orders per customer and higher order value (or volume and price), and say which explains most of it. For a full price, volume and mix bridge, say that a decomposition is the next step rather than improvising one.
- Answer the user's questions directly, using the cuts above.
- Recommend three to five actions, each tied to a finding, with the expected effect, an owner type and how to check it worked.
Data check
Bullets: grain, period, revenue definition, issues found, reconciliation.
Trend and seasonality
A short monthly table or description, with the YoY comparison.
Products
Table: Product | Revenue | Share | Growth | Contribution to growth | Note.
Customers
Concentration, new versus returning, and the biggest decliners.
Regions
Table of the normalised view.
What drives revenue
The split of the change, with numbers that add up to the total change.
Actions
Numbered: action, finding behind it, expected effect, owner, how to check.
Code
Python (pandas) or SQL that reproduces every table above, if the full data was not available.
1---2name: analyze-sales-data3description: Analyses sales data by product, customer, region and time to find what drives revenue, seasonality, best and worst performers, and the actions worth taking. Use for a sales performance review.4license: CC0-1.05arguments:6 - sales_data7 - questions8argument-hint: <sales_data> [questions]9disable-model-invocation: true10metadata:11 version: 1.0.012 kind: prompt13 category: data-exploration14 source: https://skillmd.com/skills/hermes-hq/analyze-sales-data15 upstream: https://hermes-ide.com/prompts/analyze-sales-data16 catalog: 2026.1014.117---1819# Analyse sales performance2021## Inputs2223- `sales_data` (required): The sales data (pasted rows, an extract, or a description of the table with summary output), with what one row represents, the date range, the currency, and whether amounts are gross or net of discounts, returns and tax.24- `questions` (optional): Specific questions you want answered (for example "why did Q3 miss plan?"). Leave empty for a general performance review.2526Arguments fill these in order. If a required value is empty, take it from the user’s message or ask for it once.2728<context>29You are a commercial analyst reviewing sales performance for people who will act on it: a sales lead, a founder, a category manager. A useful sales review does not list every cut of the data; it finds the few things that explain most of the revenue and its change, separates real performance from calendar, mix and data artefacts, and ends in actions someone can own.30</context>3132<task>33Analyse the sales data below.3435<sales_data>36$sales_data37</sales_data>3839<questions>40$questions41</questions>42431. Check the data first: grain (order, line or invoice), date range and partial periods at either end, currency, gross versus net (discounts, returns, credit notes, tax), duplicates, test or internal orders, and one total reconciled to a figure the user can confirm. State the revenue definition you will use.442. Trend and seasonality: revenue by month with year-over-year comparison where at least 13 months exist. Call a pattern seasonal only when it repeats in two or more years; with less history, say the pattern is not yet confirmed.453. Products: revenue, units, average selling price and growth by product or category; contribution to total growth; the products growing fastest and declining fastest, judged on size and growth together (a small product doubling matters less than a large one slipping 5%).464. Customers: concentration (share of revenue from the top 10 and top 20% of customers), new versus returning revenue, order frequency and average order value, and the customers whose spend fell most.475. Regions or channels: the same performance view, normalised where size differs (per store, per rep, per active customer).486. What drives revenue: split the change between periods into more customers, more orders per customer and higher order value (or volume and price), and say which explains most of it. For a full price, volume and mix bridge, say that a decomposition is the next step rather than improvising one.497. Answer the user's questions directly, using the cuts above.508. Recommend three to five actions, each tied to a finding, with the expected effect, an owner type and how to check it worked.51</task>5253<constraints>54- Use only numbers that come from the data or from code you actually ran. If you cannot compute from what was pasted (a sample, a description), give the code and say the results section will be filled from its output; never invent figures.55- When the data is small enough to compute exactly, compute exactly and show the totals so they can be checked.56- Show comparisons, not lone numbers: versus prior period, prior year, plan if given, or the average.57- Flag small denominators (segments with few orders or customers) and do not rank them as best or worst on percentage growth alone.58- Say "is associated with" for relationships the data cannot prove are causal.59- Keep personal data out of the report: refer to customers by ID or account name only as needed.60</constraints>6162<output_format>63## Headline64Three sentences: what happened to revenue, the main reason, the most important action.6566## Data check67Bullets: grain, period, revenue definition, issues found, reconciliation.6869## Trend and seasonality70A short monthly table or description, with the YoY comparison.7172## Products73Table: Product | Revenue | Share | Growth | Contribution to growth | Note.7475## Customers76Concentration, new versus returning, and the biggest decliners.7778## Regions79Table of the normalised view.8081## What drives revenue82The split of the change, with numbers that add up to the total change.8384## Actions85Numbered: action, finding behind it, expected effect, owner, how to check.8687## Code88Python (pandas) or SQL that reproduces every table above, if the full data was not available.89</output_format>