Skip to content

Pedro Sant'Anna's Claude Code Workflow

license: MIT · 79 skills · last update: 2026-09-27

Source: https://github.com/pedrohcgs/claude-code-my-workflow

Maintainers: Pedro H. C. Sant'Anna (Emory University, Economics)

Compatibility: claude-code

A ready-to-fork Claude Code template for academics using LaTeX/Beamer + R. 61 skills + 18 agents. Calibrated peer-review pipeline against AER, QJE, JPE, Econometrica, ReStud. Adopted by 15+ research groups. Refresh 2026-09-29 (upstream at 2026-09-27, previously catalogued at 2026-04-27 with 30 skills + 14 agents): added 31 skills (replication packaging, environment capture, disclosure and submission checks, grant/DMP/power-analysis design aids, teaching tools, audit and verification primitives such as vaccinate, differential-audit, verify-artifact, oracle-review) and 4 agents (humanize-auditor, promote-memory-council, r-package-reviewer, sim-reviewer); 43 existing skill texts changed upstream and were re-copied (notably /commit no longer merges, /deep-audit became a general adversarial audit); nothing was removed.

Source YAML: skills/psantanna-workflow.yml

Skills

analysis (4)

Skill Field Stages Description Full text Source Updated
/challenge economics data-analysis Stress-tests a finding against the analysis forks not taken (measures, sample filters, controls, clustering, weighting, functional form) by running and reporting the specification grid. view origin 2026-08-23
/data-analysis economics data-analysis — view origin 2026-09-26
/diagnose economics data-analysis code-generation Root-causes a failing or wrong empirical result with a reproduce, minimise, hypothesise, instrument, fix loop tuned for R, Stata and Python research code. view origin 2026-09-26
/simulation-study economics formal-modeling code-generation Scaffolds and runs a reproducible Monte Carlo simulation study in R (DGP, estimator grid, seeded replications), reporting bias, RMSE, coverage and size/power with Monte Carlo standard errors. view origin 2026-09-26

audit (14)

Skill Field Stages Description Full text Source Updated
/blast-radius economics code-generation Before and after changing anything shared (a function, signature, schema, config default or constant), finds every consumer and runs it to catch silent downstream breakage. view origin 2026-08-23
agent:claim-verifier economics referee-simulation — view origin 2026-09-26
/credible-claims economics research-design Research-brief and claim-record discipline for AI-assisted research: write the brief before a long run, and back every reported result with a claim record. view origin 2026-08-21
/deep-audit economics referee-simulation Adversarial audit of a theory, proof, paper, codebase or set of claims: independent skeptics must return concrete defects, a separate judge adjudicates each, confirmed defects are fixed and re-verified. view origin 2026-09-27
/differential-audit economics replication Compares two implementations of the same thing (a port, reimplementation, replication package or refactor) with frozen inputs and a full output inventory so agreement is meaningful. view origin 2026-08-21
/disclosure-check economics dissemination Pre-screens tables, figures and logs built on restricted data for statistical-disclosure problems (small cells, suppression gaps, dominance, re-identification risk) before release. view origin 2026-09-26
/qa-quarto economics referee-simulation — view origin 2026-09-26
agent:quarto-critic economics referee-simulation — view origin 2026-09-26
/r-package-check economics code-generation Runs the full R package release gate (docs, tests, R CMD check --as-cran) and triages every ERROR, WARNING and NOTE against CRAN policy. view origin 2026-09-26
/vaccinate economics Qualifies a checker before trusting it: seeds known defects into a copy of a real artifact plus a clean control and reports recall and false-positive rate. view origin 2026-09-26
/validate-bib economics referee-simulation — view origin 2026-06-09
agent:verifier economics referee-simulation — view origin 2026-09-26
/verify-artifact economics dissemination Proves a file about to be sent or published is the intended one: rebuild from source, integrity check, diff against source, and recipient echo-back. view origin 2026-08-21
/verify-claims economics referee-simulation — view origin 2026-09-26

code-gen (1)

