Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Morrison-Lab/ai-config --skill claude-review-workflow명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | claude-review-workflow |
| description | Add or update claude-review workflow. |
| user-invocable | true |
| allowed-tools | ["Read","Edit","Write","Bash"] |
Sets up or edits the Claude PR review workflow (.github/workflows/claude-code-review.yml or .github/workflows/claude-review.yml),
which delegates to the reusable claude-code-review.yml workflow from Morrison-Lab/gha.
For the agent workflow that edits files in response to @claude mentions,
use claude-agent-workflow.
Path: .github/workflows/claude-code-review.yml (or .github/workflows/claude-review.yml)
name: Claude Code Review
on:
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
workflow_dispatch:
inputs:
pr_number:
description: 'Pull request number to review'
required: true
type: string
jobs:
gather-context:
runs-on: ubuntu-latest
permissions:
issues: read
outputs:
prior-reviews: ${{ steps.fetch.outputs.prior-reviews }}
steps:
- id: fetch
env:
GH_TOKEN: ${{ github.token }}
PR_NUMBER: ${{ github.event.pull_request.number || inputs.pr_number }}
REPO: ${{ github.repository }}
run: |
REVIEWS=$(gh api "repos/${REPO}/issues/${PR_NUMBER}/comments" \
--jq '[.[] | select(.user.login == "claude[bot]")] | .[-3:] |
.[] | "=== Review posted \(.created_at) ===\n\(.body)\n"' \
2>/dev/null | head -c 12000 || true)
{
echo 'prior-reviews<<__REVIEWS_EOF__'
echo "$REVIEWS"
echo '__REVIEWS_EOF__'
} >> "$GITHUB_OUTPUT"
review:
needs: gather-context
permissions:
contents: read
pull-requests: write
issues: write
id-token: write
actions: read
uses: Morrison-Lab/gha/.github/workflows/claude-code-review.yml@v2
secrets: inherit
with:
pr-number: ${{ github.event.pull_request.number || inputs.pr_number }}
Morrison-Lab/gha)By delegating to Morrison-Lab/gha/.github/workflows/claude-code-review.yml@v2,
the consumer repo automatically inherits:
mcp__github_inline_comment__create_inline_comment.pull_request and workflow_dispatch triggers, with branch-anchored dispatch resolution.cancel-in-progress: true.apt-packages and pip-packages (e.g. maxima, sympy) for CAS-driven mathematical verification when needed.prompt-addendum.pr-number: Required PR number passed from caller.prompt-addendum: Repo-specific review instructions (e.g. Quarto/R checks, domain invariants).apt-packages / pip-packages: Optional system/Python packages for verification (e.g. CAS engines).setup-r: Set true if R packages or renv environment need initialization during review.CLAUDE_CODE_OAUTH_TOKEN secret exists in repo/org secrets (gh secret list)..github/workflows/claude-code-review.yml.contents: read, pull-requests: write, issues: write, id-token: write, actions: read) are declared on the caller job.prompt-addendum.claude-agent-workflow — Companion skill for the interactive editing agent workflow.upgrade-to-gha — Migration guidelines for upgrading standalone workflows to Morrison-Lab/gha.config-ai — Router for AI workflow capability requests.