Skip to main content

local-review

Code review a pull request for bugs and CLAUDE.md compliance. MUST use when asked to review code.

소스 정보

저장소
windmill-labs/windmill
최근 소스 활동
2026년 3월 31일 07:02
감지된 SKILL.md 언어
영어
스타
18,160
포크
1,116

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
local-review
user_invocable
true
description
Code review a pull request for bugs and CLAUDE.md compliance. MUST use when asked to review code.
# Local Code Review Skill Run the same review locally that the GitHub Claude Auto Review action runs on PRs. The shared review instructions live in `.claude/review-prompt.md` — read that file first and follow its instructions. ## Execution Steps 1. **Read `.claude/review-prompt.md`** for the review criteria and focus areas 2. **Determine the PR scope**: - If an argument is provided, use it as the PR number or branch - Otherwise, detect from the current branch vs main - Run `gh pr view` if a PR exists, or use `git diff main...HEAD` 3. **Get the diff and metadata**: - `gh pr diff` or `git diff main...HEAD` for the full diff - `gh pr view` or `git log main..HEAD --oneline` for context 4. **Read changed files** where the diff alone is insufficient to understand context 5. **Apply the review instructions from `.claude/review-prompt.md`** 6. **Self-validate each finding**: Before reporting, ask yourself: - "Is this definitely a real issue, not a false positive?" - "Would a senior engineer flag this in review?" - If the answer to either is no, discard the finding 7. **Output findings** to the terminal (default) or post as PR comments (with `--comment` flag) ## Output Format ``` ## Code review Found N issues: 1. <description> (<reason: CLAUDE.md adherence | bug | security>) <file_path:line_number> 2. <description> (<reason>) <file_path:line_number> ``` If no issues are found: ``` ## Code review No issues found. Checked for bugs and CLAUDE.md compliance. ``` ## Posting Comments (--comment flag) If the user passes `--comment`, post findings as inline PR comments using: ```bash gh pr review --comment --body "<summary>" ``` Or for inline comments on specific lines: ```bash gh api repos/{owner}/{repo}/pulls/{pr}/reviews -f body="<summary>" -f event="COMMENT" -f comments="[...]" ```
GitHub에서 보기