Reusable Claude Code skills for paper review, code review, and computational reproducibility audits
Review a development economics project folder against journal replication standards.
/code-review <path-to-project-folder>
When reviewing a project, first explore the folder structure (list directories, identify scripts, data files, README, and master script). Then evaluate the project against all seven sections below. Adapt checks to whichever languages are present (Stata, R, Python, or a mix).
/data/, /code/ (or /scripts/), /output/ (or /results/)/data/, raw data separated from processed/analysis data (e.g. /data/raw/, /data/processed/)/output/, tables and figures in identifiable locations01_clean.do, 02_merge.do, 03_analysis.do)run.do, main.R, Makefile, etc.) exists in the root directoryversion 15 in Stata)set seed #)set more off, set varabbrev off in Stata)Stata (DIME Analytics, Reif)
*, ?, -) to reference variable lists in analysis codemissing(var) used instead of var >= . for missing value checksisid used to verify uniqueness before merges and sortsstable sort option used, or sorts on unique keys for deterministic orderingdoubleforeach crop not foreach i)} // End crop loop///assert statements validate key data properties and resultscd commands; absolute paths built from globalsesttab, texsave, regsave), never copy-pasted from outputqui prefix suppresses unnecessary output in scriptsR
renv lockfile or equivalent)setwd(); paths relative to project root (e.g. via here package)set.seed() before stochastic operationsPython
requirements.txt or pyproject.tomlpathlib or os.path.join usednumpy.random.seed, random.seed) before stochastic operationsAll languages
isid or equivalent before merge operationsassert statementsversion X) to prevent cross-version differencesstable option)Flag any of these top causes of replication failure:
After reviewing all seven sections, provide findings in this format:
Summary: One paragraph overall assessment of replication readiness.
Major Issues (would cause replication failure or journal rejection):
Minor Issues (should be fixed but won’t block replication):
Strengths (things done well, worth preserving):
Recommended Priority Order: Number the major issues in the order they should be fixed (most impactful first).
This skill synthesises standards from: