Logo Data Analysis

Data Analysis

Cộng đồng
firatcand
data-analysis

Use when the user needs to design, run, or audit product or GTM analytics — metric hierarchies and north stars, funnels, cohort retention, churn, pipeline velocity, forecasting, lead scoring, NRR, A/B tests, or analytical SQL — or uploads a dataset to analyze. Triggers on questions like "why did activation drop", "is this metric meaningful", "review my dashboard", or "what should I measure". For writing the spec that defines a feature's success metrics, use product-spec.

Tổng quan

Nhà phát hànhfiratcand
Kho mãfounder-skills
Tên kỹ năngdata-analysis
Sao
44
Bản fork
4
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được firatcand công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Data Analysis trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/firatcand/founder-skills/tree/main/data-analysis
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/firatcand/founder-skills.git /tmp/founder-skills
mkdir -p .claude/skills
cp -r /tmp/founder-skills/data-analysis .claude/skills/data-analysis
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Data Analysis trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Data Analysis ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Data Analysis không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Data Analysis Skill

Purpose

Coach anyone doing product or GTM data analysis through rigorous, decision-useful analytical work. This skill operates in three modes:

  1. Advisory / Coaching — User describes a data question → guide them to the right framework, flag biases, recommend methodology.
  2. Hands-on Execution — User provides data → perform the analysis in Python/SQL following best practices.
  3. Review / Audit — User shares an existing analysis, metric, or dashboard → critique it and recommend improvements.

Always produce structured deliverables rather than conversational advice.

Output discipline

Deliver only what the user will actually use. Never leak internal scaffolding into the output:

  • No reference citations the reader can't see ("§3.2", "per the knowledge base", "KB §1.4").
  • No mode or process narration ("Mode: Generate", "I have everything I need", "following the skill's methodology").
  • No skill-handoff chatter inside the deliverable.

Apply frameworks silently — name one only when it helps the reader, not to show your work. When context is missing, state your assumption in one line and proceed; don't interrogate.

Core Principles

Every recommendation must be grounded in these first principles. Read references/knowledge-base.md for the full knowledge base when you need detailed methodology or when the user asks a deep question.

1. Decision-First

Start from the decision, not the data. Before any analysis, answer:

  • Who is the decision-maker?
  • What will they do differently based on this output?
  • What precision is actually needed for the decision?
  • Is the cost of analysis justified by the decision's value?

If analysis won't change a decision, say so and recommend skipping it.

2. Exploratory ≠ Confirmatory

Never treat a pattern found during exploration as a validated finding. Exploration generates hypotheses; confirmation tests them on held-out data. When presenting exploratory findings, always label them as hypotheses and recommend the confirmatory step.

3. Variation Thinking

Report distributions, not just averages. Show P25, median, P75, P90 alongside any mean. Build control charts (upper/lower bounds from historical σ) before reacting to metric movements. Distinguish common-cause variation (stable system noise) from special-cause variation (genuine signal demanding investigation).

4. Bias Awareness

Actively check for and flag these biases in every analysis:

  • Survivorship bias: Are you only analyzing users/deals that survived? What about churned users, lost deals, leads that never progressed?
  • Base rate neglect: Is the sample large enough to distinguish the result from the historical base rate?
  • Anchoring: Is a single cohort or benchmark distorting interpretation?
  • Narrative fallacy: Is a causal story being constructed from sequential correlation?
  • Simpson's Paradox: Does the aggregate trend reverse when stratified by a key segment?

5. Statistical Rigor

  • Always report sample sizes alongside metrics.
  • Report 95% confidence intervals for proportions and rates.
  • For A/B tests: compute required sample size before running, define a single primary metric, do not peek, do not stop early.
  • For forecasts: distinguish point estimates from prediction intervals.

Workflows

A. Metric Design

When the user asks "what should I measure" or needs a metric hierarchy:

Deliverable: Metric Hierarchy Document

# Metric Hierarchy: [Product/Team]

## North Star Metric
- Definition: [precise definition]
- Why: [captures value delivered to users, not just business output]
- Measurement: [exact SQL/event logic]

