freeze-check
Checks whether registered notebooks have current, stale, or missing outputs. Use before rendering or to verify freshness.
它会碰到什么
扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Check Notebook Execution Freshness
Verify that all registered notebooks have been executed and their outputs are current.
Steps
- Read
_quarto.ymland extract all notebook paths frommanuscript.notebooks.
- For each registered notebook, check:
- Has outputs: Open the
.ipynbJSON and check if any code cells have non-emptyoutputsarrays - Last modified: File modification timestamp of the
.ipynb - Outputs age: Check
executionmetadata timestamps in cell metadata (if present) to determine when outputs were last generated - Freeze cache: Check if
_freeze/notebooks/<name>/directory exists and contains cached output
- Determine freshness status for each notebook:
- Current: has outputs and the
.ipynbhas not been modified since outputs were generated - Stale: has outputs but the
.ipynbsource cells have been modified more recently than the outputs - Unexecuted: no outputs in any code cell
- Freeze only: no cell outputs but a
_freeze/cache exists (Quarto will use the cache)
- Report a summary table:
Notebook Has Outputs Last Modified Status
─────────────────────────────────────────────────────────────────
notebook-01.ipynb Yes 2026-02-28 14:30 Current
notebook-02.ipynb Yes 2026-03-01 09:15 Stale
notebook-03.ipynb No 2026-02-25 11:00 Unexecuted
- If any notebooks are stale or unexecuted, flag them and offer to run
/project:executeto re-execute all notebooks.
- If all notebooks are current, report "All notebooks are up to date."
Error handling
- If
_quarto.ymlhas no notebooks registered, report "No notebooks found in _quarto.yml" and stop. - If a registered notebook file does not exist on disk, flag it as missing.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
星标★ 3,829
本站分层T1
该仓技能数1161
原文件路径
skills/29-quarcs-lab-project20XXy/dot-claude/skills/freeze-check/SKILL.md同一个仓库里的其他技能
- Full-empirical-analysis-skill
- Full-empirical-analysis-skill-R
- Full-empirical-analysis-skill-Stata
- auto-empirical-research-skills
- StatsPAI_skill
- Full-empirical-analysis-skill
- Full-empirical-analysis-skill-Stata
- Full-empirical-analysis-skill-R
- academic-paper-composer
- academic-paper-strategist
- medical-imaging-review
- paper-slide-deck