Claude Code Skills for Academic Research

Reusable Claude Code skills for paper review, code review, and computational reproducibility audits

View the Project on GitHub lcrawfurd/claude-skills

← Back to all skills

Code Review

Review a development economics project folder against journal replication standards.

Usage

/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).


1. Folder Structure & Portability (Gentzkow & Shapiro, Reif, DIME)


2. Master Script (AEA, Reif, DIME)


3. Coding Standards

Stata (DIME Analytics, Reif)

R

Python

All languages


4. Data Management (Gentzkow & Shapiro, TIER, J-PAL)


5. Output Reproducibility (Reif, Vilhuber)


6. README & Documentation (AEA Template README, Social Science Data Editors)


7. Common Failure Modes (Vilhuber, AEA Data Editor — from 2,400+ package reviews)

Flag any of these top causes of replication failure:

  1. Missing packages: User-written commands not installed or bundled; code fails out-of-the-box
  2. Broken file paths: Hardcoded absolute paths that only work on the author’s machine
  3. Missing data files: Data referenced in code but not included (and no access instructions)
  4. Inadequate README: Missing runtime estimates, software versions, or replication instructions
  5. Undocumented manual steps: Results depend on steps performed outside of code (manual Excel formatting, hand-editing tables)
  6. Nondeterministic results: Missing random seeds, version-dependent sort orders, floating-point instability
  7. Code errors: Logic errors, broken references, scripts that error out (~25% of submitted packages)
  8. Version incompatibilities: Code written for one software version fails on another
  9. Incomplete code: Data cleaning or intermediate processing scripts omitted
  10. Missing data citations: Datasets used but never formally cited

Output Format

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).

Sources

This skill synthesises standards from: