er-reproducibility
Use when organizing a reproducible research package (folder structure, master do-file, data availability statement) so empirical results survive 《经济研究》 referee scrutiny and录用后的扩展资料提交.
npx skills add brycewang-stanford/Awesome-Journal-Skills --skill er-reproducibility --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 可复现研究包(er-reproducibility) ## 触发时机 - 实证做完了,准备把代码和数据整理成"别人能重跑"的形态 - 审稿人或编辑要求"提供代码核查",而你的脚本现在是一坨乱麻 - 收到 R&R,要在干净环境里复现自己三个月前的结果,却跑不出来 - 录用后编辑部要求提交扩展资料(数据 + 代码) ## 为什么重要 - 《经济研究》审稿人 / 编辑会**核查代码与数据**:表格对不上、跑不出来,直接成为修改阶段的大坑,甚至撤稿。 - 可复现性差 → R&R 阶段每改一处都要从头手动重算,时间成本巨大。 - 现实是:**几个月后第一个跑不出你结果的人,就是你自己**。可复现包首先是给未来的自己用的。 ## 标准目录结构 一个项目一个根目录,原始数据只读、代码分层、输出与代码分离: ``` project/ ├── data/raw/ 原始数据(只读,永不手改) ├── data/clean/ 清洗后数据(由代码生成,可删可重建) ├── code/ │ ├── 00_master.do 一键运行,顺序调用以下脚本 │ ├── 01_clean.do 清洗:原始 → clean │ ├── 02_descriptive.do 描述性统计 / 平衡性 │ ├── 03_baseline.do 基准回归 │ ├── 04_mechanism.do 机制检验 │ ├── 05_robustness.do 稳健性 │ └── 06_figures.do 出图 ├── output/tables/ 表格(由代码生成) ├── output/figures/ 图形(由代码生成) └── README.md 运行说明 + 数据可得性声明 ``` 原则:**output 里的任何文件都应能被 code 重新生成**。手工产物不进 output。 ## master do-file 模板 只在 master 里定义一次根路径,全部用相对路径,固定版本与种子: ```stata *============================================================ * 00_master.do —— 一键复现正文全部表与图 *============================================================ clear all set more off version 17 // 声明 Stata 版本,便于他人对齐 set seed 20240101 // 全局随机种子,bootstrap/安慰剂可复现 * 根路径:他人只需改这一行 global root "/Users/yourname/project" global data "$root/data" global code "$ro
- 触发时机
- 为什么重要
- 标准目录结构
- master do-file 模板
- 脚本编写规范
- 数据可得性说明
- 随机性与可复现
- 必查清单
- 反模式
- 输出格式
- 参考
- 附属资源
What does the er-reproducibility skill do?
Use when organizing a reproducible research package (folder structure, master do-file, data availability statement) so empirical results survive 《经济研究》 referee scrutiny and录用后的扩展资料提交.
How do I install it?
Run `npx skills add brycewang-stanford/Awesome-Journal-Skills --skill er-reproducibility --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From brycewang-stanford/Awesome-Journal-Skills, a repository with 909 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.