Stata Modernize

Improve, modernize, and optimize existing Stata code for performance, portability, and maintainability. Use when legacy patterns such as preserve/restore, cd,

brycewang-stanford Updated 1k repo stars

File contents

Modernize Stata

Use this skill when a user wants stronger Stata code, not just working Stata code.

  1. Identify the current anti-patterns.
  2. Recommend or implement modern replacements with clear rationale.
  3. Favor frames, reghdfe, gtools, portable paths, and explicit state handling.

Read references/patterns.md for common replacements and examples.

brycewang-stanford/Auto-Empirical-Research-Skills/tree/main/skills/64-tmonk-mcp-stata/skills/stata-modernize commit 350cd2302a

Frequently asked questions

npx skillmds@latest add brycewang-stanford/stata-modernize