agent-verification-patterns

agent-verification-patterns is a cursor rule for Cursor from Desko77/cursor-1c-skills. It costs 14 tokens per session (908 once invoked), scanned A, original, MIT.

A checking method for code that must account for every input item, such as files, records, strings, or mapping rules. It repeatedly compares the full input list with the code until nothing is uncovered or handled incorrectly.

In plain words
What is it for?
Use it after writing migrations, mappings, parsers, imports, exports, or data transformations. It helps find missing cases and incorrect rules across a complete input list.
Why use it?
It removes the risk of relying on a few sample tests or manual spot checks when many varied inputs must be supported.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it after writing migrations, mappings, parsers, imports, exports, or data transformations. It helps find missing cases and incorrect rules across a complete input list.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/desko77/cursor-1c-skills/agent-verification-patterns
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.

Clone the repo
git clone --depth 1 https://github.com/Desko77/cursor-1c-skills

Made for: Cursor.

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 agent-verification-patterns

README.md
[![agentmods](https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/agent-verification-patterns/github.svg)](https://agentmods.dev/rules/desko77/cursor-1c-skills/agent-verification-patterns)
Your own site
<a href="https://agentmods.dev/rules/desko77/cursor-1c-skills/agent-verification-patterns"><img src="https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/agent-verification-patterns/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 agent-verification-patterns

Your own site · 80×15
<a href="https://agentmods.dev/rules/desko77/cursor-1c-skills/agent-verification-patterns"><img src="https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/agent-verification-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 908 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.00014 $0.00908
Opus 5.5 $0.00006 $0.00363
Sonnet 5.5 $0.00003 $0.00182
Haiku 4.5 $0.00001 $0.00091

Measured 2mo ago against content hash 9476f13b7e71, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-verification-patterns 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 2mo 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.

rules/agent-verification-patterns.mdc · 71 lines

How it starts

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

Agent Verification Patterns

Паттерны проверки результата работы AI-агента. Главный - итеративная сверка покрытия (reconciliation loop).

Применяется: при разработке, где есть набор входов (файлы, строки, записи, форматы) и набор правил/кода, который должен их все покрывать. Типовые случаи: миграции, объектные мэппинги, парсеры разноформатных файлов, загрузки, трансформации данных, обмены.


Принцип

После написания/правки кода - отдельной задачей поручить агенту сверить ВЕСЬ реестр входов с правилами в коде, выявить расхождения, исправить, повторить до нуля. Сверка - не часть написания кода, а самостоятельный проверочный проход.

Ошибка покрытия (вход не обрабатывается ни одним правилом, или обрабатывается неверным) дешевле ловится сплошной сверкой, чем ручной выборкой или тестом "на удачу".


Паттерн: итеративная сверка покрытия (reconciliation loop)

Когда применять

  • На входе много элементов с вариативной структурой (N файлов разных форматов, M строк правил маппинга, K записей данных).
  • Код/правила должны однозначно покрывать каждый элемент.
  • Ручная сверка каждого элемента трудозатратна и подвержена ошибкам.

Как

  1. Зафиксировать реестр входов - явный список: файлы, значения, строки, форматы.
  2. Поручить агенту: для каждого входа определить, каким правилом/профилем/веткой кода он обрабатывается.
  3. Собрать таблицу "вход -> правило", выделить непокрытые и конфликтные (один вход подходит под несколько правил).
  4. Исправить код/правила под выявленные расхождения.
  5. Повторить сверку. Критерий завершения: 0 непокрытых, 0 конфликтов - полное и однозначное покрытие.

Ключевое

  • Сверять по фактическому содержимому, не по имени/метке: формат файла определять по шапке/структуре, а не по имени (имя может вводить в заблуждение).
  • Полный реестр, не выборка. Цель - явный счет "N/N покрыто, 0 расхождений".
  • Итеративность: первый проход почти всегда дает расхождения, они сводятся к нулю за несколько циклов.
  • Финальную приемку на реальных данных выполняет человек. Агент готовит сверку, но не заменяет приемку.
  • Сверку фиксировать следом проверок по формату evidence-format.md скила 1c-code-review: обязательный состав, выполненные проверки и пропуски образуют проверяемую запись прогона.

Read the full file on GitHub · 71 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. 2mo ago Changed · +1 lines 9476f13b7e71
  2. 3mo ago First seen · 70 lines · 14 tokens per session scan A 7c73d9f46c0c

Subscribe to this mod's changes

agent-verification-patterns is a cursor rule published in the GitHub repository Desko77/cursor-1c-skills (78 stars, last pushed 6d ago), licensed MIT. It adds 14 tokens to every session and 908 once invoked, about $0.0001 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-08-30.

Related

agent-verification-patterns compared with cursor rules from other repositories

agent-verification-patterns next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-verification-patternsDesko77/cursor-1c-skillsCursor rule786d agoMITA14Cursor
jsdocyellow-hammer/mcp-1c-platform-toolsCursor rule473d agoMITA627Cursor
project-contextyellow-hammer/mcp-1c-platform-toolsCursor rule473d agoMITA1,160Cursor
code-styleyellow-hammer/mcp-1c-platform-toolsCursor rule473d agoMITA331Cursor
naming-abbreviationsyellow-hammer/mcp-1c-platform-toolsCursor rule473d agoMITA277Cursor
evolution-no-legacyyellow-hammer/mcp-1c-platform-toolsCursor rule473d agoMITA147Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor