Przejdź do treści
Biblioteka skilli
Dane i analityka · Nauka i wyjaśnianie

metrics

/metrics

Przegląda i wyszukuje definicje metryk ze słownika danych aktywnego zbioru, także przed obliczeniem wskaźnika w analizie.

Licencja
MIT
Ostatnia zmiana repozytorium
26.08.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.08.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Przegląda i wyszukuje definicje metryk ze słownika danych aktywnego zbioru, także przed obliczeniem wskaźnika w analizie.

Wyzwalacze z opisu

s metric dictionary. Trigger onshow me the metricswhat metrics do we track?how is [metric name] calculated?whatlist all metricsdefine conversion ratehow do we measure retention?
Oryginalny opis (EN)

Browse, search, and display metric definitions from the active dataset's metric dictionary. Trigger on "/metrics", "show me the metrics", "what metrics do we track?", "how is [metric name] calculated?", "what's the definition of [metric]?", "list all metrics", "define conversion rate", "how do we measure retention?", "show me all KPIs". Also use mid-analysis to confirm a metric's exact definition before computing it.

Jak działa

  1. Purpose
  2. When to Use
  3. Invocation
  4. Instructions
  5. Edge Cases
  6. Why These Guidelines Matter
Sekcje z nagłówków SKILL.md, w oryginale · 89 linii, 736 słów
Podgląd SKILL.md
---
name: metrics
description: >-
  Browse, search, and display metric definitions from the active dataset's metric dictionary.
  Trigger on "/metrics", "show me the metrics", "what metrics do we track?", "how is [metric name]
  calculated?", "what's the definition of [metric]?", "list all metrics", "define conversion
  rate", "how do we measure retention?", "show me all KPIs". Also use mid-analysis to confirm a
  metric's exact definition before computing it.
---

# Skill: Metrics

## Purpose
Browse, search, and display metric definitions from the active dataset's
metric dictionary. Provides quick access to how metrics are defined, computed,
and validated.

## When to Use
- User says `/metrics` or "show me the metrics" or "what metrics do we track?"
- During analysis, to confirm a metric's definition before computing it
- When writing a metric spec, to check for existing definitions

**Deference rule:** metric-shaped meaning questions ("what does ARR mean here?", "how is churn defined?") come here first; if the metric is not in the dictionary and the term looks organizational (a product, team, or general glossary term), hand off to the `business` skill before suggesting metric-spec.

## Invocation
`/metrics` — list all metrics for the active dataset
`/metrics {id}` — show full spec for a specific metric
`/metrics category={cat}` — filter by category (e.g., monetization)
`/metrics search={term}` — search metric names and descriptions

## Instructions

### Step 1: Load Metric Dictionary
1. Read `.knowledge/active.yaml` to identify the active dataset.
2. Read `.knowledge/datasets/{active}/metrics/index.yaml` for the metric list.
3. If no metrics directory exists: "No metric dictionary for this dataset. Use the metric-spec skill to define metrics."

### Step 2: Execute Command

**List all (`/metrics`):**
- Display as a table: id, name, category, direction, validation_status
- Group by category
- Show total count
- **If dictionary is empty AND user mentions specific analysis context** (e.g., "revenue analysis", "conversion analysis"):
  - Read `.knowledge/datasets/{active}/schema.md` to explore available tables/columns
  - Suggest 3-5 relevant metrics the user could define for their analysis context
  - Include suggested SQL formulas for each
  - Reference the metric-spec skill for formalization

**Show specific (`/metrics {id}`):**
- Read `.knowledge/datasets/{active}/metrics/{id}.yaml`
- Display: name, category, owner, full definition (formula, unit, direction, granularity), source tables, dimensions, guardrails, typical range, validation status
- **If metric not found:**
  - Suggest closest match from index (fuzzy string match on name)
  - **Fallback search strategy:** Search `working/`, `outputs/`, and `.knowledge/analyses/` for recent usage of the metric name
  - If found in recent work, extract the formula/definition used and offer to formalize it
  - If not found anywhere, suggest defining it via metric-spec skill

