code-review
Installation
SKILL.md
Code Review
v1.0 — Structured code review for research code, drawing on DIME, Gentzkow-Shapiro, AEA, and IPA standards
Review research code (Stata, R, or Python) against economics-specific quality standards. Catches silent failures, reproducibility risks, and style issues that generic linters miss.
Argument: $ARGUMENTS
- Path to a file (
.do,.R,.py) or a directory - Or a project name (will look in
~/Dropbox/Github/[project]/)
Modes (append to argument):
quick(default) — Single-file review: correctness, reproducibility risks, stylefull— Deep single-file review with project context (reads master do-file, config, related files)pipeline— Multi-file review: trace the full analysis pipeline, check dependencies and flowreplication— AEA replication package audit (README, data citations, reproducibility, completeness)
Flags:
fix— Also output a corrected version of the file (otherwise review-only)severity:high— Only report high-severity issues (skip style nitpicks)