# Trend delta

A reusable skill the "Synthesize the week's feedback into themes" recipe pulls in. Add it once and every agent on the team can use it.

Compare this week's theme counts against last week's snapshot to surface what's rising, falling, or new.

## Method
1. Load last week's theme snapshot from `reports/feedback/`.
2. Match this week's themes to last week's by name; treat an unmatched new theme as "new."
3. Compute the change in distinct-customer count for each matched theme.
4. Rank themes by absolute change first, then by raw count, to surface what moved most.
5. Flag any theme that dropped off entirely (had a count last week, zero this week) as "resolved or quiet," not deleted.
6. Write this week's counts back as the new snapshot for next week's comparison.

## Rules
- Always diff against the most recent snapshot, never against an arbitrary earlier week.
- A theme with no prior snapshot is always "new" — do not backfill a fabricated prior count.
- Report the delta as a real number or arrow, never a vague "up" or "down" without the count behind it.
- Keep the snapshot file even for themes that don't make the top 5 — the full history stays for future diffs.

## Output
Per theme: this week's count, last week's count, and the delta (new / rising / falling / flat), ranked by movement.
