ds-analysis-plan

Convert a research question into a reproducible SQL, pandas, or notebook analysis plan.

6|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/Khodzitcky-Vl/data-science-ai-superpowers --skill ds-analysis-plan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ds-analysis-plan
Source: https://github.com/Khodzitcky-Vl/data-science-ai-superpowers/tree/main/ds-analysis-plan
Command: npx skills add https://github.com/Khodzitcky-Vl/data-science-ai-superpowers --skill ds-analysis-plan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents “late discovery” failures by converting a research question into an explicit, reproducible notebook plan with defined cohorts, windows, metrics, validation checkpoints, and decision-ready outputs before any major querying or transformations begin.

Core Features & Use Cases

  • Cohort and metric specification: Defines randomization/analysis units, time windows, exclusions, and a concrete metric hierarchy so downstream work is consistent with the decision being made.
  • Validation-driven planning: Includes required diagnostics (e.g., balance/SRM/invariants when applicable) and sets a validation level and verification mode to control how strict the outputs must be.
  • Operational observability: Requires runtime visibility via compact stage/timing/row-count checkpoints and explicit progress expectations to avoid silent long-running work.
  • Reproducibility by default: Produces a plan that another analyst can rebuild and rerun from scratch, with artifacts such as expected output shapes and a final memo.

Quick Start

Use ds-analysis-plan to create a self-contained notebook execution plan for your experiment question, including cohorts, metric computations, validation checks, and the final decision memo.

Frequently Asked Questions about ds-analysis-plan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a reproducible analysis plan before running SQL or notebook transformations?

To create a reproducible analysis plan, convert your research question into an explicit execution plan that defines cohorts, time windows, metrics, and validation checkpoints before touching queries or notebook cells. This allows another analyst to rebuild and rerun the workflow from scratch.

What is experiment design validation and when do I need it for cohort analysis?

Experiment design validation requires diagnostics like balance checks, SRM, and invariants to ensure cohort consistency. You need it before major transformations to prevent late discovery failures in research workflows. It sets a validation level and verification mode to control output strictness.

How do I specify metric definitions and statistical methods for a research workflow?

Specify metric definitions and statistical methods by building a concrete metric hierarchy tied to your randomization units. Include explicit exclusions and defined task granularity with observable artifacts for downstream consistency. This ensures outputs remain decision-ready.

Does notebook execution planning support runtime observability for long-running queries?

Notebook execution planning supports runtime observability by requiring compact stage, timing, and row-count checkpoints. It sets explicit progress expectations to avoid silent long-running work during analysis. This provides runtime visibility across all SQL or pandas steps.

Can I use analysis planning for experiment workflows without predefined escalation triggers?

Analysis planning for experiment workflows requires clear escalation triggers tied to pass/fail interpretation. Without predefined escalation triggers, you cannot properly control validation levels or verification modes for decision-ready outputs. Escalation triggers ensure proper pass/fail interpretation.

What are the limitations of running data transformations without a structured plan header?

Without a structured plan header, transformations lack defined task granularity and expected output shapes, risking silent failures. You lose the ability to produce a final memo that another analyst can rebuild from scratch. This leads to late discovery failures in experiment workflows.