شعار Engineering Code Review

Engineering Code Review

مؤسسة
MiniMax-AI
engineering-code-review

Use when reviewing code, pull requests, patches, CLs, diffs, or proposed implementations for engineering quality, code health, design, functionality, tests, maintainability, specialist risk, or approval risk. TRIGGER on "review this PR", "code review", "LGTM?", "approve?", "is this code/diff/change safe to merge/deploy?", and local diff reviews. DO NOT TRIGGER for PR descriptions, PR splitting, author review-feedback responses, or non-code safety questions unless code review is requested.

نظرة عامة

الناشرMiniMax-AI
المستودعmcode-stack
اسم المهارةengineering-code-review
النجوم
464
التفريعات
36
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها MiniMax-AI على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Engineering Code Review في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/MiniMax-AI/mcode-stack/tree/main/stacks/ronny/skills/engineering-code-review
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MiniMax-AI/mcode-stack.git /tmp/mcode-stack
mkdir -p .claude/skills
cp -r /tmp/mcode-stack/stacks/ronny/skills/engineering-code-review .claude/skills/engineering-code-review
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Engineering Code Review في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Engineering Code Review تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Engineering Code Review بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Engineering Code Review

Use code review to protect and improve long-term code health while still allowing useful changes to land. The standard is not perfection; the standard is that the change improves the system overall and does not introduce unacceptable risk.

Adapted from Google Engineering Practices Documentation, especially the code review overview, reviewer guide, standard of review, navigation, speed, small changes, and emergency guidance. Sources: https://google.github.io/eng-practices/, https://google.github.io/eng-practices/review/reviewer/standard.html, https://google.github.io/eng-practices/review/reviewer/navigate.html, https://google.github.io/eng-practices/review/reviewer/speed.html, https://google.github.io/eng-practices/review/developer/small-cls.html, and https://google.github.io/eng-practices/review/emergencies.html. License: CC-BY 3.0.

Review Standard

  • Favor approval when the change definitely improves the code health of the touched system, even if it is not perfect.
  • Do not approve changes that make the system worse unless this is a true emergency and the follow-up cleanup is explicit.
  • Prefer technical facts, data, existing project standards, and durable design principles over taste.
  • Treat style guides and automated formatters as authorities. Personal style preferences are nits.
  • If several designs are defensible, accept the author's preference unless it harms code health.
  • Ask for another qualified reviewer when the change touches specialized areas such as security, privacy, concurrency, accessibility, internationalization, infrastructure, data migration, or domain logic you cannot validate.

Review Workflow

  1. Establish scope.

    • Identify the diff, requested review scope, target branch, and whether you are doing a full or partial review.
    • If partial, state exactly which files, behaviors, or concerns you reviewed.
  2. Gather review material.

    • For a GitHub PR, inspect the PR description, linked issue/design docs, changed files, existing review comments, CI status, and relevant commit history before commenting.
    • For a local review, inspect git status --short, the target branch or base SHA when known, and the local diff.
    • If there is no visible diff or PR context, ask for it instead of inventing a review.
  3. Take the broad view first.

    • Read the description, issue, tests, and surrounding context.
    • Decide whether the change should exist in this codebase now.
    • If the direction is wrong, say so early and suggest the better path.
    • If the change is too large to review thoroughly, request a split or a reviewer-approved large-change plan before attempting a shallow full review.
  4. Review the main design before details.

    • Find the core files or APIs that define the change.
    • Review architecture, ownership boundaries, data flow, compatibility, and rollback risk before naming or formatting comments.
    • Send major design concerns immediately if they invalidate the rest of the review.
  5. Review every human-written line in your assigned scope.

    • Generated files, large data files, or mechanical output can be sampled when appropriate.
    • If code is too hard to understand, request simplification or clearer structure before approval.
  6. Check the change against the review checklist below.

  7. Check verification evidence.

    • Prefer existing CI and targeted tests when the user did not ask you to run commands.
    • Run local tests only when the environment and request make that appropriate; otherwise state which tests are missing or unverified.
    • Do not claim tests passed unless you saw the command output or CI result.
  8. Make a verdict.

    • APPROVE: code health improves and remaining comments are non-blocking.
    • APPROVE_WITH_COMMENTS: remaining comments are minor, optional, or the author can be trusted to handle them without another review round.
    • REQUEST_CHANGES: correctness, design, maintainability, test, documentation, or risk issues remain.
    • NEEDS_SPECIALIST: another reviewer must cover a domain you cannot responsibly assess.

