Review Stata

Run the Stata code review protocol on .do files in code/stata/. Checks reproducibility, variable management, regression specification, table and figure output conventions. Produces a report without editing files.

majiayu000 ca7a45a 2 files · 1.9 KB Updated 567 repo stars

File contents

Review Stata Scripts

Run the comprehensive Stata code review protocol.

Steps

  1. Identify scripts to review:

    • If $ARGUMENTS is a specific .do filename or path: review that file only
    • If $ARGUMENTS is all: review all .do scripts in code/stata/
  2. For each script, launch the stata-reviewer agent with instructions to:

    • Follow the full protocol in .claude/agents/stata-reviewer.md
    • Read .claude/rules/stata-code-conventions.md for current standards
    • Save report to quality_reports/[script_name]_stata_review.md
  3. After all reviews complete, present a summary:

    • Total issues found per script
    • Breakdown by severity (Critical / High / Medium / Low)
    • Top 3 most critical issues across all scripts
  4. IMPORTANT: Do NOT edit any Stata source files. Only produce reports. Fixes are applied after user review.

majiayu000/claude-skill-registry-data/tree/main/quality/review-stata commit ca7a45af05

Frequently asked questions

npx skillmds add majiayu000/review-stata