
Claude Skills by brycewang-stanford
github.com/brycewang-stanfordEnd-to-end R data analysis workflow from exploration through regression to publication-ready tables and figures
Render Quarto slides and sync to docs/ for GitHub Pages deployment. Use when deploying lecture slides after making changes.
Challenge a slide deck design with 5-7 specific pedagogical questions. Checks ordering, prerequisites, gaps, alternatives, notation conflicts, cognitive load, and book readiness.
Interactive interview to formalize a research idea into a structured specification with hypotheses and empirical strategy
Structured literature search and synthesis with citation extraction and gap identification
Run the proofreading protocol on lecture files. Checks grammar, typos, overflow, consistency, and academic writing quality. Produces a report without editing files.
Run a full 6-phase autonomous replication of a biomedical/epidemiology paper against UK Biobank or similar cohort data, producing Python and R scripts plus a validated replication report. Use when asked to replicate a paper end-to-end, or when invoked as /replicate-paper [paper.pdf] [data.csv|dta].
Generate structured research questions, testable hypotheses, and empirical strategies from a topic or dataset
Comprehensive manuscript review covering argument structure, econometric specification, citation completeness, and potential referee objections
Run the R code review protocol on R scripts. Checks code quality, reproducibility, domain correctness, and professional standards. Produces a report without editing files.
Reads the manuscript and notebooks to generate a structured abstract. Use when writing or updating the abstract.
Cross-checks citation keys in index.qmd against references.bib, reporting missing, orphaned, and duplicate entries. Use when verifying citations.
Verifies required tools (Quarto, uv, Python, R, Stata, TeX) and Jupyter kernels are installed. Use when setting up or troubleshooting.
Finds a paper by title, author, or DOI, adds BibTeX to references.bib, and shows citation syntax. Use when adding a reference.
Auto-generates a Markdown codebook from a dataset (CSV, DTA, Excel, Parquet) with types and summary statistics. Use when documenting variables.
Scans notebooks for data file references and verifies each file exists on disk. Use when checking for broken data paths.
Drafts academic prose for a manuscript section from bullet points or an outline. Use when writing or expanding a section.
Captures tool versions, packages, and kernel info as a reproducibility record in notes/. Use when documenting the environment.
Executes all registered notebooks, strips noisy cell metadata, and syncs Jupytext pairs. Use when asked to re-run notebooks or refresh outputs.
Generates an HTML gallery of all project figures with captions and source notebooks. Use when reviewing figures.
Checks whether registered notebooks have current, stale, or missing outputs. Use before rendering or to verify freshness.
Writes a session handoff report to handoffs/ with project state, work done, decisions, and next steps. Use at session end or after significant work.
Fills all [FILL:] placeholders across the template to initialize a new research project. Use when setting up a freshly cloned project.
Writes academic prose interpreting regression output. Use when describing estimation results in manuscript-ready language.
Creates a structured annotation note in references/ with sections for research question, data, findings, and relevance. Use when documenting a paper.
Scaffolds a method-specific analysis notebook (DiD, IV, RDD, LASSO, Panel FE) with boilerplate. Use when starting a new econometric analysis.
Creates a Jupyter notebook with Jupytext pairing and registers it in _quarto.yml. Use when adding a new notebook.
Creates a Quarto revealjs slide deck in slides/ with the project style guide. Use when a presentation is needed.
Drafts a point-by-point response letter to referee comments with suggested edits. Use after a revise-and-resubmit.
Formats estimation output as a publication-quality regression table with stars, SEs, and fit statistics. Use when creating a results table.
Runs the clean render pipeline (HTML, PDF, Word) via scripts/render.sh. Use when asked to render, build, or compile the manuscript.
Generates robustness check code and formats results as a combined table. Use for sensitivity analysis.
Runs pre-submission checks (word count, anonymization, citations, placeholders, cross-refs) and generates a checklist. Use before journal submission.
Transfers prose edits from latex/index.tex (Overleaf) back into index.qmd. Use after pulling LaTeX edits from a collaborator.
Standardized Python & Stata coding practices for empirical research projects
Document datasets, variables, sources, and merge keys for replication
Summarize academic papers, extract key findings, and identify research gaps
Project directory organization and script naming conventions for research
Structure responses to referee reports for R&R submissions
Checklist of empirical robustness tests for finance/economics papers
Panel data analysis with Python using linearmodels and pandas.
Run IV, DiD, and RDD analyses in R with proper diagnostics
Run regression analyses in Stata with publication-ready output tables.
Create academic presentations in Beamer with professional themes
Create publication-quality charts and graphs for economics papers.
Fetch economic data from FRED, World Bank, and other APIs
Clean and transform messy data in Stata with reproducible workflows
Generate research questions from economic phenomena
Search, summarize, and synthesize economics literature
Build and solve Walrasian general equilibrium models with theory derivations and Julia computation