بنقرة واحدة
code-review
Review code quality, patterns, and best practices
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Review code quality, patterns, and best practices
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Design RESTful APIs following best practices
Systematic bug investigation and root cause analysis
Generate commit messages following conventional commits with scope detection
Generate and update technical documentation
Break down features into implementable tasks
Review pull requests against team standards and best practices
استنادا إلى تصنيف SOC المهني
| type | skill |
| name | Code Review |
| description | Review code quality, patterns, and best practices |
| skillSlug | code-review |
| phases | ["R","V"] |
| generated | "2026-02-08T00:00:00.000Z" |
| status | filled |
| scaffoldVersion | 2.0.0 |
Use this skill when reviewing code changes (not full PRs — for PR reviews, use the pr-review skill). This skill focuses on code-level quality, patterns, and adherence to project conventions.
Critical — these are hard rules:
src/app/core/ must NEVER import from src/app/infra/core/entities/ are pure data objects with no infrastructure dependenciescore/interfaces/ define contracts without implementation detailsCheck for violations:
# BAD - core importing from infra
from infra.database.mysql import Mysql
# GOOD - core uses interface
from core.interfaces.plants_repository import PlantsRepository
Every use case should follow this structure:
class UseCaseName:
def __init__(self, dependency1, dependency2):
self.__dependency1 = dependency1
self.__dependency2 = dependency2
def execute(self, params):
# Business logic here
return result
Check:
execute() method as entry point# Interface (core/interfaces/)
class PlantsRepository:
def find_all(self): ...
def find_by_id(self, id): ...
# Implementation (infra/repositories/)
class PlantsRepositoryImpl(PlantsRepository):
def __init__(self, database):
self.__database = database
Check:
infra/constants/mysql.pyCheck:
@login_required where neededCheck:
{{ form.hidden_tag() }} for CSRF in formsCheck:
describe_ and descriptive namesprint() statements or commented-out code left in