Borrowing it
Nothing to install: this file belongs to radif-ru/ai-multi-agent-system. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/radif-ru/ai-multi-agent-system/main/.agents/skills/pr-review-discipline/SKILL.mdgit clone --depth 1 https://github.com/radif-ru/ai-multi-agent-systemWrote 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.
[](https://agentmods.dev/skills/radif-ru/ai-multi-agent-system/pr-review-discipline)<a href="https://agentmods.dev/skills/radif-ru/ai-multi-agent-system/pr-review-discipline"><img src="https://agentmods.dev/badge/skills/radif-ru/ai-multi-agent-system/pr-review-discipline/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.
<a href="https://agentmods.dev/skills/radif-ru/ai-multi-agent-system/pr-review-discipline"><img src="https://agentmods.dev/badge/skills/radif-ru/ai-multi-agent-system/pr-review-discipline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00048 | $0.00828 |
| Opus 5 | $0.00024 | $0.00414 |
| Sonnet 5 | $0.00010 | $0.00166 |
| Haiku 4.5 | $0.00005 | $0.00083 |
Grade A, and why
pr-review-discipline 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: pr-review-discipline
Правила ревью pull request / merge request. Дополняет промпт .agents/prompts/code-review.prompt.md (чек-лист проверок) и добавляет процедуру исхода ревью.
Когда использовать
- Ревьюишь PR/MR (свой или чужой).
- Пользователь попросил проверить ветку перед merge.
- Проводишь само-ревью перед открытием PR.
Алгоритм
- Проверить CI зелёный. Если хоть один гейт красный (набор —
_board/process.md§7.10) — reject без детального ревью. Сначала чиним CI. - Пройти чек-лист из
.agents/prompts/code-review.prompt.md:- Хирургичность — каждая изменённая строка соответствует задаче (
AGENTS.md§3). - Минимализм — нет лишних абстракций/фич (
AGENTS.md§2). - Тесты на новое поведение — изменения в
app/сопровождаются тестом; моки внешних систем, без сети (_docs/instructions.md§8.1). - Покрытие — порог
--cov-fail-under=80не нарушен. - Async-дисциплина — I/O через
await, синхронные либы черезasyncio.to_thread(_docs/instructions.md§4). - Обработка ошибок — ожидаемые исключения ловятся, пользователю — человеческое сообщение, stacktrace — в
logger.exception(_docs/instructions.md§5). - Безопасность — нет хардкоженных секретов; конфиг через
Settings; sanitize на входе / bastion на выходе; per-user скоупread_file(_docs/security.md). - Документация — изменение поведения отражено в
_docs/; ссылки относительные (_docs/instructions.md§9). - Язык — комментарии/докстринги/логи/сообщения — на русском; идентификаторы — латиницей (
_docs/instructions.md§1).
- Хирургичность — каждая изменённая строка соответствует задаче (
- Замечания — сгруппировать по серьёзности:
blocker→major→minor→nit. Для каждого: файл, строка, проблема, конкретное предложение. - Исход ревью:
- Approve — нет
blocker/major,nitможно не блокировать. - Approve with comments — есть
minor, не блокирующие merge, но желательно поправить. - Request changes — есть
blockerилиmajor.
- Approve — нет
- Не апрувить если:
- CI красный.
- Нет тестов на новое поведение в
app/. - Документация не обновлена при изменении поведения.
- Найден хардкоженный секрет/токен.
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.
- 12d ago First seen · 46 lines · 48 tokens per session scan A 0605014804db
pr-review-discipline is a skill published in the GitHub repository radif-ru/ai-multi-agent-system (6 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 828 once invoked, about $0.0002 per session on Opus 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-08-31.
Other skills, from other repositories
developer_pr_prep
Prepare branches, diffs, tests, and GitHub PR text from Developer Studio.
review-agent
Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.
dev7-pr
Create a PR, push to GitHub, wait for Greptile review, address comments, and push final. Sub-skill of the /dev workflow.
dev6-review-fix
Apply fixes for review comments from dev5-review and commit. Sub-skill of the /dev workflow.
github
GitHub via gh CLI: PRs, issues, reviews, repos, auth.
github
GitHub operations via gh CLI: issues, PRs, CI runs, code review, API queries. Use when: (1) checking PR status or CI, (2) creating/commenting on issues, (3) listing/filtering PRs or issues, (4) viewing run logs. NOT for: complex web UI interactions requiring manual browser flows (use browser tooling when available)…