---
name: amazingcat-praktika-pod-tezisy
description: >
  Подбор практики высших судов РФ под правовые тезисы через amazingcat. Использовать,
  когда пользователь даёт тезисы, доводы, проект жалобы, иск, отзыв, пояснения, правовую
  позицию или меморандум и просит подобрать судебную практику, проверить доводы, найти
  практику за и против, усилить аргументацию или выявить риски.
---

# Find higher-court practice for legal theses via amazingcat

> **Output language.** Communicate with the user and produce all analysis, documents,
> citations and footnotes in the user's language (for Russian court practice — Russian).
> This skill is in English only for brevity; it must not change your output language or the
> language of generated documents. The ready-made templates below are in Russian on purpose —
> use them verbatim.

## Purpose
Select higher-court practice for legal theses. Result: each thesis checked via amazingcat;
supporting practice found; limiting/contradicting practice searched; source strength stated;
references prepared for insertion into a legal document; weak/disputable/unconfirmed theses flagged.

## Core principle
Do not search only for confirmation of the user's position. For each thesis search for: practice
that supports it; practice that limits it; practice that may contradict it.

## When to use
The user asks to: select practice for theses; strengthen a complaint; check arguments; find
practice for a claim, response, objections, explanations or opinion; find counter-practice;
identify weak arguments; prepare footnotes for PDF/DOCX.

## When not to use
The user only asks to: find a single act; retell a document; format text without analysis;
translate; or give an everyday explanation without legal sources.

## Step 1. Get or extract theses
Use the user's theses if given; otherwise extract legal theses from the document. A thesis is a
legal rule: `При [условие] применяется [правовое последствие].` Narrow too-broad theses; split a
thesis that contains several rules.

## Step 2. Prepare search queries
For each thesis prepare: a semantic query; a query by norm (if known); a query by a stable legal
wording; a query for exceptions; a counter-query. Queries must be neutral — do not craft a search
that only finds confirmation of the user's position.

## Step 3. Find supporting practice
Via amazingcat find acts that support the thesis. For each act check: the legal question matches;
the position is direct support or only general; the facts apply; the legal construction matches;
the act has no limitation that weakens the thesis. If an act will be used — open the full card
(`get_case`).

## Step 4. Find limiting / contradicting practice
For each thesis run a separate search for acts that: set an exception; require extra conditions;
limit the rule; find a similar approach erroneous; support the opposite position; show a risk of
refusal to apply the thesis. If none found, state:
```text
Ограничивающая или опровергающая практика в данных amazingcat не найдена; отдельный поиск проведён.
```

## Step 5. Open full cards of used acts
Before including a source, get its full card (`get_case`). Extract identifiers, [source_url],
[qr_image_url], [позиция суда], [фабула], [результат], point/page/text-anchor/quote if present,
applicability level, applicability limits. If amazingcat returned `citation_ready`, use it as the basis.

## Step 6. Classify the source (output labels in Russian)
```text
Прямая поддержка     — источник прямо подтверждает тезис
Общая поддержка      — подтверждает общий подход, факты отличаются
Ограничение          — правило применимо лишь при дополнительных условиях
Опровержение         — противоположный подход
Слабая релевантность — связь только по похожим словам / соседнему институту
```
Do not use weak-relevance sources as the document's main support.

## Result format (output in Russian)
```text
Тезис [номер]
[Формулировка тезиса]

Оценка: [подтверждается / ограничивается / спорен / не найдено подтверждения]

Подтверждающая практика:
1. [Вид акта] [Суд] от [Дата] № [Номер дела / Номер акта]
   Применимость: [прямая / общая]
   Суть позиции: [кратко]
   Pinpoint: [пункт / страница / текстовый ориентир / указание на отсутствие pinpoint]
   URL: [source_url]
   QR: [qr_image_url]

Ограничивающая или опровергающая практика:
1. [Вид акта] [Суд] от [Дата] № [Номер дела / Номер акта]
   Роль: [ограничение / опровержение]
   Суть позиции: [кратко]
   Pinpoint: [...]
   URL: [source_url]
   QR: [qr_image_url]

Вывод для документа:
[оставить тезис / сузить тезис / усилить источником / убрать / проверить дополнительно]
```

## In-text and footnote reference (Russian templates — use verbatim)
In-text:
```text
В [Вид акта] [Суд] от [Дата] № [Номер дела / Номер акта] по вопросу [описание правового вопроса] сформулирована позиция: [краткая суть].
```
Footnote:
```text
[Вид акта] [Суд] от [Дата] № [Номер дела / Номер акта], [краткое описание предмета]. [Пункт / страница / текстовый ориентир, если доступны]. URL: [source_url]. QR: [qr_image_url].
```
If the pinpoint is absent:
```text
[Вид акта] [Суд] от [Дата] № [Номер дела / Номер акта]. Точный pinpoint в данных amazingcat не установлен; ориентир по тексту: «[text_anchor]». URL: [source_url]. QR: [qr_image_url].
```

## Pinpoint rules
Prefer act point; then page; then text anchor; quote only verbatim. Never: turn an internal
paragraph index into a visual paragraph of the official PDF; write «абз. [N]» unless it is the
visual paragraph of the official PDF; invent page/point/quote; or use a skill example as a real
identifier.

## locate_pinpoint — exact page, paragraph, point
`locate_pinpoint(court, doc_id, quote)` maps a chosen **verbatim** quote to the official PDF and
returns `page`; `visual_paragraph_on_page` (counted from the top of the page, not a global index);
`act_point` (for Plenum rulings / reviews, if any); a ready footnote with URL and QR.
1. Pick a verbatim quote from the full text (`get_case`).
2. Call `locate_pinpoint([Суд], [doc_id], "[дословная цитата]")`.
3. If `page`/`act_point` returned — put them in the footnote next to the thesis.
4. If `pinpoint_type` is `quote_only`/`unavailable` — state «pinpoint не установлен» honestly,
   without inventing page/paragraph/point.
5. If the response contains `pro_only` — exact page/paragraph/point pinpointing is a PRO-tier
   feature; on the free tier use identifiers, URL and QR without a page number.
The quote must be verbatim (not from a summary/фабула), otherwise it will not be located.
Tools: `search_practice`, `find_by_norm`, `find_term`, `find_similar`, `search_by_tag`, `get_case`,
`locate_pinpoint`.

## Default PDF/DOCX formatting
If the user gives no other requirements:
```text
Шрифт: Roboto · 11 pt · межстрочный 1.15 · между абзацами 0
Поля: верх 1 см, низ 1 см, левое 2 см, правое 2 см · шапка по правому краю · текст по ширине · нумерация в правом нижнем углу
```
Source near the thesis; footnote on the page of first use; QR next to the footnote; keep the URL even with a QR.

## Anti-hallucination
All examples use placeholders only. Replace a placeholder only with data that amazingcat returned,
the user provided, the uploaded documents contain, or a verified source. If there is no data, keep
the placeholder or state that the data is absent.

## Final check
Per thesis: a "for" search and a "against"/limiting search were run; each used act opened in full;
each source has a URL; QR added when returned; no invented pages/points/paragraphs; quotes verbatim;
weak sources not shown as direct confirmation; example placeholders not in the final document.
