cates: Command for GitHub Copilot

.github/prompts/sdlc-review.prompt.md

sdlc-review is a command for GitHub Copilot from microsoft/cates. It costs 11 tokens per session (117 once invoked), scanned A, original, MIT.

A read-only code review command that compares a code change with its acceptance criteria and related project rules. It reports actionable problems with file and line evidence instead of changing the files.

In plain words
What is it for?
Use it to inspect a diff or pull request and produce fix suggestions without editing, posting a review, or approving the change.
Why use it?
It helps find defects, missing regression tests, compatibility problems, security issues, and documentation inconsistencies before approval. It also keeps findings separate from personal preferences and states what was not tested.

Command for GitHub Copilot ✓ vendor

Written for GitHub Copilot: a Copilot chat mode or prompt. Also seen: agent in frontmatter.

This is microsoft/cates's own configuration. It tells GitHub Copilot how to work on cates itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cates configures →

About the project

CATES is a vendor-neutral analyzer for measuring coding-agent configurations against token-efficiency, security, and conformance rules. Teams use its command-line tools or Docker image to inspect instructions, prompts, MCP settings, hooks, and editor configuration, and to apply selected lossless optimizations.

microsoft/cates · 15 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to microsoft/cates. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/microsoft/cates/main/.github/prompts/sdlc-review.prompt.md
Clone the repo
git clone --depth 1 https://github.com/microsoft/cates

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sdlc-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/microsoft/cates/sdlc-review/github.svg)](https://agentmods.dev/commands/microsoft/cates/sdlc-review)
Your own site
<a href="https://agentmods.dev/commands/microsoft/cates/sdlc-review"><img src="https://agentmods.dev/badge/commands/microsoft/cates/sdlc-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sdlc-review

Your own site · 80×15
<a href="https://agentmods.dev/commands/microsoft/cates/sdlc-review"><img src="https://agentmods.dev/badge/commands/microsoft/cates/sdlc-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 117 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00011 $0.00117
Opus 5.5 $0.00004 $0.00047
Sonnet 5.5 $0.00002 $0.00023
Haiku 4.5 $0.00001 $0.00012

Measured 3d ago against content hash d7c5ccc26d16, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sdlc-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/prompts/sdlc-review.prompt.md · 13 lines

What it actually says

Review the user's specified diff and acceptance contract read-only. Check correctness, regression coverage, public API/CLI/service compatibility, security, rule/catalog/doc consistency and token-efficient agent behavior. Report only actionable findings with file/line evidence, impact and a suggested fix. Distinguish defects from preferences and disclose untested assumptions. Do not edit files, post reviews or approve the PR. Independent human approval remains required; this review is evidence, not permission to merge.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 13 lines · 11 tokens per session scan A d7c5ccc26d16

Subscribe to this mod's changes

sdlc-review is a command published in the GitHub repository microsoft/cates (15 stars, last pushed yesterday), licensed MIT. It adds 11 tokens to every session and 117 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-08.

Related

sdlc-review compared with commands from other repositories

sdlc-review next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sdlc-reviewmicrosoft/catesCommand15yesterdayMITA11GitHub Copilot
diff-reviewcoco-research/cocoCommand630yesterdayApache-2.0A11Claude Code
review-branchdamusix/atomic-claudeCommand116yesterdayMITA35Claude Code
initazrtydxb/procoderCommand2112d agoApache-2.0A16Claude Code
refactorRchGrav/claudeboxCommand1.2k1mo agoMITA9Claude Code
spec-trace-requirementsrjmurillo/ai-agentsCommand49todayMITA0GitHub Copilot
merge-conflict-analysisrjmurillo/ai-agentsCommand49todayMITA0GitHub Copilot