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.
Scanned 9/3/2026
Install to Claude Code
npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill stata-modernize --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Stata Modernize?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/brycewang-stanford-stata-modernize)More formats (shields.io, HTML) on the badges page.
---
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.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
This skill provides comprehensive analysis of competitor SEO and GEO strategies, revealing what's working in your market and identifying opportunities to outperform the competition.