Review Checklist

  • Design: Does the change belong here? Is the abstraction appropriate for the current system?
  • Functionality: Does it do what the author intends, and is that behavior good for users and future developers?
  • Edge cases: Are failures, empty states, retries, idempotency, ordering, time, permissions, and concurrency considered?
  • Complexity: Is it understandable quickly? Is it solving today's known problem rather than a speculative future one?
  • Tests: Are unit, integration, or end-to-end tests appropriate for the risk? Would the tests fail if the code were broken?
  • Test quality: Are assertions meaningful, focused, deterministic, and maintainable?
  • Naming: Do names communicate purpose without being vague or noisy?
  • Comments: Do comments explain why, constraints, or non-obvious algorithms instead of restating the code?
  • Documentation: Are READMEs, API docs, migration notes, runbooks, or generated docs updated when behavior or usage changes?
  • Style and consistency: Does the change follow project conventions without mixing unrelated formatting churn into functional work?
  • Context: Does the change improve the system around it, or does it add another small piece of long-term complexity?
  • Operations: Are deployment, migration, observability, rollback, feature flags, and failure handling adequate for the change?
  • Security: Are authorization, authentication, secrets, injection, dependency, deserialization, and privilege-boundary risks handled?
  • Privacy: Does the change avoid unnecessary collection, logging, exposure, retention, or cross-boundary movement of sensitive data?
  • Accessibility: For user interfaces, are keyboard access, semantics, focus, contrast, labels, and assistive-technology behavior preserved?
  • Internationalization: Are locale, timezone, encoding, text expansion, pluralization, sorting, and translated strings handled where relevant?

Escalate to a specialist when you cannot confidently assess security, privacy, accessibility, internationalization, concurrency, infrastructure, data migration, or domain-specific correctness.

Comment Severity

  • BLOCKER: must be fixed before approval.
  • IMPORTANT: should be fixed before approval unless there is a written rationale.
  • QUESTION: answer needed before final verdict.
  • NIT: polish that must not block approval.
  • OPTIONAL: suggestion the author may decline.
  • FYI: learning or future consideration, not a requested change.

Output Format

Lead with findings, highest severity first. Use file and line references when available.

markdown
## Findings
- [BLOCKER] path/file.ext:123 - Problem. Why it matters. Required change.
- [IMPORTANT] path/file.ext:45 - Problem. Why it matters. Suggested fix.

## Open Questions
- ...

## Verdict
REQUEST_CHANGES | APPROVE_WITH_COMMENTS | APPROVE | NEEDS_SPECIALIST

## Notes
- Scope reviewed:
- Tests/commands checked:
- Follow-ups:

If no issues are found, say that clearly and still mention any unverified scope or residual risk.

Common Mistakes

  • Blocking approval on preference rather than code health.
  • Reviewing only the changed lines when the surrounding function or module makes the change unsafe.
  • Accepting complex code because the author explained it only in the review thread.
  • Letting "clean it up later" pass when the change itself introduces the complexity.
  • Requesting large rewrites late instead of flagging design problems early.
  • Delaying the author when a quick broad response would unblock useful work.

Also published in agentara/skills (MIT, Copyright (c) 2026 agentara) by the same author. The content is adapted from Google Engineering Practices under CC-BY 3.0; see the source note above. Full notices: NOTICE.md.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Engineering Code Review؟

Use when reviewing code, pull requests, patches, CLs, diffs, or proposed implementations for engineering quality, code health, design, functionality, tests, maintainability, specialist risk, or approval risk. TRIGGER on "review this PR", "code review", "LGTM?", "approve?", "is this code/diff/change safe to merge/deploy?", and local diff reviews. DO NOT TRIGGER for PR descriptions, PR splitting, author review-feedback responses, or non-code safety questions unless code review is requested.

لماذا تستخدم Engineering Code Review على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Engineering Code Review عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Engineering Code Review في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/MiniMax-AI/mcode-stack/tree/main/stacks/ronny/skills/engineering-code-review. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Engineering Code Review؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Engineering Code Review؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Engineering Code Review معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Engineering Code Review مجانية؟

نعم. نشرها MiniMax-AI على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