code-review
Review Orleans changes for layer contracts, invariants, minimal complexity, runtime performance, testing, and focused documentation. Use for GitHub Copilot code review and other review tasks.
معلومات المصدر
- المستودع
- dotnet/orleans
- آخر نشاط في المصدر
- ١٠ أكتوبر ٢٠٢٦ في ١٧:٢٩
- لغة SKILL.md المكتشفة
- الإنجليزية
- النجوم
- ١٠٬٩٠٤
- التفرعات
- ٢٬١٤١
خيارات التثبيت
يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.
مراجعة ملفات المصدر
اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.
عرض SKILL.md
SKILL.md
تعليمات المصدر · معاينة للقراءة فقط- name
- code-review
- description
- Review Orleans changes for layer contracts, invariants, minimal complexity, runtime performance, testing, and focused documentation. Use for GitHub Copilot code review and other review tasks.
# Orleans code review
1. Read root `AGENTS.md` and applicable directory instructions. Apply their
implementation principles alongside standard correctness, security,
compatibility, concurrency, reliability, and testing checks.
2. Establish the change's goal and each affected layer's required and provided
guarantees. Trace callers, ownership, lifetimes, and transitions to verify the
contracts and distinguish proven invariants from assumptions.
3. Check the diff for unnecessary state, abstractions, work, allocations, retained
memory, error handling, and documentation edits. Recommend the simplest complete
correction that preserves required behavior and contracts.
4. Examine behavioral tests and the automated PR coverage comment. Identify
meaningful gaps or regressions in affected code; state when evidence is missing.
Support performance claims with measurements or explicit cost assumptions.
5. Flag additional invariants that could simplify code: "If we can guarantee X,
then we could simplify this by Y." Identify the owning layer, enforcement, and
feasibility; distinguish conditional design suggestions from confirmed
contract violations.
Report actionable findings tied to changed lines, explaining the consequence,
evidence, and correction. Prioritize correctness and meaningful runtime or
maintenance costs over subjective preferences; keep recommendations within scope.
عرض على GitHub