plugin/skills/stata-lint/SKILL.md
Run static analysis on a Stata .do or .ado file and report style and best-practice issues.
npx skillsauth add tmonk/mcp-stata stata-lintInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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:
cd, preserve/restore, #delimit, hardcoded paths, long lines, missing version statementFor 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 .do or .ado file.
tools
Show mcp-stata identity, connected tools, and status. Use when the user asks if mcp-stata is available, asks about access to the toolkit, or asks what Stata tools are connected.
tools
Activate when users mention Stata commands, .do files, regressions, econometrics, stored results, graphs, dataset inspection, replication, or Stata errors. Route the task through mcp-stata tools and the specialized research skills instead of treating it as plain text coding.
development
Build and review paper-ready regression, balance, and summary tables from Stata outputs. Use when the user needs a clean table for a draft, appendix, or coauthor share-out.
tools
Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code. Activate when users ask to set up the Stata toolkit or troubleshoot the installation.