Simplify and clean up code after functional changes are complete. Use when Codex should polish recently modified files, reduce complexity, remove duplication or dead code, improve readability, apply idiomatic patterns, and run formatting or tests while preserving behavior.
Generate publication-ready LaTeX tables for regression results, summary statistics, balance tables, and similar empirical outputs using standard academic formatting.
Senior Python development guidance for writing clean, efficient, well-documented, and type-safe Python code. Use when Codex needs to write or refactor Python, review Python for correctness and maintainability, debug Python exceptions, add type hints or dataclasses, improve performance, or apply PEP 8 and docstring conventions.
Design and write reproducible Stata regression workflows with diagnostics and publication-ready output. Use when Codex needs to specify OLS, fixed-effects, panel, logit/probit, or related regressions in Stata, choose clustering and controls, export tables with esttab or outreg2, or suggest diagnostics and robustness checks for empirical research.