**Filter by category (`/metrics category=monetization`):**
- Filter index by category field
- Display filtered table
- If no matches: list available categories and suggest closest match

**Search (`/metrics search=revenue`):**
- Search metric names and descriptions (case-insensitive substring)
- Display matching metrics
- **If no matches found:**
  - Don't just say "not found" — be proactive
  - Read `.knowledge/datasets/{active}/schema.md` to explore tables/columns
  - Identify columns related to the search term (e.g., "revenue" → find `total_amount`, `revenue`, `sales` columns)
  - Suggest 3-5 metrics the user could define based on available data
  - Include table.column references and suggested formulas
  - Offer to define the metric via metric-spec skill

### Step 3: Contextual Suggestions
After displaying metrics, suggest relevant actions:
- "Want to validate {metric} against the current data? Use the data-profiling skill."
- "Need to define a new metric? Use the metric-spec skill."
- "Want to see how {metric} trends over time? Ask me to analyze it."

## Edge Cases
- **No active dataset:** Prompt to connect one via `/connect-data`
- **Empty metric dictionary:** Suggest using metric-spec skill. If user mentioned specific analysis context (revenue, conversion, engagement), proactively suggest relevant metrics to define.
- **Metric referenced but not in dictionary:** Search recent work for usage, extract definition if found, offer to formalize it.
- **Stale validation:** Flag metrics where last_validated is >30 days ago
- **Search returns no results:** Explore schema and suggest metrics related to the search term rather than just reporting "not found"

## Why These Guidelines Matter

The goal is to make the metrics skill **helpful in all scenarios** — even when the dictionary is empty or search fails. Users often ask about metrics before they're formally defined. Instead of dead-ending with "not found," we want to:

1. **Understand user context** — If they mention "revenue analysis" or search for "revenue", they're signaling what domain they care about
2. **Explore available data** — Read the schema to see what's actually available
3. **Suggest concrete next steps** — Provide specific metric candidates with formulas, not just generic advice
4. **Lower friction for formalization** — Make it easy to go from "I need this metric" to "this metric is now defined"

This approach turns the metrics skill from a simple dictionary lookup into an intelligent assistant that helps users build their metric dictionary organically.

Wersje

RepozytoriumWynikLicencja
Ta strona · ai-analyst-lab/ai-analyst-plugin90MIT
rjmurillo/ai-agents100MIT
Embassy-of-the-Free-Mind/sourcelibrary-v2100AGPL-3.0
menkesu/awesome-pm-skills100MIT
bcanfield/agentic-tech-debt100MIT
bcanfield/agentic-tech-debt100MIT
AsiaOstrich/universal-dev-standards95MIT
AsiaOstrich/universal-dev-standards95MIT
buldee/ai-craftsman-superpowers84Apache-2.0

Migawka bazy z 28.10.2026 · wersja paczki 19f394be57c0 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100metrics-definition
    Precyzyjnie definiuje metryki produktów danych: drzewa metryk wyników, konwencje nazw, ziarno i rozwiązywanie sprzecznych definicji oraz budowę katalogu metryk.
  • 100metric-definition
    Odróżnia metryki operacyjne, próżności i użyteczne oraz pisze pełne specyfikacje metryk: nazwa, definicja, źródło, wzór, właściciel i rytm przeglądu.
  • 100lens-metrics
    Tworzy dokument definicji metryk: nazwę, wzór, źródło danych, segmentację, specyfikację SQL lub śledzenia zdarzeń oraz opis dobrych i złych wyników dla danego obszaru produktu.
  • 100create-metric
    Tworzy metrykę Harness FME: pomaga zdecydować, co mierzyć, podpowiada metryki z kodu aplikacji, ustala identyfikatory typów ruchu i zdarzeń oraz przygotowuje payload.
  • 100metric-spec
    Definiuje dowolną metrykę według stałego szablonu: obliczenie, mianownik, okno czasowe, filtry i interpretacja, gdy zespoły mierzą to samo różnie.
  • 100metric-spec
    Definiuje dowolną metrykę według stałego szablonu: obliczenie, mianownik, okno czasowe, filtry i interpretacja, gdy zespoły mierzą to samo różnie.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.