## L1 Input Metrics (direct drivers of north star)
| Metric | Definition | Owner | Cadence |
|--------|-----------|-------|---------|
| ...    | ...       | ...   | ...     |

## L2 Input Metrics (levers teams can directly influence)
| Metric | Definition | Drives L1 | Owner |
|--------|-----------|-----------|-------|
| ...    | ...       | ...       | ...   |

## Guardrail Metrics (must not degrade)
| Metric | Threshold | Rationale |
|--------|-----------|-----------|
| ...    | ...       | ...       |

Key rules:

  • North star must capture value delivered to users, not just revenue.
  • Build bottom-up: identify behaviors that move the north star, then find leading indicators of those behaviors.
  • Retention is an output, not an input — trace it to activation, feature engagement, and resurrection.
  • Include guardrail metrics to prevent Goodhart's Law gaming.

B. Funnel Analysis

When the user asks about conversion, drop-off, or user flow:

Deliverable: Funnel Analysis Report

# Funnel Analysis: [Name]

## Definition
| Step | Event/Condition | Max Time to Next Step |
|------|----------------|----------------------|
| 1    | ...            | ...                  |

## Results
| Step | Users | Step Conversion | Cumulative | 95% CI |
|------|-------|----------------|------------|--------|
| 1    | ...   | ...            | ...        | ...    |

## Segmented View
[Break down by channel, device, cohort — at minimum 2 segments]

## Time Distribution
[How long users take at each step — P25, median, P75]

## Diagnosis
[Where is the biggest drop? Is it consistent across segments?]

## Recommended Actions
[Specific, testable interventions]

Avoid these funnel mistakes:

  • Step conflation (combining two actions into one step)
  • Omitting time windows between steps
  • Counting sessions instead of unique users
  • Building only on current-period entrants

C. Cohort Retention Analysis

Deliverable: Retention Analysis Report

Include:

  • Time-based cohort curves (signup week/month)
  • Behavioral cohort comparison (activated vs. not, feature X users vs. not)
  • Curve shape diagnosis: does it flatten (retained core found) or decline to zero (no PMF)?
  • Track the second aha moment, not just the first
  • Specific retention period where intervention has highest leverage

D. Sales & Revenue Analytics

When the user asks about pipeline, forecasting, win rates, or revenue:

Deliverable: Revenue Analytics Report

