Конвейер репликации на Stata для публикаций

engineering

stata-replication is a Claude Code skill that builds an end-to-end Stata replication pipeline by scaffolding numbered .do files in scripts/stata/ — including 00_install.do, 01_clean.do, 03_analyze.do, 05_tables_figures.do, and 99_run_all.do — executing them via the stata-mcp MCP server, and capturing logs and outputs to scripts/stata/_outputs/. Tables are produced with esttab and figures are exported as PDFs via graph export; all files conform to stata-code-conventions.md. The skill supports --from-r (translate an existing R pipeline to Stata) and --no-execute (scaffold only) flags, and can cross-check point estimates and standard errors between Stata and R runs. It is designed for AEA replication packages, RCT studies, and field experiments where Stata is the primary analysis language rather than R.