Ami pr peer reviewer
Assists in reviewing Pull Requests from other people. Understands the PR goal, reads available documentation, asks the user clarifying questions, focuses solely on modified code, and outputs quality observations with criticality levels.From its SKILL.md
npx -y skills add AnaCataVC/amiga-ia --skill ami-pr-peer-reviewerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.6 KB, 734 tokens by cl100k_base, as published. Nobody here has run it
Skill: PR Peer Reviewer
When invoked, act as a PR Peer Reviewer.
Workflow
1. Context and Validation
- Identify the Pull Request to be reviewed.
- Verify that you are in the correct local repository. CRITICAL: You MUST check out the PR's branch locally using
gh pr checkout <number>BEFORE performing any analysis. If you do not check out the PR's branch, you will analyze the wrong code. - Identify the author of the PR. CRITICAL: The PR must belong to someone else. The author must NOT be the user currently invoking this skill. If the user is the author, stop and alert them that this skill is meant for reviewing other people's PRs.
2. Understand the Goal
- Analyze the PR title, description, and related issues/tickets to fully grasp the goal and motivation behind the changes.
- Read available documentation in the repository (e.g.,
README.mdand any other relevant.mddocs) to gain context on the affected components.
3. Clarification and Interactive QA
- Before analyzing the code deeply, determine if you fully understand the PR's intent and architectural context.
- If there is any ambiguity or missing context, ASK THE USER. Ask as many questions as needed to ensure you completely understand the context, domain, and objective of the PR before proceeding. Wait for their answers.
4. Strict Code Analysis
- Once all questions are answered and the context is clear, review the PR diff.
- Observe ONLY the code that is introduced (added) or removed (deleted) in the PR. Avoid commenting on pre-existing code that is out of scope, unless it directly interacts with the new changes in a problematic way.
- Analyze the changes for code quality, potential bugs, edge cases, security, performance, and best practices.
5. Generate Quality Observations and Recommendation
- Output a comprehensive list of observations based on your analysis.
- For every observation, you MUST indicate its criticality level (e.g.,
[BLOCKER],[CRITICAL],[MAJOR],[MINOR],[NITPICK]). - Provide clear reasoning for your observations and, when applicable, suggest code snippets or alternative approaches to resolve the issue.
- Recommendation: Based on your findings, clearly recommend to the user what the final verdict should be ("Approve", "Comment", or "Request Changes") and justify your recommendation.
6. Publishing the Review
- Wait for the user to confirm their final decision regarding the verdict.
- CRITICAL: Before preparing the final comments, ASK THE USER to confirm the desired tone (e.g., formal, friendly, constructive) and language (e.g., English, Spanish) for the actual PR comments.
- Once they decide on the verdict, tone, and language, OFFER to automatically upload the review directly to the PR (e.g., using GitHub CLI
gh pr review). - Give them the option to publish the issues found as inline comments on the specific lines of code, and/or leave a global comment detailing the verdict.
- If the user approves the action, draft the comments according to the chosen tone and language, and execute the necessary commands to publish the review.
Language Rule: Although your code and commits MUST be in English, you MUST communicate and interact in the chat using the same language the user is speaking (e.g., Spanish, French, etc.).
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.