Stata lint
Skill brycewang-stanford/Auto-Empirical-Research-Skills/skills/64-tmonk-mcp-stata/skills/stata-lint
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
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.
What its author says it does
Copied from the file, not written here
Run static analysis on a Stata .do or .ado file and report style and best-practice issues.
SKILL.md
0.8 KB, 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.