check-standards

check-standards is a command for coding agents from rios0rios0/guide. It costs 0 tokens per session (525 once invoked), scanned A, original, MIT.

A branch review command checks all changes against coding rules stored in .claude/rules/. A branch is a separate line of development in Git, and a pull request is a request for others to review and merge those changes.

In plain words
What is it for?
Use it before opening a pull request to inspect changed files and report critical issues, warnings, and passing checks.
Why use it?
It catches rule violations before reviewers see the pull request, reducing avoidable review comments.

Command

Part of the engineering-standards plugin — 5 skills, 8 commands, 7 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/rios0rios0/guide/check-standards
Clone the repo
git clone --depth 1 https://github.com/rios0rios0/guide

Or install engineering-standards, the plugin that ships this one along with the rest of its 5 skills, 8 commands, 7 agents.

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 check-standards

README.md
[![agentmods](https://agentmods.dev/badge/commands/rios0rios0/guide/check-standards.svg)](https://agentmods.dev/commands/rios0rios0/guide/check-standards)
Your own site
<a href="https://agentmods.dev/commands/rios0rios0/guide/check-standards"><img src="https://agentmods.dev/badge/commands/rios0rios0/guide/check-standards.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 525 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00525
Opus 5 $0.00000 $0.00262
Sonnet 5 $0.00000 $0.00105
Haiku 4.5 $0.00000 $0.00052

Measured 4d ago against content hash d01c1d1a6779, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

check-standards 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 4d 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/workflows/generate-ai-rules/commands/check-standards.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Review all changes on the current branch against the team's coding standards defined in .claude/rules/ (already loaded into this conversation). This is meant to run BEFORE creating a PR to catch issues before reviewers do.

Step 1: Get the Changes

  • Detect the default branch with git symbolic-ref refs/remotes/origin/HEAD (strip refs/remotes/origin/). Fall back to main if unavailable.
  • Get the current branch name: git branch --show-current
  • List changed files: git diff <default-branch>...HEAD --name-only
  • Get the full diff: git diff <default-branch>...HEAD

Step 2: Review Each Changed File

For each changed file, read the full file content and check it against the standards in .claude/rules/. Apply the rules that are relevant to that file type (e.g., styling rules for style files, architecture rules for services, testing rules for test files, etc.).

Step 3: Output Structured Review

Format the review as follows:

## Standards Check: [branch name]

### Critical Issues (Must Fix)
These WILL get flagged by reviewers:
- [file:line] Description of violation -- which rule it violates

### Warnings (Should Fix)
These will likely get flagged:
- [file:line] Description -- which rule it violates

### Suggestions (Nice to Have)
Optional improvements:
- [file:line] Description

### PR Quality Reminders
- [ ] Screenshots for all new/modified UI screens
- [ ] Evidence of all new features (modals, exports, charts, etc.)
- [ ] Target branch is correct
- [ ] Translations added to all locale files for new user-facing strings
- [ ] Linter passes with no errors

### Verdict: READY / NOT READY
Summary of findings.

Severity Classification

Critical (reviewers will reject for this):

  • Any violation marked as CRITICAL or IMPORTANT in the rules files
  • Hardcoded values that should use tokens or configuration
  • Disabled linter rules in production code
  • Security vulnerabilities (XSS, injection, etc.)
  • Interfaces or types defined in the wrong architectural layer

Read the full file on GitHub · 62 lines

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. 4d ago First seen · 62 lines · 0 tokens per session scan A d01c1d1a6779

Subscribe to this mod's changes

check-standards is a command published in the GitHub repository rios0rios0/guide (2 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 525 tokens. 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-08-31.