一键导入
data-audit
Scans notebooks for data file references and verifies each file exists on disk. Use when checking for broken data paths.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scans notebooks for data file references and verifies each file exists on disk. Use when checking for broken data paths.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Scaffold a Quarto analysis notebook (generic or method-specific — DiD, IV, RDD, LASSO, Panel FE), register it in _quarto.yml, apply publication-quality figure styling, and generate dataset codebooks. Use when starting a new analysis notebook.
Manage the project's literature workflow — ideate research questions, run structured literature reviews, add citations to references.bib, write annotation notes in references/, and audit citation integrity. Use for any bibliography or literature task.
Audit a Quarto manuscript or a single notebook — freeze freshness, data-path existence, citation integrity, figure/table export presence, placeholder and anonymization checks. Produces a scored review report under notes/. Read-only — never modifies notebooks, data, or the manuscript.
Build publication-quality regression and robustness tables from notebook estimation output, exported to tables/ as CSV + Markdown + LaTeX. Use when creating a results table.
Draft and revise manuscript prose for index.qmd — sections, the abstract, regression-result interpretation, and referee responses. Use when writing or revising the manuscript.
Reads the manuscript and notebooks to generate a structured abstract. Use when writing or updating the abstract.
| name | data-audit |
| description | Scans notebooks for data file references and verifies each file exists on disk. Use when checking for broken data paths. |
| allowed-tools | Bash, Read, Glob, Grep |
| version | 1.0.0 |
| workflow_stage | data |
| tags | ["data","validation","quality-check"] |
Scan all notebooks for data file references and verify they exist on disk.
Scan all .qmd files in notebooks/ for data loading patterns:
pd.read_csv(...), pd.read_stata(...), pd.read_excel(...), pd.read_parquet(...), open(...), np.loadtxt(...)read.csv(...), read_csv(...), read.dta(...), haven::read_dta(...), readxl::read_excel(...), load(...)use "...", import delimited "...", import excel "...", insheet using "..."Extract every referenced file path and normalize it:
notebooks/)../data/rawData/) from the notebook directoryCheck that each referenced file exists in data/rawData/ or data/
Scan data/rawData/ and data/ for all data files present on disk
Report three categories:
Resolved — referenced and found:
Broken — referenced but not found:
Undocumented — on disk but never referenced by any notebook:
data/rawData/ or data/ that no notebook loadsPrint a summary: total references, resolved, broken, undocumented files
data/rawData/ does not exist, warn but continue checking data/.