k-dense-ai avatar

Designing The Analysis

This is the skill you reach for after your research question is approved but before you touch any outcome data. It forces you to write down the entire analysis plan as if you're handing it to someone with zero context: which datasets, how each variable is computed, the exact model or test, which confounds you're adjusting for and how, the decision rules, power justification, all broken into two to five minute steps with validation checks. The plan gets saved to a dated markdown file and includes a mandatory simulated data validation where your pipeline has to recover a known effect before you trust it on real data. It's opinionated about avoiding researcher degrees of freedom and makes you pre-register before execution, which is the point.

GitHub stars
202
last updated
Jun 1, 2026

Install

$ npx -y skills add k-dense-ai/science-superpowers --skill designing-the-analysis --agent claude-code

Installs into .claude/skills of the current project.

Files

Designing the Analysis

Overview

Write a comprehensive analysis plan assuming the analyst has zero context for this project and questionable statistical taste. Document everything they need: which datasets and variables, how each construct is computed, the exact model or test, the sample size / power justification, which confounds are handled and how, the decision rules, and the planned figures. Give them the whole thing as bite-sized steps. DRY. YAGNI. Pre-register. Validate pipelines on known data. Commit frequently.

Assume they are a capable programmer but know almost nothing about this domain, this dataset, or good statistical design.

Announce at start: "I'm using the designing-the-analysis skill to create the analysis plan."

Save plans to: docs/science-superpowers/plans/YYYY-MM-DD-<topic>.md

Scope Check

If the question document still bundles several independent investigations, stop and split it — one plan per question. Each plan should produce an interpretable, self-contained result.

Inputs You Need First

Sponsors

Details

Repository
github.com/k-dense-ai/science-superpowers
Category
Data Science & ML
First seen
Jun 11, 2026

More from k-dense-ai/science-superpowers

All 15
1k-dense-ai avatarpreregistering-analysisk-dense-ai/science-superpowersUse before running any confirmatory analysis or looking at outcome data, when testing a hypothesis, computing a p-value, or about to claim an effect - locks pre0skills.sh installs
2k-dense-ai avatarwriting-science-skillsk-dense-ai/science-superpowersIf you're building skills for Claude, this is your lab notebook discipline.0skills.sh installs
3kaelio avatarsl_capturekaelio/ktxHow to capture new reusable patterns into ktx's semantic layer - when a measure, segment, or join belongs in the catalog and how to write it generically so it s0skills.sh installs
4kaelio avatarwiki_capturekaelio/ktxktx's knowledge base - wiki pages for durable, reusable business knowledge. Covers capture workflow for user preferences, metric definitions, organizational con0skills.sh installs
5kubesphere avatarkubesphere-fluidkubesphere/kubesphereKubeSphere Fluid management Skill. Use when user asks to install or enable Fluid, check Fluid status, view Fluid pods/logs/CRDs, create or update Dataset, Allux0skills.sh installs
6mertbuilds avatarimplementmertbuilds/skillsBuild a feature in an isolated worktrunk worktree, commit, and open a draft PR. Use whenever the user asks to implement, build, add, or fix something that touch0skills.sh installs