用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/expectedparrot/katz --skill review-repo命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | review-repo |
| description | Review the paper's repository — code, data, and analysis scripts — against manuscript claims |
| allowed-tools | Read, Bash, Glob, Grep |
| user-invocable | true |
Explores the paper's repository to verify that code, data, and analysis scripts are consistent with the manuscript's claims. Files katz issues for any discrepancies, linking manuscript locations to the relevant repo artifacts.
/review-repo
katz paper status should return "valid": true).Explore the repository to understand what's there:
# Find analysis scripts
find . -name "*.R" -o -name "*.py" -o -name "*.do" -o -name "*.jl" -o -name "*.m" | head -50
# Find data files
find . -name "*.csv" -o -name "*.dta" -o -name "*.parquet" -o -name "*.xlsx" | head -30
# Find notebooks
find . -name "*.ipynb" -o -name "*.Rmd" -o -name "*.qmd" | head -20
# Check for build systems
ls Makefile makefile snakefile *.mk 2>/dev/null
Report to the user what you find: how many scripts, what languages, whether there's a build system, etc.
Read the manuscript and identify verifiable claims:
Use katz paper section <id> and the manuscript to identify what to check.
For each analysis script:
If the code can be run (dependencies available, data accessible):
# Check if dependencies are available
pip list 2>/dev/null | grep -i "pandas\|numpy\|statsmodels"
Rscript -e "installed.packages()[,'Package']" 2>/dev/null | head -20
Run scripts and compare output to manuscript claims. When running code:
If the code cannot be run (missing data, proprietary dependencies), note this and review the code statically.
For each discrepancy found, file a katz issue linking the manuscript claim to the relevant code:
katz issue write \
--title "Table 2 coefficient differs from code output" \
--byte-start <start> --byte-end <end> \
--body "The manuscript reports 0.87 for the hardship coefficient, but running analysis/table2.R produces 0.84. The difference may be due to a different sample restriction in line 45 of the script." \
--artifacts "analysis/table2.R,data/clean_sample.csv"
The --byte-start and --byte-end point to where the manuscript makes the claim. The --artifacts flag lists the repo files involved.
Numbers that should match:
Methodology consistency:
Figure reproduction:
Data pipeline:
After reviewing, summarize:
基于 SOC 职业分类