원클릭으로
itx-review-pr
Request code review for a pull request
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Request code review for a pull request
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | itx:review-pr |
| description | Request code review for a pull request |
| argument-hint | [pr-number] |
name: itx:review-pr
Request a code review for a pull request.
Identify PR:
gh pr view --json number,title,url
Get PR Details:
gh pr view <number> --json number,title,body,files,additions,deletions
gh pr diff <number>
Check Review Configuration:
ITX_CONFIG="$(git rev-parse --show-toplevel)/.claude/itx-config.json"
if [ -f "$ITX_CONFIG" ]; then
REVIEW_ENABLED=$(jq -r '.mcp.review_enabled // false' "$ITX_CONFIG")
REVIEW_TOOL=$(jq -r '.mcp.review_tool // "mcp__atx__request_review"' "$ITX_CONFIG")
else
REVIEW_ENABLED="false"
fi
Execute Review:
Use the configured MCP tool for automated review:
# Use the tool specified in config (default: mcp__atx__request_review)
$REVIEW_TOOL(prompt="Review PR #<number>")
Process Review Results:
Report:
## Automated Review Summary
**PR**: #<number> - <title>
**Rating**: <X>/5
### Blocking Issues
<table or "None">
### Warnings
<list or "None">
### Suggestions
<list or "None">
### Verdict
<READY FOR MERGE / NEEDS CHANGES>
Perform manual review using checklist:
Review Checklist:
Code Quality:
Testing:
Documentation:
Architecture:
PR Hygiene:
Report:
## Manual Review Summary
**PR**: #<number> - <title>
### Review Checklist Results
#### Code Quality: /
<findings>
#### Testing: /
<findings>
#### Documentation: /
<findings>
#### Architecture: /
<findings>
#### PR Hygiene: /
<findings>
### Issues to Address
<list blocking issues or "None">
### Suggestions
<list improvements or "None">
### Verdict
<READY FOR MERGE / NEEDS CHANGES>
Add Review Comment (for both modes): Post review summary as PR comment:
gh pr comment <number> --body "<review summary from above>"
Update Issue Status (if configured):
# Check if project board is enabled
ITX_CONFIG="$(git rev-parse --show-toplevel)/.claude/itx-config.json"
if [ -f "$ITX_CONFIG" ]; then
PROJECT_ENABLED=$(jq -r '.github.project_board.enabled // false' "$ITX_CONFIG")
if [ "$PROJECT_ENABLED" = "true" ]; then
# Extract repo info
REMOTE_URL=$(git config --get remote.origin.url)
OWNER_REPO=$(echo "$REMOTE_URL" | sed -E 's/.*[:/]([^/]+\/[^/]+)(\.git)?$/\1/')
OWNER=$(echo "$OWNER_REPO" | cut -d'/' -f1)
REPO=$(echo "$OWNER_REPO" | cut -d'/' -f2)
# Load project config
PROJECT_ID=$(jq -r '.github.project_board.project_id' "$ITX_CONFIG")
STATUS_FIELD_ID=$(jq -r '.github.project_board.status_field_id' "$ITX_CONFIG")
IN_REVIEW_ID=$(jq -r '.github.project_board.status_options.in_review' "$ITX_CONFIG")
# Get issue number from PR
ISSUE_NUM=$(gh pr view <number> --json number --jq '.number')
NODE_ID=$(gh api repos/$OWNER/$REPO/issues/$ISSUE_NUM --jq '.node_id')
# Get project item ID
ITEM_ID=$(gh api graphql -f query='
query($projectId: ID!, $contentId: ID!) {
node(id: $projectId) {
... on ProjectV2 {
items(first: 100) {
nodes {
id
content {
... on Issue { id }
}
}
}
}
}
}
' -f projectId="$PROJECT_ID" -f contentId="$NODE_ID" | \
jq -r ".data.node.items.nodes[] | select(.content.id == \"$NODE_ID\") | .id")
# Update status to In Review
gh project item-edit --project-id "$PROJECT_ID" --id "$ITEM_ID" \
--field-id "$STATUS_FIELD_ID" --single-select-option-id "$IN_REVIEW_ID"
fi
fi
Enable MCP-based automated review in .claude/itx-config.json:
{
"mcp": {
"review_enabled": true,
"review_tool": "mcp__atx__request_review"
}
}
Default (no config): Manual review mode with checklist
See CONFIG.md for full configuration options.
MCP Review Mode:
Manual Review Mode:
Best Practices:
REQUIRED: Append prompt log to .itx/<N>/02_VERIFY.md.
See AGENTS.md for format specification.
Cut a new clawrium release — bump version, sync docs, tag, trigger PyPI publish
Record a CLI demo (GIF or MP4) using VHS, with storyboard support for long-form / YouTube demos
Watch ric03uec/clawrium release tags; draft a short blog post per user-visible feature as a PR against blog/.
Detect user-visible changes from the last 24h of commits on main and propose doc and scenario updates as PRs.
Execute the plan for an issue (parent or subtask)
Know the clawctl CLI and manage your Clawrium fleet (hosts, agents, providers, channels, integrations, skills, secrets)