agentleFS
GiangGiangTranGiangGiangTran/ba-skills/skills/data-analysis/SKILL.md

data-analysis

Skill8 starsChanged 9 months agoMITView on GitHub

Master data-driven analysis - collect relevant data, analyze patterns, visualize findings, interpret results, support decisions with evidence. Use for validating assumptions, prioritizing features, and measuring success.

76 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use algorithm-design, review-r and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • lingzhi227Skill

    algorithm-design

    Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and ensure consistency between pseudocode and implementation. Use when formalizing methods for a paper.

    Also in 5 projects that use this

  • luischanciSkill

    review-r

    Run the R code review protocol on R scripts. Checks code quality, reproducibility, domain correctness, and professional standards. Produces a report without editing files.

    Also in 4 projects that use this

  • zephyrwang6Skill

    deepl

    Übersetzt Texte, Dokumente und XLIFF-Dateien via DeepL API. Verwende für Übersetzungen mit /deepl translate, /deepl file oder /deepl xliff.

    Also in 4 projects that use this

  • zephyrwang6Skill

    imagemagick-conversion

    Convert and manipulate images with ImageMagick. Covers format conversion, resizing, batch processing, quality adjustment, and image transformations. Use when user mentions image conversion, resizing images, ImageMagick, magick command, batch image processing, or thumbnail generation.

    Also in 4 projects that use this

  • lingzhi227Skill

    latex-formatting

    Handle LaTeX formatting, templates, and styling for academic papers. Set up conference templates (ICML, ICLR, NeurIPS, AAAI, ACL), fix formatting issues, manage packages, and ensure venue-specific compliance. Use when the user needs to set up a paper template, fix LaTeX formatting, or prepare for submission.

    Also in 4 projects that use this

  • stophobiaSkill

    surprise-me

    Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for "something interesting".

    Also in 4 projects that use this

  • +3 more from zephyrwang6
  • +2 more from lingzhi227

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 53 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Correlation: Do two variables move together?

    line 140

“Common” is measured: kept by at least 6 in 10 of the 53 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Data Analysis for BA

Support decisions with evidence, not intuition.

What is Data Analysis?

Definition: Systematic process of collecting, cleaning, analyzing, and interpreting data to answer business questions and inform decisions.

Why it matters:

  • Intuition wrong 30-40% of time (cognitive biases)
  • Data reveals truth hidden from observation
  • Numbers convince executives better than opinions
  • Baseline data allows measuring progress

When to Use:

  • ✅ Validating assumptions (do 50% of users really want this?)
  • ✅ Prioritizing features (which matters most to customers?)
  • ✅ Measuring success (are we meeting our KPIs?)
  • ✅ Identifying problems (where is quality failing?)
  • ✅ Comparing options (Option A or Option B?)

4 Levels of Analytics

Level 1: Descriptive Analytics (What happened?)

Summarize historical data.

Question: "How many users signed up last month?"
Data: User signup logs
Analysis: Count signups by cohort
Output: 5,234 signups (↑12% vs previous month)

Question: "Which features get used most?"
Data: Feature usage logs
Analysis: Count usage by feature
Output: Feature A: 85%, Feature B: 45%, Feature C: 12%

Level 2: Diagnostic Analytics (Why happened?)

Understand causes behind observations.

Question: "Why did signups drop last week?"
Data: Signups, marketing spend, conversion rates, technical incidents
Analysis: Correlate events with signup dips
Output: Correlation with:
  - Reduced ad spend (-$10K) = -800 signups expected
  - Website downtime (2 hours) = -50 signups lost
  Root cause: Marketing reduced budget, not technical issue

Level 3: Predictive Analytics (What will happen?)

Forecast future based on patterns.

Question: "How many users will churn next quarter?"
Historical Data: Churn patterns by cohort, feature adoption, support tickets
Analysis: Identify predictive factors (inactivity >30 days = 70% churn)
Output: Predicted 300 users (±20%) will churn next quarter
Action: Design retention campaign for inactive users

Level 4: Prescriptive Analytics (What should we do?)

Recommend specific actions based on data.

Question: "Which feature should we build to reduce churn?"
Data: Churn reasons, feature requests, competitive analysis
Analysis: Feature A prevents 200 churns, costs $50K, ROI: 4x
         Feature B prevents 80 churns, costs $30K, ROI: 2.7x
Output: Recommendation: Build Feature A first

5-Step Data Analysis Process

Step 1: Define Question Clearly

