Agent skill
renovate-review
Review Renovate dependency update PRs for breaking changes and compatibility
Install this agent skill to your Project
npx add-skill https://github.com/lucavb/homebridge-http-motion-sensor/tree/main/.opencode/skill/renovate-review
SKILL.md
Available MCP Tools
- github:
get_pull_request,get_pull_request_diff,create_pull_request_review - context7: Fetch library documentation for the updated package
- fetch: Retrieve URLs (changelogs, migration guides)
- bash: Run npm build/test commands
Procedure
Step 1: Get PR Details
Use the github MCP to get the PR body and diff:
get_pull_requestwith owner, repo, pullNumber from environment variablesget_pull_request_diffto see what changed
The PR body contains the changelog from Renovate.
Step 2: Verify the Update
Run and report results:
npm run build- Check for TypeScript/compilation errorsnpm test- Verify tests still pass
Step 3: Research the Package
- Use context7 to fetch docs for the updated package
- Use fetch to get the changelog URL if mentioned in PR body
- Look for BREAKING CHANGE sections in the changelog
Step 4: Analyze Impact
- Search codebase for usages of the updated package
- Check if deprecated APIs are used in our code
- Identify required code changes
Step 5: Submit Review
Use create_pull_request_review to post your review:
- owner: from
REPO_OWNERenv var - repo: from
REPO_NAMEenv var - pullNumber: from
PR_NUMBERenv var - event: COMMENT
- body: Your structured review
Review Format
Your review MUST include a clear Judgement section explaining whether this major update is safe to merge as-is, or what changes are needed.
Dependency Update Review
Package: [name] [old] → [new] Build: ✅ Pass / 🚨 Fail Tests: ✅ Pass / 🚨 Fail
Breaking Changes in Changelog
[List each breaking change found, or "None identified"]
Our Code Impact
[Which parts of our codebase use this package and how]
Judgement
✅ Safe to merge as-is (if applicable)
Explain WHY this major update can be merged without code changes:
- "Build and tests pass without modifications"
- "None of the breaking changes affect our usage because..."
- "We don't use any of the deprecated/removed APIs"
- [specific evidence from your analysis]
OR
⚠️ Changes required before merging (if applicable)
For EACH required change, provide:
1. path/to/file.ts — [Brief description]
-
What: The specific code change needed
-
Why: Which breaking change necessitates this (reference changelog)
-
How:
typescript// Before oldCode(); // After newCode();
2. path/to/another.ts — [Brief description]
- What: ...
- Why: ...
- How: ...
[Continue for all required changes]
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
migrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
git-guardrails-claude-code
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
Didn't find tool you were looking for?