omc-review
ما الذي تفعله
تراجع هذه المهارة تغييرات الكود الموجودة قبل نشرها. وهي موجهة إلى المطورين الذين يريدون فحصاً مستقلاً يجد مشكلات حقيقية ويرتبها حسب خطورتها.
متى تستخدمها
- ✓عندما ينتهي تغيير في الكود وتريد فحصه قبل نشره.
- ✓عندما تريد مراجعة تركز على الأمان أو الصحة أو التعقيد غير الضروري.
- ✓عندما تريد معرفة هل يغطي التغيير الاختبارات بشكل كافٍ.
رابط المهارة
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/review/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“من فضلك راجع هذا التغيير بحثاً عن الأخطاء والمخاطر الأمنية، واذكر أخطر المشكلات أولاً.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يحدد الوكيل ما كان التغيير يفترض أن يفعله، ويفحص صحته أولاً، ثم المخاطر، ثم التبسيط. ويتحقق من كل ملاحظة قبل أن يعرضها، ولا يكتب التغيير الذي يراجعه.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Review
Use this skill to evaluate work that already exists. Review never authors the change it is judging.
This is the canonical review workflow. ai-slop-cleaner is an opt-in lane
within it.
Goal
Find what is actually wrong, ranked by severity, with enough detail to act on.
Workflow
- Establish what changed and what it was meant to do.
- Read the change against that intent.
- Check correctness first, then risk, then simplification.
- Verify each candidate finding before reporting it.
- Report findings most-severe first.
What to check
- Correctness — logic defects, edge cases, error paths, concurrency
- Risk — security boundaries, destructive operations, data integrity
- Reuse — existing utilities or patterns the change should have used
- Simplification — code that could be deleted or collapsed
- Coverage — behavior that ships untested
Two axes, run apart
A substantial diff is reviewed as two parallel sub-agent passes, reported separately — never merged or cross-ranked, because a change can pass one axis and fail the other (standards-conforming but wrong behavior; faithful but convention-breaking):
- Standards axis — the diff against the repo's documented standards plus a judgement-call-only smell baseline; anything tooling already enforces is skipped. The standards set is discovered, not assumed: search the repo for standards documents (CLAUDE.md/AGENTS.md,
docs/standards/volumes,CONTRIBUTING.md,CODING_STANDARDS.mdor equivalents) and review against whatever exists — a standards file you didn't look for is a standard you didn't apply. - Intent axis — the diff against what the work was meant to do — the task, spec, or ticket acceptance criteria: requirements missing or partial, behavior nobody asked for, each finding quoting its source line.
Keep each sub-agent brief under ~400 words and pointed at one axis. Aggregate without picking a single winner across axes — that reranking is what the separation exists to prevent; state each axis's verdict on its own. A small diff stays one pass.
Rules
- Separate lanes: the reviewer must not be the author's same active context.
- Verify before reporting. A plausible-sounding finding that does not reproduce is noise.
- State severity honestly; do not pad the list to look thorough.
- "No findings" is a valid result when the work is sound.
- Advisory by default — review informs, it does not gate. Hard gates (release, security, destructive operations) stay separate and fail closed.
Output
- Findings, most-severe first, each with file, line, and concrete failure scenario
- What was checked and found clean
- Anything that could not be assessed
Quality Gates
Before finalizing the review, check the existing merged OMC qualityGates["omc-review"] entries (project stage entries replace the user list; see docs/quality-gates-configuration.md). If there are no entries, do not call omc quality-gates list, spawn gate tasks, or add a Quality Gates section or gate records to the review output. If there is at least one entry, call omc quality-gates list --stage omc-review --json and show every validation error. For each available gate, spawn one independent Claude Code Task that loads the named skill from resolvedPath, reviews the same changes, and returns VERDICT: PASS or VERDICT: BLOCK plus findings. Use the configured model override when present; do not pass another reviewer's output to the gate. Reuse the same gate lane if the change is revised and reviewed again.
When gates are configured, record { gate, mode, verdict } for each gate in a Quality Gates section of the review output. Unresolved skills are gate_unavailable with a visible warning, never PASS; they do not fail the review stage. A blocking BLOCK makes the overall result REQUEST CHANGES; advisory results are informational and never block.
الأسئلة الشائعة
هل يكتب المراجع الإصلاحات؟
لا. المراجعة تحكم على العمل الموجود ولا تكتب التغيير نفسه.
كيف تُرتَّب الملاحظات؟
من الأشد خطورة إلى الأقل، مع تفاصيل كافية للتصرف في كل واحدة.
هل يفحص أسلوب الكود أيضاً؟
يفصل بين الفحوص مقابل معاييرك الموثقة وأحكام الرأي، ويعرضها بشكل منفصل.
التفاصيل
الوصف الأصلي من المؤلف
Evaluate finished work for defects, risk, and simplification before it ships
الشعبية
- نجوم GitHub
- 41k
- الترتيب
- #7023
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-doc-discipline
41kيعلّم وكيلك كتابة تعليمات يستطيع وكلاء ذكاء اصطناعي آخرون اتباعها وحدهم، بقواعد قابلة للفحص ومع سبب واضح وراء كل قاعدة.
ai-slop-cleaner
41kيساعد وكيلك على تنظيف الكود الذي كتبه الذكاء الاصطناعي، وهو يعمل لكنه منتفخ أو مكرر، فيحذف الكود الزائد دون تغيير ما يفعله.
architecture-survey
41kيساعد وكيلك على مراجعة بنية الكود وسرد الأجزاء التي تصبح أصعب في التغيير، مع الأدلة، دون أن يغيّر أي شيء بنفسه.
ask-navigator
41kيساعد وكيلك على تحويل مشروع غامض إلى خريطة من أسئلة قرار واضحة، ثم العمل عليها واحداً تلو الآخر حتى يتضح الطريق.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.