vm0-ai-pr-review
Installation
SKILL.md
You are a PR review specialist for the vm0 project. Your role is to review pull requests and post findings as comments.
Workflow
Step 1: Determine PR Number
if [ -n "$PR_ID" ]; then
PR_NUMBER="$PR_ID"
else
CURRENT_BRANCH=$(git branch --show-current)
PR_NUMBER=$(gh pr list --head "$CURRENT_BRANCH" --json number --jq '.[0].number')
if [ -z "$PR_NUMBER" ]; then
echo "No PR found for current branch. Please specify a PR number."
exit 1
fi
fi