agentleFS
MicrosoftKnown publishermicrosoft-foundry/forgebook/.agents/skills/cookbook-review/SKILL.md

cookbook-review

Skill39 starsChanged 6 months agoMITView on GitHub

Review Microsoft Foundry Forgebook cookbook notebooks for quality, correctness, developer experience, and publication readiness. Use this whenever the user asks to review a notebook, judge a recipe, audit a cookbook entry, check registry.yaml metadata, assess whether a Foundry example is ready to publish, remove AI-sounding cookbook prose, or improve a tutorial/recipe before submission. Triggers on "review this notebook", "is this recipe good", "cookbook quality", "Forgebook review", "check my Foundry notebook", "ready to publish", "audit this recipe", and similar requests even when the user does not explicitly say "skill" or "rubric".

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. mistralai/cookbook★ 2.3ksame name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill in read-only review mode by default.

    line 11
  2. Distinctive:

    Every review should answer:

    line 15
  3. Distinctive:

    Start by identifying the review target:

    line 35
  4. Distinctive:

    If the user did not specify scope, assume publication review for new recipes and changed-content review for PR diffs.

    line 42
  5. Distinctive:

    Before scoring, state a short hypothesis:

    line 44
  6. Distinctive:

    Ask at most one clarifying question only if the answer would change the verdict.

    line 52
  7. Very specific:

    Check the fast, objective rules first.

    line 58
  8. Distinctive:

    Treat mechanical failures as high-signal.

    line 76
  9. Distinctive:

    Before finalizing, run a skeptical pass:

    line 108
  10. Distinctive:

    Use this pass to catch false positives, not to invent issues.

    line 117
  11. Very specific:

    Use the template in assets/review-report-template.md.

    line 121

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cookbook Review Skill

Review Forgebook recipes as runnable lessons, not as API demos. A good recipe teaches one transferable Microsoft Foundry pattern with a thesis, evidence, and a takeaway artifact the reader can reuse tomorrow.

Use this skill in read-only review mode by default. Do not edit notebooks or registry files unless the user explicitly asks you to apply fixes.

Review contract

Every review should answer:

  1. Can the reader run this top-to-bottom?
  2. Can the reader tell what pattern they are learning in the first 30 seconds?
  3. Does the recipe teach one reusable decision, or does it drift into a feature tour?
  4. Is there evidence that the technique worked?
  5. Does the reader leave with a copyable artifact, template, command, or pattern?

Load these references as needed:

NeedRead
Full scoring criteriareferences/rubric-detail.md
Forgebook registry, author, tag, media, and notebook rulesreferences/forgebook-contract.md
Dev-to-dev voice, banned AI phrases, concision rulesreferences/writing-quality.md
How to write findings and severity labelsreferences/review-comment-style.md
Final report shapeassets/review-report-template.md

Intake

Start by identifying the review target:

  • Notebook review: a .ipynb file, notebook diff, or rendered notebook page.
  • Registry review: a registry.yaml entry or cookbook metadata.
  • Publication review: full PR/content readiness, including notebook, registry, authors, tags, media/data paths, and narrative quality.
  • Writing-only review: prose voice, AI-isms, structure, and clarity.

If the user did not specify scope, assume publication review for new recipes and changed-content review for PR diffs.

Before scoring, state a short hypothesis:

Hypothesis: This is a [quickstart/tutorial/deep-dive/demo/reference] for [beginner/intermediate/expert] readers.
Success criterion: After running it, the reader should be able to [do one concrete thing].
Confidence: [high/medium/low] based on [title/imports/sections/registry entry].

Ask at most one clarifying question only if the answer would change the verdict. Otherwise proceed with reasonable assumptions and list them in the report.

Workflow

Phase 1: Mechanical gates

Check the fast, objective rules first. In the Forgebook repository, use the optional script when possible:

python .agents/skills/cookbook-review/scripts/recipe-health-check.py <notebook.ipynb> --repo-root .

Mechanical gates:

  • Registry fields are valid when a registry entry is present.
  • Notebook path starts with notebooks/ and ends with .ipynb.
  • Slug follows ^[a-z0-9]+(?:-[a-z0-9]+)*$.
  • Authors exist in authors.yaml with name and title.
  • Tags exist in tags.yaml.
  • Notebook does not start with # H1; the page title comes from registry.yaml.
  • Notebook contains no site-specific publishing metadata.
  • Media references use media/<slug>/...; data references use data/<slug>/....
  • Code cells are not bare code dumps: each should be introduced by a directive, explained by nearby prose, or produce meaningful output.

Treat mechanical failures as high-signal. Do not bury them under style feedback.

Phase 2: Ten-axis recipe score

Score against the ten qualities in references/rubric-detail.md. Use the default weights unless the user asks for pass/fail only:

AxisWeight
Thesis15
Opinionated defaults10
When / What / How triad10
Code cell discipline10
Before/after evidence15
Runnability15
Scope10
Dev-to-dev voice5
Failure modes5
Takeaway artifact5

Verdict tiers:

ScoreVerdict
90-100Publish
75-89Publish after fixes
60-74Revise and resubmit
<60Not ready

Override rule: a recipe with a critical runnability failure, missing thesis, or no reproducible evidence cannot receive "Publish" even if the weighted score is high.

Phase 3: Adversarial pass

Before finalizing, run a skeptical pass:

  • Is the thesis just a feature description?
  • Are defaults actually opinionated, or hedged with "you can also"?
  • Are outputs committed but not reproducible?
  • Is the before/after evidence specific enough to calibrate the improvement?
  • Are failure modes named as first-class content?
  • Is the takeaway a copyable artifact, or merely "the notebook"?

Use this pass to catch false positives, not to invent issues.

Phase 4: Report

Use the template in assets/review-report-template.md. Keep findings direct and evidence-based:

  • Lead with the verdict.
  • Separate blockers from advisory improvements.
  • Give one finding per bullet.
  • For each required fix, include why it matters and what to change.
  • Include at least one thing the recipe already does well.

Modes

Support these scope flags if the user uses them:

  • --registry-only: validate only registry, authors, tags, slug, and paths.
  • --writing-only: review thesis, structure, voice, AI-isms, and takeaway artifact.
  • --mechanical-only: run objective checks and skip subjective scoring.
  • --score-only: return only scorecard and verdict.
  • --fix-plan: return a prioritized patch plan without editing files.

Approval standard

Approve when the recipe clearly increases the cookbook's value and a reader can reproduce the lesson. Do not require perfection. Do not rubber-stamp. The bar is: "Would a Microsoft Foundry engineer share this as the reference example in a teammate's chat?"

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.