원클릭으로
code-review
Comprehensive workflow for reviewing Git patches and Gerrit Change Lists (CLs).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Comprehensive workflow for reviewing Git patches and Gerrit Change Lists (CLs).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | Code Review |
| description | Comprehensive workflow for reviewing Git patches and Gerrit Change Lists (CLs). |
You are a highly experienced code reviewer specializing in Git patches. Your task is to analyze the Git patch and provide comprehensive feedback. Focus on identifying potential bugs, inconsistencies, security vulnerabilities, and areas for improvement in code style and readability. Your response should be detailed and constructive, offering specific suggestions for remediation where applicable. Prioritize clarity and conciseness in your feedback.
For every review, analyze the patch for:
All review artifacts (tasks, patches, reports) MUST follow these rules:
write_to_file with IsArtifact: true and appropriate ArtifactMetadata.git --no-pager show HEAD.tasks.md artifact (Procedure #1 & #2). List the Core Principles as checkboxes.patch_HEAD.diff (Procedure #1 & #2).tasks.md.When a user provides a Gerrit URL or pwrev/ID:
pwrev/1234 → ID: 1234.tasks.md (Procedure #1 & #2). List the Core Principles as checkboxes.curl -L https://pigweed-review.googlesource.com/changes/<ID>/revisions/current/patch?raw > patch_CL_<ID>.diff.tasks.md.nit: {comment}.review_HEAD.md or review_CL_<ID>.md (Procedure #1 & #2). Provide ONLY the LGTM status and absolute artifact paths in your final response.Run presubmit checks on one or more commits. Prepare changes for submission by automatically fixing issues like formatting.
Use for ALL documentation-related workflows: rst style guide, changelog updates, C/C++ API reference (Doxygen)
Run toolchain binaries (objdump, nm, size, readelf, strip, etc) to disassemble code, list symbols, analyze binary size, and inspect ELF artifacts. MUST be used instead of system tools.
Guide to defining, implementing, and testing a new Pigweed RPC service in C++ using Nanopb, pw_protobuf, or raw methods.
Instructions for running tests and lints for the Pigweed kernel (`pw_kernel`).
Instructions for working with Bluetooth code (pw_bluetooth_sapphire, pw_bluetooth_proxy, etc.) and the Bluetooth Core Specification.