Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Improve, modernize, and optimize existing Stata code for performance, portability, and maintainability. Use when legacy patterns such as preserve/restore, cd,
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-13 | ✗→✓ | ▲ Improved | -39% | 0% |
| case-14 | ✓→✗ | ▼ Worse | -24% | 0% |
| case-16 | ✓→✗ | ▼ Worse | -23% | 0% |
| case-01 | ✓→✓ | = Same ✓ | -5% | 0% |
| case-02 | ✓→✓ | = Same ✓ | -44% | 0% |
Use this skill when a user wants stronger Stata code, not just working Stata code.
reghdfe, gtools, portable paths, and explicit state handling.Read references/patterns.md for common replacements and examples.
Other measured skills in the registry, with their headline benchmark lift.