Skill Field Stages Description Full text Source Updated
/stata-replication economics code-generation data-analysis End-to-end Stata pipeline: numbered .do files run through the stata-mcp server, logged outputs, and publication-ready esttab tables and exported figures. view origin 2026-09-26

design (3)

Skill Field Stages Description Full text Source Updated
/data-management-plan economics research-design Drafts a funder-compliant Data Management Plan (NSF, NIH, ERC, Horizon Europe) covering data description, storage, access, sharing and preservation. view origin 2026-09-26
/power-analysis economics research-design Computes power, required sample size and minimum detectable effect for a study design (clustered RCTs, multiple arms, simulation-based) and writes a registry-ready power section. view origin 2026-09-26
/preregister economics research-design — view origin 2026-09-26

drafting (6)

Skill Field Stages Description Full text Source Updated
agent:beamer-translator economics paper-drafting — view origin 2026-09-26
/compile-latex economics paper-drafting — view origin 2026-04
/grant-proposal economics research-design Scaffolds a research grant proposal (NSF, NIH, ERC or foundation) by composing the interview spec, data-management-plan and environment-capture skills. view origin 2026-09-27
/scaffold-exercises economics Scaffolds a graded problem set with worked solutions and short why-this-matters explainers across analytical, empirical and coding problem types. view origin 2026-09-26
/syllabus economics Builds or restructures a course syllabus: description and prerequisites, week-by-week schedule, measurable learning objectives, assessment scheme with rubric, and standard policies. view origin 2026-09-26
/translate-to-quarto economics paper-drafting — view origin 2026-09-26

editing (8)

Skill Field Stages Description Full text Source Updated
/humanize economics revision-editing Read-only audit of .tex, .qmd or .md prose for AI-voice tells: boilerplate transitions, cliche lexicon, em-dash overuse, symmetric paragraph shapes and hedging. view origin 2026-09-26
agent:humanize-auditor economics revision-editing Read-only auditor for AI-voice tells in academic prose across the ten detection categories defined by /humanize. view origin 2026-09-26
/pedagogy-review economics revision-editing — view origin 2026-09-26
agent:pedagogy-reviewer economics revision-editing — view origin 2026-09-26
/proofread economics revision-editing — view origin 2026-09-26
agent:proofreader economics revision-editing — view origin 2026-09-26
agent:quarto-fixer economics revision-editing — view origin 2026-06-09
/voice-profile economics revision-editing Extracts a written voice profile from your own prior papers and uses it to keep new drafts sounding like you. view origin 2026-09-26

figures (3)

Skill Field Stages Description Full text Source Updated
/extract-tikz economics paper-drafting — view origin 2026-08-21
/new-diagram economics paper-drafting — view origin 2026-09-26
/visual-audit economics paper-drafting — view origin 2026-09-26

ideation (2)

Skill Field Stages Description Full text Source Updated
/interview-me economics rq-formulation hypothesis-generation — view origin 2026-09-26
/research-ideation economics rq-formulation hypothesis-generation — view origin 2026-09-26

infra (11)

Skill Field Stages Description Full text Source Updated
/checkpoint economics — view origin 2026-09-27
/coauthor-brief economics Generates a co-author handoff brief: git delta since the last brief, state of manuscript, analysis and slides, open questions, and how to reproduce locally. view origin 2026-09-26
/commit economics Runs the quality and consistency gates, then commits with a subject that states what is now true; pushes and opens a PR only on request and never merges without an explicit instruction. view origin 2026-09-26
/compress-session economics Distills the current conversation into a structured session note (decisions, open questions, file pointers, next actions) before auto-compression. view origin 2026-09-26
/context-status economics — view origin 2026-09-26
/issues economics Keeps the project to-do list and memory in GitHub issues: files findings without duplicates, lists issues relevant to the current work, and closes them with a record of the fix. view origin 2026-09-26
/learn economics — view origin 2026-09-26
/permission-check economics — view origin 2026-09-26
/promote-memory economics Reviews candidate learnings in Claude Code auto memory through a five-critic council and promotes majority-approved entries to the committed MEMORY.md. view origin 2026-09-26
agent:promote-memory-council economics Five-critic council (generality, staleness, redundancy, evidence, format) that votes on promoting candidate learnings from local memory to the committed MEMORY.md; invoked by /promote-memory. view origin 2026-09-26
/triage-inbox economics Triages academic email and calendar into a prioritized digest plus a referee-obligations tracker (referee requests, R&R correspondence, co-author threads, invitations). view origin 2026-09-27

