Standardized Python & Stata coding practices for empirical research projects
Research Project Coding Guidelines Version: 1.0 Last Updated: January 2026 Purpose: Standardized coding practices for empirical research projects Table of Contents 1. Project Structure 2. Python Guidelines 3. Stata Guidelines 4. General Best Practices 5. Quick Reference Templates Project Structure Directory Organization Script Numbering Convention 0: Initial data extraction 1a, 1b, 1c: Data cleaning and preparation 2a, 2b: Data merging and linking 3a, 3b: Feature extraction and engineering 4a,…
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/coding-guidelines · 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/30-zirui-song-claude-skills/coding-guidelines" ".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/30-zirui-song-claude-skills/coding-guidelines" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/coding-guidelines
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.
References parent-directory traversal, which can escape a target directory.
Evidence: ../· fingerprint fa08499e14d0113b