stata-lint
SkillFiles & storageRun static analysis on a Stata .do or .ado file and report style and best-practice issues.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the stata-lint skill
What this skill tells your AI
The instructions your AI receives, as published by brycewang-stanford/auto-empirical-research-skills in skills/64-tmonk-mcp-stata/skills/stata-lint/SKILL.md and read by ahel’s review.
The argument is the absolute path to a .do or .ado file.
-
Call
stata_inspect_data(action="lint", path=<argument>). -
Display the lint results, grouping issues by severity or type:
- Line number and issue description for each finding
- Common issues: use of
cd,preserve/restore,#delimit, hardcoded paths, long lines, missingversionstatement
-
For each category of issue found, briefly explain the modern alternative (refer to the stata-modernize skill for details).
-
If the file is clean, confirm: "No issues found in
<filename>." -
If the path argument is missing, tell the user to provide an absolute path to a
.door.adofile.
Signals
- GitHub stars
- 4k
- Forks
- 531
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
stata-lint- Source
- github.com/brycewang-stanford/auto-empirical-research-skills
github.com/brycewang-stanford/auto-empirical-research-skills