agentsclimarketplace

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.

Install
npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill stata-lint

Assembled 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.

  1. Call stata_inspect_data(action="lint", path=<argument>).

  2. 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, missing version statement
  3. For each category of issue found, briefly explain the modern alternative (refer to the stata-modernize skill for details).

  4. If the file is clean, confirm: "No issues found in <filename>."

  5. If the path argument is missing, tell the user to provide an absolute path to a .do or .ado file.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.