Skip to main content

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
最近来源活动
2026年10月19日 21:02
检测到的 SKILL.md 语言
英语
星标
10,919
Forks
2,154

安装方式

默认使用会先检查来源的 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 the callers, ownership, lifetimes, and transitions relevant to the change to verify the contracts and distinguish proven invariants from assumptions. 3. Check that each addition in the diff (state, abstractions, work, allocations, retained memory, error handling, documentation) serves a concrete requirement. 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. 6. Review the affected code through each lens skill, reporting only material, in-scope findings: `.github/skills/review-architecture/SKILL.md`, `.github/skills/review-invariants/SKILL.md`, `.github/skills/review-testing/SKILL.md`, `.github/skills/review-performance/SKILL.md`, and `.github/skills/review-code-craft/SKILL.md`. 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. Merge findings that share a root cause, rank them by the priorities in root `AGENTS.md`, and list open invariant and compatibility questions separately.
在 GitHub 查看