Stata lint
Skill brycewang-stanford/Auto-Empirical-Research-Skills/skills/64-tmonk-mcp-stata/skills/stata-lint
Run static analysis on a Stata .do or .ado file and report style and best-practice issues.From its SKILL.md
npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill stata-lintAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
0.8 KB, 171 tokens by cl100k_base, as published. Nobody here has run it
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.
What ships with it: 2 files
843 B alongside SKILL.md
agents/
- openai.yaml222 B
- manifest.json621 B