literature (1)

Skill Field Stages Description Full text Source Updated
/lit-review economics literature-discovery literature-synthesis — view origin 2026-09-27

meta (1)

Skill Field Stages Description Full text Source Updated
/new-skill economics Scaffolds a new skill in the repo conventions: interviews for purpose, trigger phrases and tool needs, then writes a SKILL.md that passes the integrity gates. view origin 2026-09-27

replication (3)

Skill Field Stages Description Full text Source Updated
/audit-reproducibility economics replication — view origin 2026-09-26
/capture-environment economics replication Snapshots the computational environment (R, Stata or Python) for a replication package and writes the matching lockfiles and version records. view origin 2026-09-26
/replication-package economics replication dissemination Assembles a submission-ready replication package to the AEA Data and Code Availability Standard: README, dataset manifest, computational requirements, table and figure map. view origin 2026-09-26

review (14)

Skill Field Stages Description Full text Source Updated
/devils-advocate economics referee-simulation — view origin 2026-08-21
agent:domain-referee economics referee-simulation — view origin 2026-09-26
agent:domain-reviewer economics referee-simulation Template agent for substantive domain review of a lecture deck or manuscript section: derivation correctness, assumption sufficiency, citation fidelity, code-theory alignment, logical consistency. view origin 2026-09-26
agent:editor economics referee-simulation — view origin 2026-09-26
agent:methods-referee economics referee-simulation — view origin 2026-09-26
/oracle-review economics referee-simulation Runs an external frontier-model referee from a different vendor (via the Oracle CLI) on a paper, proof, estimator or replication package, then triages each finding as confirmed, refuted or downgraded. view origin 2026-09-27
agent:r-package-reviewer economics code-generation R package source reviewer for CRAN readiness: DESCRIPTION and dependency hygiene, NAMESPACE, roxygen completeness, testthat coverage and CRAN-policy red flags. view origin 2026-09-26
agent:r-reviewer economics referee-simulation — view origin 2026-09-26
/review-paper economics referee-simulation — view origin 2026-09-26
/review-r economics referee-simulation — view origin 2026-09-26
/seven-pass-review economics referee-simulation — view origin 2026-09-27
agent:sim-reviewer economics formal-modeling Monte Carlo simulation reviewer: assumption regime, DGP and estimand alignment, replication budget and Monte Carlo SE, coverage against the truth, and parallel-seed discipline. view origin 2026-09-26
agent:slide-auditor economics referee-simulation — view origin 2026-09-26
agent:tikz-reviewer economics referee-simulation — view origin 2026-09-26

revision (3)

Skill Field Stages Description Full text Source Updated
/adjudicate-review economics revision-editing Treats every incoming review finding (referee, AI reviewer, linter, second model) as a candidate, checks it against the source, and applies only verified fixes. view origin 2026-09-26
/respond-to-eval economics Turns student course evaluations into a teaching-improvement plan: clusters comments into themes and classifies each as Keep, Change or Investigate. view origin 2026-09-27
/respond-to-referees economics revision-editing — view origin 2026-09-27

slides (3)

Skill Field Stages Description Full text Source Updated
/create-lecture economics dissemination — view origin 2026-09-26
/slide-excellence economics dissemination — view origin 2026-09-26
/teach-from-paper economics Turns a research paper into teaching materials: lecture outline, the key results with intuition, a slide skeleton for /create-lecture, discussion questions and a problem-set brief. view origin 2026-09-27

submission (2)

Skill Field Stages Description Full text Source Updated
/deploy economics dissemination — view origin 2026-08-22
/submission-disclosures economics dissemination Generates the submission-time disclosure block: AI-use statement matched to the target journal policy, CRediT roles, conflict-of-interest and data-availability statements. view origin 2026-06-10