Skip to content
Back to skills

Stata Modernize

ASecurity

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.

  • 5,142 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 3, 2026
researchperformance

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill stata-modernize --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stata Modernize?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Stata Modernize
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/brycewang-stanford-stata-modernize/badge)](https://www.skillsdirectory.com/skills/brycewang-stanford-stata-modernize)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Files in this skill

  • SKILL.md654 B
  • agents/openai.yaml244 B
  • manifest.json779 B
  • references/patterns.md514 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in research →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.