Comprehensive Stata reference for writing correct .do files, data management, econometrics, causal inference, graphics, Mata programming, and 17+ community packages (reghdfe, estout, did, rdrobust, etc.). Covers syntax, options, gotchas, and idiomatic patterns. Use this skill whenever the user asks you to write, debug, or explain Stata code.
Stata Skill You have access to comprehensive Stata reference files. Do not load all files. Read only the 1 3 files relevant to the user's current task using the routing table below. Critical Gotchas These are Stata specific pitfalls that lead to silent bugs. Internalize these before writing any code. Missing Values Sort to +Infinity Stata's (and ) are greater than all numbers . vs is assignment; is comparison. Mixing them up is a syntax error or silent bug. Local Macro Syntax Locals use $name…
Full body not shown for this license – view the source on GitHub →Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/stata · pinned to the source commit
# Run from your project root
git clone https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git .skillboard-tmp
git -C .skillboard-tmp checkout 692e9fa3fea40bbdf614584d461851f8fb968ac2
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/skills/14-luischanci-claude-code-research-starter/dot-claude/skills/stata" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git .skillboard-tmp
git -C .skillboard-tmp checkout 692e9fa3fea40bbdf614584d461851f8fb968ac2
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/skills/14-luischanci-claude-code-research-starter/dot-claude/skills/stata" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/stata
Scanner static-checks@0.1.0 · commit 692e9fa3fea4. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
No static rules matched. This is not a safety guarantee.