<< All versions

Skill v1.0.0

currentAutomated scan100/100
brycewang-stanford/auto-empirical-research-skills/stata-modernize
──Details
PublishedOctober 15, 2026 at 12:23 PM
Content Hashsha256:51f98c0067537b79...
Git SHAe0b0c13ca15d
──Files
Files (1 file, 671 B)
SKILL.md671 Bactive
SKILL.md · 16 lines · 671 B

version: "1.0.0" name: stata-modernize description: Improve, modernize, and optimize existing Stata code for performance, portability, and maintainability. Use when legacy patterns such as preserve/restore, cd, #delimit, slow aggregation, or weak fixed-effects workflows appear in code under review.


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.

All versions