agentleFS
Microsoft AzureKnown publisherAzure/cyclecloud-slurm/.github/copilot-instructions.md

cyclecloud-slurm

Copilot instructions84 starsChanged 2 months agoMITView on GitHub

Code Review Scoring Instructions For every PR: 1. Assign a numeric score out of 100. 2. Produce a table with one row per criterion showing points awarded. 3. End with a single line: FINAL SCORE: <number>/100 Scoring rules (each category starts at max points; apply deductions only): PR Description Accuracy (20) - PR description is empty: -20 - Description does not match changes: -20 - Description partially matches but includes unrelated changes: -15 - Otherwise: 0 PR Atomicity (20) -…

The file

We split this copilot-instructions.md into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    After computing FINAL SCORE, output exactly:

    line 54
  2. Distinctive:

    If any HIGH-SEVERITY issue exists -> RECOMMENDATION: DO NOT MERGE (regardless of score).

    line 61
  3. Distinctive:

    If follow-ups can be post-merge, put them in RATIONALE as "follow-up items" and set BLOCKERS: None.

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

Code Review Scoring Instructions

For every PR:

  1. Assign a numeric score out of 100.
  2. Produce a table with one row per criterion showing points awarded.
  3. End with a single line: FINAL SCORE: <number>/100

Scoring rules (each category starts at max points; apply deductions only):

PR Description Accuracy (20)

  • PR description is empty: -20
  • Description does not match changes: -20
  • Description partially matches but includes unrelated changes: -15
  • Otherwise: 0

PR Atomicity (20)

  • Multiple independent changes that should be separate PRs: -20
  • Otherwise (single atomic change or well-described feature slice): 0

Logical Implementation (10)

  • Overly verbose or unnecessarily complex logic: -10
  • Otherwise: 0

Regression Risk (10)

  • Introduces regression risk not documented in PR description or README: -10
  • Otherwise: 0

Exception Handling (10)

  • Exceptions not handled or errors not logged meaningfully: -10
  • Otherwise: 0

Code Comments (10)

  • Comments explain HOW instead of WHAT/WHY, or missing required docstrings: -10
  • Otherwise: 0

Repetitive Code (10)

  • Significant duplicated logic introduced: -10
  • Otherwise: 0

Spelling (5)

  • Any spelling errors present: -5
  • Otherwise: 0

Logging Quality (5)

  • Log levels inappropriate or messages unclear: -5
  • Otherwise: 0

Output table columns (exact): | Criterion | Max Points | Points Awarded | Notes |

Merge Recommendation (must appear after FINAL SCORE)

After computing FINAL SCORE, output exactly:

RECOMMENDATION: <MERGE | MERGE WITH FOLLOW-UPS | DO NOT MERGE> RATIONALE: <1-2 sentences> BLOCKERS: <0-3 bullet points, or "None">

Rules:

  • If any HIGH-SEVERITY issue exists -> RECOMMENDATION: DO NOT MERGE (regardless of score). HIGH-SEVERITY includes: security flaw, correctness bug likely to break users, data loss risk, auth/secret exposure, unsafe concurrency/race.
  • Else if FINAL SCORE >= 90 -> MERGE
  • Else if FINAL SCORE >= 75 -> MERGE WITH FOLLOW-UPS
  • Else -> DO NOT MERGE

For MERGE WITH FOLLOW-UPS:

  • List the top 1-3 follow-ups as bullets under BLOCKERS only if they must be fixed before merging.
  • If follow-ups can be post-merge, put them in RATIONALE as "follow-up items" and set BLOCKERS: None.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.