What this agent helps you do
A Context7 and GitHub docs-grounded pull request agent checks implementation work against current library documentation. Context7 supplies up-to-date API docs and examples, while GitHub supplies the actual diff, file history, checks, and review discussion.
When to use this workflow
Use it for dependency upgrades, unfamiliar frameworks, new API usage, migration PRs, or reviews where stale assumptions could create bugs.
How Context7 and GitHub give the agent context
Connect both plugins and name the pull request plus the libraries or APIs to verify. GitHub should show what changed; Context7 should provide the current docs that validate or challenge the implementation. Ask the agent to cite documentation and distinguish hard conflicts from style preferences.
Example starter prompt
Review this GitHub pull request against the latest Context7 documentation for the libraries used in the diff. Identify API mismatches, migration concerns, tests to add, and author questions. Do not post review comments without approval.
Suggested workflow steps
Start by reading the GitHub diff and changed files. Have the agent identify the relevant libraries, pull current Context7 docs, compare the implementation with documented APIs, and rank review feedback by severity.
Expected handoff
Ask for cited docs, risky implementation choices, required fixes, optional improvements, tests to add, and an approval-ready review summary.