一键导入
check-env
Verifies required tools (Quarto, uv, Python, R, Stata, TeX) and Jupyter kernels are installed. Use when setting up or troubleshooting.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Verifies required tools (Quarto, uv, Python, R, Stata, TeX) and Jupyter kernels are installed. Use when setting up or troubleshooting.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | check-env |
| description | Verifies required tools (Quarto, uv, Python, R, Stata, TeX) and Jupyter kernels are installed. Use when setting up or troubleshooting. |
| allowed-tools | Bash, Read, Glob, Grep |
| version | 1.0.0 |
| workflow_stage | setup |
| tags | ["environment","setup","diagnostics"] |
Verify that all required tools and dependencies are installed and correctly configured.
Check each required tool and report its version (or "not found"):
| Tool | Command | Minimum |
|---|---|---|
| Quarto | quarto --version | >= 1.4 |
| uv | uv --version | any |
| Python | python3 --version | >= 3.12 |
| R | R --version | optional |
| Stata | which stata | optional |
| TeX Live | pdflatex --version | optional (for PDF) |
| GitHub CLI | gh --version | optional |
Check Jupyter kernels by running uv run jupyter kernelspec list and verify:
python3 — requiredir — optional (needed for R notebooks)nbstata — optional (needed for Stata notebooks)Check the Python virtual environment:
.venv/ existsuv run python -c "import numpy; import pandas; import matplotlib; print('Core packages OK')" to confirm importabilityCheck nbstata configuration (if nbstata kernel is present):
~/.config/nbstata/nbstata.conf existsstata_dir points to an existing directoryReport a structured results table:
Tool/Check Status Version/Details
─────────────────────────────────────────────────
Quarto PASS 1.6.x
uv PASS 0.x.x
Python PASS 3.12.x
R PASS 4.x.x
Stata SKIP not found (optional)
TeX Live PASS 2024
GitHub CLI PASS 2.x.x
Kernel: python3 PASS installed
Kernel: ir PASS installed
Kernel: nbstata SKIP not installed
.venv/ PASS exists
Core Python packages PASS importable
nbstata.conf SKIP kernel not installed
Use PASS / FAIL / SKIP (SKIP for optional tools that are absent).
If any required check fails, provide the installation command or link to fix it.
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.