Bad questions:

  • ❌ "What do users want?" (too vague)
  • ❌ "Are we doing well?" (no comparison)
  • ❌ "Should we pivot?" (unclear metrics)

Good questions:

  • ✅ "What % of users use feature X regularly?" (specific, measurable)
  • ✅ "Are retention rates higher for cohort A vs B?" (comparative)
  • ✅ "If we reduce price by 20%, how many new users do we gain?" (specific impact)

Step 2: Identify & Collect Data

Data sources:

  • Product data (usage, events, features)
  • Business data (revenue, churn, support)
  • User data (surveys, interviews, NPS)
  • Market data (competitors, industry trends)
  • Operational data (costs, resources, timeline)

Quality check:

  • ✅ Is data accurate? (check for obvious errors)
  • ✅ Is it complete? (missing data?)
  • ✅ Is it timely? (recent enough?)
  • ✅ Is it relevant? (answers your question?)

See: references/data-collection.md


Step 3: Analyze Data

Common analysis techniques:

  • Trend Analysis: How values change over time
  • Cohort Analysis: Compare groups (early vs late users)
  • Correlation: Do two variables move together?
  • Segmentation: Break data into meaningful groups
  • Benchmarking: Compare against standard or competitor

Step 4: Visualize & Interpret

Present data clearly so insights jump out.

Chart types:

  • Trend: Line chart (usage over time)
  • Comparison: Bar chart (Feature A vs B usage)
  • Part-to-whole: Pie chart (% of each feature)
  • Distribution: Histogram (spread of values)
  • Relationship: Scatter plot (correlation between variables)

Interpretation:

  • What does data show?
  • What's surprising or unexpected?
  • What explains the pattern?
  • What could be wrong with this interpretation?

Step 5: Communicate & Act

Present findings so stakeholders understand and believe them.

1. START WITH FINDING:
   "Users with fewer than 3 logins per month have 80% churn rate"

2. PROVIDE EVIDENCE:
   "Based on 10,000 users over 6 months"

3. EXPLAIN IMPLICATION:
   "This means inactive users are at extreme risk"

4. RECOMMEND ACTION:
   "Design re-engagement campaign for <3 logins/month users"

5. PROPOSE MEASUREMENT:
   "Track churn rate improvement monthly"

Common Data Analysis Pitfalls

❌ Correlation ≠ Causation

Observation: High support tickets correlate with high usage
False conclusion: High usage causes support tickets
Better analysis: High usage reveals more bugs → more tickets
                 Need: Better QA, not less usage

❌ Survivor Bias

Observation: Surviving customers have high satisfaction
False conclusion: Our product is great
Missing data: Unhappy customers already left
Better analysis: Include churned customer feedback

❌ Simpson's Paradox

Situation: Feature A better than B overall, but worse in each segment
Example: Men prefer A (70% vs 60%), Women prefer A (65% vs 50%)
        But overall: B beats A (65% vs 60%)
Why: Different group sizes skew overall results
Fix: Analyze by segment, not aggregate

❌ P-Hacking / Multiple Comparisons

Problem: Test 100 hypotheses, some will be significant by chance
        Claim victory on random findings
Fix: Pre-specify hypothesis before analysis
    Validate findings on new data

Tools & Templates

  • 📋 Analysis Plan Template: assets/analysis-plan-template.md
  • 📋 Data Collection Checklist: assets/data-collection-checklist.md
  • 📋 Findings Presentation Template: assets/findings-presentation-template.md
  • 📋 Cohort Analysis Template: assets/cohort-analysis-template.md
  • 📋 Statistical Significance Calculator: assets/significance-calculator.md

Usage Examples

/data-analysis "What % of users adopt new feature within 2 weeks?"
/data-analysis "Which pricing point maximizes revenue?" "Have price sensitivity survey"
/data-analysis "Why did churn increase 15% last month?"

BA Standards & References

Based on:

  • Statistics: Hypothesis testing, confidence intervals, significance
  • Analytics: Descriptive, diagnostic, predictive, prescriptive
  • Causal Inference: How to identify true causes
  • User Research: Quantitative research methods

Detailed Frameworks:

  • 📚 references/data-collection.md - Finding, gathering, and validating data
  • 📚 references/analysis-techniques.md - Trend, cohort, segmentation, correlation analysis
  • 📚 references/statistical-thinking.md - Confidence, significance, and limitations
  • 📚 references/visualization.md - Choosing right charts and telling story with data
  • 📚 references/common-pitfalls.md - Bias, correlation, and interpretation mistakes

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.