pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
Transform research descriptions into well-structured implementation plans following project conventions
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill workflows-plan --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/workflows-planContext preview
The summary Claude sees to decide when to auto-load this skill.
Transform research descriptions into well-structured implementation plans following project conventions
name: workflows:plan description: Transform research descriptions into well-structured implementation plans following project conventions argument-hint: "<research task, estimation problem, or methodological improvement>" allowed-tools: Read, Glob, Bash
**Pipeline mode:** This command operates fully autonomously. All decisions are made automatically.
Transform research descriptions, estimation problems, or methodological improvements into well-structured plan files that follow project conventions and best practices. This command auto-selects the appropriate detail level based on task complexity.
<feature_description> #$ARGUMENTS </feature_description>
**If the research description above is empty:** Infer the task from recent context — open plan files, recent brainstorms in `docs/brainstorms/`, or the current estimation code. If no context is available, state "No research task provided" and stop.
**Check for brainstorm output first:**
Before analysis, look for recent brainstorm documents in `docs/brainstorms/` that match this task:
ls -la docs/brainstorms/*.md 2>/dev/null | head -10
If docs/brainstorms/ does not exist, skip brainstorm lookup and proceed with task analysis.
**Relevance criteria:** A brainstorm is relevant if:
**If a relevant brainstorm exists:** 1. Read the brainstorm document thoroughly — every section matters 2. Announce: "Found brainstorm from [date]: [topic]. Using as foundation for planning." 3. Extract and carry forward ALL of the following into the plan:
4. **Skip the idea refinement analysis below** — the brainstorm already answered WHAT to do 5. Use brainstorm content as the **primary input** to research and planning phases 6. Throughout the plan, reference specific decisions with `(see brainstorm: docs/brainstorms/<filename>)` when carrying forward conclusions 7. Do not omit brainstorm content — if the brainstorm discussed it, the plan must address it
**If no brainstorm found (or not relevant), analyze the task:**
Decompose the research description to understand scope:
Run these agents **in parallel** to gather local context:
**What to look for:**
These findings inform the next step.
Based on task analysis and local findings, decide on extended research.
**Novel methodology → always research.** New identification strategies, unfamiliar estimators, methods without established implementations. The cost of missing relevant literature is too high.
**Strong local context → skip extended research.** Project has established patterns for this type of work, prior brainstorm covers the approach, straightforward extension of existing code.
**Uncertainty or unfamiliar territory → research.** Unfamiliar econometric method, no existing examples in codebase, potential identification concerns.
**Announce the decision and proceed.** Brief explanation, then continue.
Examples:
**Only run if Step 1.5 indicates extended research is valuable.**
Run these agents in parallel:
After all research steps complete, consolidate findings:
**Title & Categorization:**
After planning the structure, validate the researc
📌 文档结构(2026-07-22 起): 本文件是中文默认入口 —— banner + badges + 信任面 + 9 阶段流水线速览 + 76 行合集总表。 每个合集的完整描述、按用途分组、精确数字、验证方法在 docs/CONTENT_ZH.md(扩展正文,总表行内的 → 直接跳转到对应锚点)。 English version: README-en.md · 中文扩展正文:docs/CONTENT_ZH.md · README-zh-CN.md 已弃用(重定向占位) 🌐 语言: English |
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics paper (AER / QJE / JPE / ReStud /…
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid + did_imputation +…
Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem — dplyr + tidyr + haven + fixest + sandwich + lmtest +…
Systematic writing framework for philosophy and interdisciplinary academic papers from optimized outline to submission-ready manuscript. Use when users want…