Analyzes a Dependabot PR to determine what actually changed in each bumped package and whether those changes affect this repo. Reports changed APIs/methods, which doc pages use them, and the realistic probability of any visible impact on the docs site.
npx skills add https://github.com/cloudflare/cloudflare-docs --skill dependabot-review
Load this skill when asked to review, analyze, assess, or verify a Dependabot PR.
Give the reviewer a clear answer to: does this version bump require any action beyond merging?
gh pr view <PR_NUMBER> --repo cloudflare/cloudflare-docs --json title,body
Parse the PR body to extract package name(s) and version range (old → new). Dependabot PRs always include this in structured form.
For grouped PRs, there will be multiple packages. Process each one.
Check in this order — stop at the first that works:
gh release list --repo <upstream-repo> then gh release view <tag>gh api repos/<upstream>/contents/CHANGELOG.md (decode base64)npm view <package>@<new-version> changelog or the registry page gh api repos/<upstream>/compare/<old-tag>...<new-tag> --jq '.commits[].commit.message'
Focus only on the commits/entries between old and new version. Ignore unrelated history.
From the changelog/diff, identify:
Ignore: internal refactors, CI changes, test changes, type-only changes that don't affect emitted JS.
Run these searches against the local codebase. Do not skip this step.
# Direct import anywhere in source
grep -r "from ['\"]<package>['\"]" src/ worker/ bin/ --include="*.ts" --include="*.tsx" --include="*.mjs" --include="*.js" --include="*.astro" -l
# require() usage
grep -r "require(['\"]<package>['\"]" src/ worker/ bin/ -l
# Is it a direct or transitive dependency?
grep '"<package>"' package.json
# If transitive, who pulls it in?
node -e "const lock = require('./pnpm-lock.yaml'); ..."
# or just:
grep -A2 '"<package>"' pnpm-lock.yaml | grep -v "^--$" | head -20
If the package is not directly imported anywhere, it is transitive. Identify which direct dependency pulls it in by checking pnpm-lock.yaml.
If the package is directly imported, find which source files use the specific APIs that changed:
# For each changed method/export, search for callsites
grep -r "<method_name>\|<export_name>" src/ worker/ bin/ --include="*.ts" --include="*.tsx" --include="*.astro" -l
For Astro/MDX source files under src/content/docs/, map them to their route:
src/content/docs/workers/get-started/index.mdx → /workers/get-started/src/content/docs/pages/platform/limits.mdx → /pages/platform/limits/If more than ~5 files use the changed API, list a representative sample (pick the most prominent product areas).
Rate the probability that this bump causes a visible change to the docs site:
| Rating | Meaning |
|--------|---------|
| None | Package not used directly; transitive only; or only internal/type changes |
| Very Low | Direct dependency, but changed APIs are not called in this repo |
| Low | Changed APIs are called, but only in build tooling (not runtime or content rendering) |
| Medium | Changed APIs affect content rendering (Astro components, MDX processing, syntax highlighting) |
| High | Changed APIs affect output seen by users — rendered HTML, search index, Worker behavior |
For security fixes: note what the vulnerability affects and whether our usage is in the vulnerable code path.
## <package-name>: <old-version> → <new-version>
**Type of update:** [security fix | bug fix | feature | breaking change]
**Dependency type:** [direct | transitive (pulled in by <package>)]
### What changed
- <bullet: specific API/behavior change>
- <bullet: ...>
### Usage in this repo
<"Not used directly — transitive only" OR list of files/callsites>
### Affected doc pages (sample)
- `/product/section/page/` — uses `<method>`
- (none)
### Impact rating: <None | Very Low | Low | Medium | High>
<1–2 sentence explanation of the rating>
If the PR bumps multiple packages, repeat the block for each. End with a one-line recommendation:
Dependabot opens security PRs immediately, regardless of dependabot.yml schedule. This is expected. The schedule.day setting only applies to version updates.
Security PRs are also not grouped with other packages — each gets its own PR. This is also expected GitHub behavior.
For grouped PRs (non-major group), the PR body lists each package separately. Process each package independently through steps 2–6, then give a combined recommendation.
If a package has no changelog and the upstream repo is private or unavailable:
npm diff <package>@<old> <package>@<new>Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Take cloudflare/dependabot-review from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.