agentsclimarketplace

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

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.

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.

  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.

What ships with it: 2 files

843 B alongside SKILL.md

agents/

Keep looking

Skills are one crate of 325,949. 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.