Prod trends

From evolution-foundation/evo-nexus · View interactive version

Prod trends is an AI agent skill from the GitHub repository evolution-foundation/evo-nexus. Weekly trends analysis — compares community, GitHub, and financial metrics week-over-week to detect patterns, risks and opportunities. Use when user says 'trends analysis', 'trends', 'how are the metrics', 'weekly comparison', 'metrics evolution', or as part of the weekly review routine.

How to use this skill

Skill file

Trends Analysis — Weekly Comparison

Routine that compares community, GitHub, and financial metrics week-over-week to detect patterns, risks, and opportunities.

Always respond in English.

Data Sources

1. Community (Discord)

Read previous reports in:

Extract from HTML or generate from data:

2. GitHub

Read previous reports in:

Extract or generate:

3. Financial

Query data via skills:

Metrics:

4. Operational (ADWs)

Read runner metrics:

Workflow

Step 1 — Collect current week's data

Fetch the most recent data from each source (last 7 days).

Step 2 — Collect previous week's data

Fetch data from 7-14 days ago for comparison. If it does not exist (first run), mark as "baseline" and skip comparison.

Step 3 — Calculate trends

For each metric, calculate:

Classification criteria:

| Metric | 🟢 Healthy | 🟡 Attention | 🔴 Risk |

|---------|------------|-----------|---------|

| WAM | stable or ↑ | drop <10% | drop >10% |

| Unanswered questions | <5 | 5-10 | >10 |

| Sentiment | positive | neutral | negative |

| Open PRs | <10 | 10-20 | >20 accumulating |

| Unanswered issues | <5 | 5-15 | >15 |

| Stars (weekly) | >10 | 5-10 | <5 |

| MRR | stable or ↑ | drop <5% | drop >5% |

| Success rate ADWs | >90% | 70-90% | <70% |

Step 4 — Detect patterns

Analyze recent weeks (as many as available) and identify:

Step 5 — Generate HTML report

Read the template at .claude/templates/html/custom/trends-report.html.

Replace the placeholders {{...}} with the actual data.

Overall health classification:

REQUIRED: Always generate the HTML first. Read the template, replace the placeholders, and save the complete HTML file. This applies even on the first run (baseline) — even without comparison, fill the scorecard with current values and "—" for previous.

Save HTML to workspace/daily-logs/[C] YYYY-WXX-trends.html.

Then, also save a summarized markdown version to workspace/daily-logs/[C] YYYY-WXX-trends.md:

# Trends Analysis — Week {WXX}

## Executive Summary
{3 bullets: what improved, what worsened, opportunity}

## Scorecard

| Area | Metric | Current | Previous | Var | Trend | Status |
|------|---------|-------|----------|-----|-------|--------|
| Community | WAM | {N} | {N} | {+/-X%} | ↑/↓/= | 🟢/🟡/🔴 |
| Community | Unanswered questions | {N} | {N} | | | |
| Community | Sentiment | {label} | {label} | | | |
| GitHub | Open PRs | {N} | {N} | | | |
| GitHub | Unanswered issues | {N} | {N} | | | |
| GitHub | Stars (week) | {N} | {N} | | | |
| Financial | MRR | R${N} | R${N} | {var%} | | |
| Financial | Active subscriptions | {N} | {N} | | | |
| Operational | Success rate ADWs | {X}% | {X}% | | | |

## Detected Patterns
- {pattern 1 with evidence}
- {pattern 2 with evidence}

## Risks
- {risk with supporting metric}

## Opportunities
- {opportunity based on data}

## Recommendations
1. {concrete action based on data}
2. {concrete action}

Step 6 — Save snapshot

Save a snapshot of current metrics to memory/trends/YYYY-WXX.json to accumulate history:

{
  "week": "YYYY-WXX",
  "date": "YYYY-MM-DD",
  "community": {"wam": N, "messages": N, "unanswered": N, "sentiment": "positive"},
  "github": {"prs_open": N, "issues_open": N, "issues_unanswered": N, "stars_week": N, "commits_week": N},
  "financial": {"mrr": N, "subscriptions": N, "refunds": N},
  "operational": {"adw_runs": N, "adw_success_rate": N, "adw_avg_seconds": N}
}

Create memory/trends/ if it does not exist.

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.