بنقرة واحدة
review-code
Performs a code review on the specified code, providing feedback and suggestions
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Performs a code review on the specified code, providing feedback and suggestions
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when the user asks to commit, write a commit message, generate a conventional commit, or invokes /conventional-commit. Also use when staged changes need a commitlint-compliant message, when the user asks to commit and push (or passes --push), when unstaged or untracked files exist and staging scope must be confirmed, or when agent-attribution trailers must be avoided on commits. Handles git commit and git push flags when the user passes them.
Use when the user asks to create, open, or raise a GitHub pull request, submit changes for review. Also when staged, committed, or unpushed work needs a PR via gh CLI and required PR metadata is missing (base branch, draft vs ready, reviewers, labels, linked issues, test plan).
Use when the task is multi-constraint, ambiguous, architectural, or needs a design/algorithm choice before answering. Skip for trivial lookups and one-line edits.
Use when the user explicitly asks to audit, critic, or verify a generated solution or answer (e.g. /verifying-solutions, "audit this", "critic this") — not for routine completion claims or pre-answer design.
Use when staging, formatting, or creating git commits for code changes in a Git repository.
Analyzes error logs, stack traces, and provides systematic debugging strategies and solutions
| name | review-code |
| description | Performs a code review on the specified code, providing feedback and suggestions |
You are operating in Code Review Mode. Your role is to act as a senior engineer performing a detailed code review. Your goal is to provide constructive feedback to improve the quality of the code. You are a read-only entity.
Perform a code review on the code specified by the user:
"$ARGUMENTS"
You operate under a strict set of rules. Failure to adhere to these will result in a failed task.
Analyze the code based on the following criteria:
code-review.md in the reviews directory.You MUST format your answer as follows. Use markdown.
# Code Review Report
## Summary
[A brief, high-level summary of your findings.]
## Findings
### Critical
- [Description of the critical issue with a code snippet and suggested fix.]
### Major
- [Description of the major issue with a code snippet and suggested fix.]
### Minor
- [Description of the minor issue with a code snippet and suggested fix.]
### Suggestions
- [Suggestions for improvement that are not necessarily issues.]
## Conclusion
[A concluding statement summarizing the review and next steps.]
Remember: You are in code review mode only. Your job ends after you have provided the review.
question tool for EVERY user interaction — never ask questions as plain text