بنقرة واحدة
is-review
Deep code review of a commit covering correctness, commit message quality, and English usage.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Deep code review of a commit covering correctness, commit message quality, and English usage.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
C/blk coding rules for the Intersec codebase. Load before writing or reviewing C or blk code.
Commit message formatting rules. Apply whenever creating or amending a git commit.
Fetch Gerrit review comments on the current commit or a range of commits, interactively apply or reject each one, then post draft replies and update the local commit(s). Use when the user wants to apply review comments from Gerrit.
| name | is-review |
| description | Deep code review of a commit covering correctness, commit message quality, and English usage. |
| argument-hint | [commit-sha] |
| disable-model-invocation | true |
Perform a deep review of a git commit.
$ARGUMENTS is provided, review that specific commit.HEAD).Let COMMIT denote the resolved commit SHA.
Run these commands to collect all the information you need:
git log -1 --format="%H%n%B" COMMIT — full commit messagegit diff COMMIT~1..COMMIT — the full diffgit diff --stat COMMIT~1..COMMIT — summary of changed filesRead every file touched by the commit so you have the full surrounding context, not just the diff hunks.
Perform a thorough analysis on three axes.
This is the most important axis. Go beyond the diff:
Before reporting a finding, ask yourself: "Have I read the relevant implementation and confirmed this is actually a problem?" If after investigation the code turns out to be correct, do not include it in the report — not even as a reassurance. Silent verification is the goal; the report is for problems only.
Check all English text introduced or modified by the commit:
Flag grammar mistakes, typos, unclear phrasing, or inconsistent terminology.
Present a clear, structured report. Only include findings that require action or confirmation from the author. Do not report things you investigated and found to be correct.
Each finding must follow this format, with a sequential number that is global across all sections (do not restart at 1 per section):
**N. [SEVERITY] Short title**
File: path/to/file.ts:line N
Problem: <what is wrong>
Suggestion: <concrete fix>
Severity levels:
BUG — incorrect behavior, likely to cause a regression.SECURITY — issue that has an impact on security.CONFIRM — behavioral change or ambiguous intent that the author must
explicitly confirm is intentional.MINOR — style, naming, or clarity issue with no correctness impact.Use this structure:
## Commit Review: <short subject>
### Commit message
<findings or "No issues.">
### Correctness
<findings or "No issues.">
### English
<findings or "No issues.">
### Summary
<one-line verdict: "Looks good", "Minor issues", or "Issues to address">
<optional: one sentence on the most critical point if verdict is "Issues to address">
If any findings were reported, ask the user:
Would you like me to fix the issues listed above?
Wait for confirmation before making any changes. When fixing:
git commit --amend to rewrite the message.Do not make any changes without explicit user approval.