mit einem Klick
code-review
// Comprehensive workflow for reviewing Git patches and Gerrit Change Lists (CLs).
// Comprehensive workflow for reviewing Git patches and Gerrit Change Lists (CLs).
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.
| 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.