cookbook-audit

Audit Claude Cookbook notebooks against style-guide criteria and generate structured quality reports.

53|8|Updated Jan 2, 2026
One-click install
npx skills add https://github.com/zk-b612/claude-cookbooks-zh --skill cookbook-audit-zk-b612
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cookbook-audit
Source: https://github.com/zk-b612/claude-cookbooks-zh/tree/main/.claude/skills/cookbook-audit
Command: npx skills add https://github.com/zk-b612/claude-cookbooks-zh --skill cookbook-audit-zk-b612

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

本技能用于按照风格指南对 Anthropic Cookbook Notebook 进行结构化评审,快速识别叙述、代码、依赖和结论等方面的潜在改进点。

Core Features & Use Cases

  • 基于样式指南对 Notebook 的引言、前置条件、核心章节和结论进行逐项评估,并输出改进建议。
  • 自动化检查包括对硬编码密钥的探测、pip install 输出抑制、代码解释性文本、模型常量定义位置等维度。
  • 生成可直接用于改进的审计报告,便于开发者按优先级改进 Notebook 内容和结构。

Quick Start

  1. 将待审计的 notebook 放置在 Skill 路径下,如 notes/notebook.ipynb。
  2. 运行审核脚本以生成 Markdown 摘要和报告: uv run --with nbconvert validate_notebook.py path/to/notebook.ipynb
  3. 查看生成的 Markdown 摘要:tmp/ cookbook-audit_review.md

Frequently Asked Questions about cookbook-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit a Jupyter notebook against a style guide for quality?

To audit a Jupyter notebook against a style guide, place the file in the Skill path and run the validation script using nbconvert to generate a structured Markdown quality report. This reviews introduction, prerequisites, core content, and conclusion.

What does a notebook quality assessment rubric evaluate?

A notebook quality assessment rubric evaluates the introduction, prerequisites, core chapters, and conclusion. It checks for hardcoded keys, suppressed pip install outputs, explanatory code text, and proper model constant definitions to generate actionable improvement suggestions.

Can I automatically check my notebook for hardcoded secrets and formatting issues?

Yes, you can automatically check notebooks for hardcoded secrets and formatting issues. The automated review probes for hardcoded keys, verifies pip install output suppression, and validates code explanation text against the style guide criteria.

How do I generate a YAML metadata block from a notebook review?

You generate a YAML metadata block from a notebook review by running the validation script. It processes the notebook against the rubric to produce concise YAML output containing dependencies, components, and toxicity evaluation ready for ingestion.

Do I need uv and nbconvert to run a notebook audit script?

Yes, you need uv and nbconvert to run the notebook audit script. The process executes via uv run with the nbconvert package to validate the notebook and output the Markdown summary report.