diff --git a/.github/skills/macios-reviewer/SKILL.md b/.github/skills/code-review/SKILL.md similarity index 99% rename from .github/skills/macios-reviewer/SKILL.md rename to .github/skills/code-review/SKILL.md index 5748c0bb4a96..0e4e685f17c2 100644 --- a/.github/skills/macios-reviewer/SKILL.md +++ b/.github/skills/code-review/SKILL.md @@ -1,5 +1,5 @@ --- -name: macios-reviewer +name: code-review description: >- Review dotnet/macios PRs against established rules. Trigger on "review this PR", a GitHub PR URL, or code review requests. Checks bindings, MSBuild, nullable, diff --git a/.github/skills/macios-reviewer/references/review-rules.md b/.github/skills/code-review/references/review-rules.md similarity index 100% rename from .github/skills/macios-reviewer/references/review-rules.md rename to .github/skills/code-review/references/review-rules.md diff --git a/.github/workflows/macios-reviewer.md b/.github/workflows/macios-reviewer.md index 1bcaf6eb5cb5..f1364b661b8e 100644 --- a/.github/workflows/macios-reviewer.md +++ b/.github/workflows/macios-reviewer.md @@ -72,8 +72,8 @@ A maintainer commented `/review` on this pull request. Perform a thorough code r ## Instructions -1. Read the review rules from `.github/skills/macios-reviewer/references/review-rules.md` — these contain the detailed patterns and anti-patterns to check for. -2. Read the review methodology from `.github/skills/macios-reviewer/SKILL.md` — this defines the review workflow, mindset, severity levels, and comment format. +1. Read the review rules from `.github/skills/code-review/references/review-rules.md` — these contain the detailed patterns and anti-patterns to check for. +2. Read the review methodology from `.github/skills/code-review/SKILL.md` — this defines the review workflow, mindset, severity levels, and comment format. 3. Follow the skill's workflow to analyze the pull request: - Gather context: read the diff and changed files - For each changed file, read the **full source file** to understand surrounding context