Cover as relevant:

  • Pipeline velocity = (# Opportunities × ACV × Win Rate) / Avg Sales Cycle — decompose to find which component is dragging
  • Deal slippage by stage, rep, and deal size
  • Pipeline coverage ratio validated against historical win rates (not industry benchmarks)
  • Forecast accuracy: compute MAPE, track bias by forecaster and deal type
  • Revenue cohort NRR: disaggregated by acquisition channel, ACV band, segment
  • Churn/contraction analysis: survival curves, leading indicators (login drops, feature usage decline, support spikes)

For lead scoring: train on ALL leads that entered top-of-funnel with outcome labels, not just closed deals (survivorship bias).

For CRM data quality: flag zombie deals (open beyond 2σ of avg cycle), recommend minimum required fields, automated enrichment over manual entry.

E. A/B Test Design & Review

Deliverable: Experiment Design Doc or Audit

For design:

# Experiment: [Name]

## Hypothesis
[Specific causal claim, not vague improvement goal]

## Primary Metric
[Single metric the test is powered for]

## Guardrail Metrics
[Metrics that must not degrade]

## Sample Size Calculation
- Baseline rate: X%
- MDE: Y% (smallest change worth acting on)
- Power: 80%
- Required N per arm: Z

## Duration
[Pre-specified, covers at least one full business cycle]

## Analysis Plan
[Pre-registered: primary metric, segments to examine, correction method]

For audit, check for: peeking, multiple comparisons without correction, wrong unit of analysis, novelty effects, Sample Ratio Mismatch, underpowered tests declared "no effect."

When randomized experiments aren't possible, recommend quasi-experimental methods (DiD, regression discontinuity, synthetic control) with explicit assumption checks.

F. Dashboard Review / Audit

When reviewing an existing dashboard or metric setup:

Deliverable: Dashboard Audit

For every metric/dashboard, answer:

  1. What specific decision does this change?
  2. Who makes that decision and at what cadence?
  3. Is the definition precise and shared across teams?
  4. Is there a guardrail metric preventing gaming?
  5. Does it show distributions or just averages?
  6. Does it include confidence intervals or sample sizes?
  7. Does it follow Tufte's data-ink ratio principle (no chartjunk, direct labels, appropriate chart type)?

Flag data theater: dashboards built because data exists, not because a decision depends on them.

G. Hands-on Data Analysis

When the user provides actual data (CSV, database, etc.):

  1. Validate first: Check for nulls, duplicates, schema issues, tidy data violations (values in column headers, multiple variables in one column).
  2. Explore before concluding: Show distributions, not just summaries. Use histograms, scatter plots, box plots before computing any aggregate.
  3. Use clean code patterns:
    • SQL: One CTE per purpose, descriptive CTE names, window functions over self-joins, comments at CTE level.
    • Python: Method chaining, clear cell structure (imports → load → validate → explore → analyze → summarize), parameterized notebooks.
  4. Label everything: Every finding is either exploratory (hypothesis) or confirmatory (tested). Never blur this line.
  5. Deliver structured output: Use the appropriate deliverable template from above, not free-form narrative.

Anti-Pattern Detection

When reviewing any analysis, actively scan for these failure modes and call them out:

Anti-PatternSignalCorrection
Data theaterDashboard with no attached decisionAttach a decision-maker and action, or kill it
Metric proliferationTeams use different definitions of "active"Canonical metric hierarchy with single-source definitions
Survivorship biasAnalysis built only on active users or won dealsInclude churned/lost cohorts explicitly
Correlation → causation"Users who do X retain better, so push X"Ask: what's the mechanism? Can we test causally?
Over-indexing on averagesSingle mean reported on skewed distributionShow P25/P50/P75/P90 and the distribution
False precisionPoint estimate with no CI or sample sizeAdd confidence intervals and sample size
Analysis paralysisDecision deferred pending more dataPre-specify what data suffices; set a deadline

When NOT to Analyze

Flag these conditions and recommend skipping analysis:

  • Decision already made (data is post-hoc justification)
  • Sample too small to distinguish signal from noise
  • Data doesn't measure the phenomenon of interest
  • Time to collect credible data exceeds the decision's relevance window

Reference Material

For deep methodology, read references/knowledge-base.md. It covers:

  • Sections 1-2: First principles, cognitive biases, tidy data, data quality
  • Section 3: Product analytics (metric hierarchy, funnels, cohorts, activation, segmentation)
  • Section 4: Sales analytics (pipeline velocity, forecasting, lead scoring, NRR, churn, CRM quality)
  • Section 5: Experimentation (A/B testing, quasi-experimental methods, guardrails)
  • Section 6: Analytical workflow (SQL/Python patterns, documentation, BI tools)
  • Section 7: Visualization (Tufte's principles, chart selection, uncertainty communication)
  • Section 8: Anti-patterns (data theater, metric proliferation, survivorship bias, analysis paralysis)

Consult the relevant section when the user's question requires detailed methodology beyond what's in this SKILL.md.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Data Analysis làm được gì?

Use when the user needs to design, run, or audit product or GTM analytics — metric hierarchies and north stars, funnels, cohort retention, churn, pipeline velocity, forecasting, lead scoring, NRR, A/B tests, or analytical SQL — or uploads a dataset to analyze. Triggers on questions like "why did activation drop", "is this metric meaningful", "review my dashboard", or "what should I measure". For writing the spec that defines a feature's success metrics, use product-spec.

Vì sao nên dùng Data Analysis trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Data Analysis là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Data Analysis trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/firatcand/founder-skills/tree/main/data-analysis. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Data Analysis?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Data Analysis với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Data Analysis với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Data Analysis có miễn phí không?

Có. Kỹ năng này được firatcand phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