Skip to content

Add code review skill and user-specific instructions - #333903

Draft
SteVen Batten (sbatten) wants to merge 4 commits into
mainfrom
sbatten/calm-silkworm
Draft

Add code review skill and user-specific instructions#333903
SteVen Batten (sbatten) wants to merge 4 commits into
mainfrom
sbatten/calm-silkworm

Conversation

@sbatten

Copy link
Copy Markdown
Member

No description provided.

Copilot AI balanced review requested due to automatic review settings September 1, 2026 23:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Username path handling and forced lowercasing can produce unsafe or inaccurate review behavior.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Balanced
Findings: 2 Medium severity · 1 Low severity

New issues introduced by this change (3)
Severity Finding
Medium severity .github/​skills/​code-review/​SKILL.md — The username is user-controlled but is interpolated into a relative path without constraining it to…
Medium severity .github/​skills/​code-review/​references/​tylerleonhardt.md — Requiring every letter to be lowercase also changes exact code identifiers, file paths, commands,…
Low severity .github/​skills/​code-review/​references/​tylerleonhardt.md — Use the standard single-word spelling “counterexamples.”
What changed in this PR

Adds a code-review skill that applies reviewer-specific instructions.

Changes:

  • Adds reviewer-instruction discovery.
  • Adds French and lowercase review preferences.
File Description
.github/​skills/​code-review/​SKILL.md Defines reviewer-specific instruction loading.
references/​tylerleonhardt.md Adds lowercase review guidance.
references/​sbatten.md Adds French review guidance.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/skills/code-review/SKILL.md Outdated

This skill is used to include specific review instructions when asked to perform a code review on behalf of a specific user.

When you have been asked to perform a code review on behalf of a specific user, read `references/<username>.md` to apply their specific instructions. If a file is not present for the specific user, or you have not been told the specific user for which you are performing the code review, just complete your code review with your normal instructions and ignore this skill.
@@ -0,0 +1,9 @@
Do not capitalize any letters in your reviews. Always use lower case letters, including proper nouns and the start of sentences.
- this is an example of a review comment in lower case.
- another example of a review comment without capitalization.

here are some counter examples:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants