Agent skill
pr-review
Review Github pull requests
Install this agent skill to your Project
npx add-skill https://github.com/synthetic-lab/octofriend/tree/main/.agents/skills/pr-review
SKILL.md
To load a Github pull request, run the fetch tool twice:
First fetch
First, load the URL for the PR to understand the author's intent.
Your fetch tool does not execute JavaScript. Note that parts of the Github UI may fail without JS; for example, loading comments might say:
UH OH!
There was an error while loading"
This is okay and expected. Don't worry about that.
Second fetch: load the diff
To load the diff for the PR, fetch the PR URL with a .diff
attached to the end. For example, to review
https://github.com/synthetic-lab/octofriend/pull/66, you should fetch:
https://github.com/synthetic-lab/octofriend/pull/66.diff
The diff is the most important part. The author may be incorrect, or have the right idea but the wrong implementation. Focus on whether there are any bugs or unexpected behavior.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
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.
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.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
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.
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.
Didn't find tool you were looking for?