/yandex-direct-for-all:structured-output-file-integrityfrom Yandex Direct For All
Preserves row count, order, stable keys, headers, and schema when saving or transforming TSV, CSV, JSONL, and table-shaped outputs. Validates structure after writes.
Ships in Yandex Direct For All. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill for local structured files and pasted structured answers that must be saved without silent row loss, re-keying, reordering, schema drift, or invented rows.
This also applies to single JSON deliverables that contain arrays or object collections, such as role results, scored candidates, media plans, validation packets, and other schema-bound local artifacts. A JSON file does not become safe just because it is one document instead of JSONL.
When the user asks to save, repair, or transform an existing TSV/CSV/JSONL/table output, preserve the declared structure unless the user explicitly authorizes a structural change.
When extracting a registry or other table from a multi-table document, identify the intended container by its headings, expected columns and surrounding context before comparing rows. The first table is not a default semantic match. Zero or several matching containers means unresolved selection, not an empty registry. Use a positional table index only after identifying the container, then perform the key, schema and count checks below.
candidate_id, row_id, id, primary key, or a deterministic composite if no single key exists.
For JSON arrays or object collections, identify the stable object key before
editing, for example candidate_code, role_id, slug, rank, or a
documented composite. Do not patch by broad text replacement when the same
wording can occur in another object.csv, set lineterminator='\n' if the source uses LF;
the writer's default CRLF otherwise changes line endings even when parsed
values match.
Before reading a TSV/CSV whose fields may contain long source evidence or
serialized arrays, raise Python's default 131072-byte CSV field limit (for
example, csv.field_size_limit(sys.maxsize), or the largest supported
value on that platform). A field larger than field limit parser error is
not evidence of a damaged row; never skip or truncate that row to proceed.wc -l as the delivered record count: it includes the header
and may count multiline fields as several lines. Describe uniqueness using
the actual deduplication key, including language or other composite fields.For JSON object collections, after each write parse the file and compare the target object and its siblings separately. Confirm the intended object changed, unrelated sibling objects kept their key sets and substantive fields, object count and ordering are still correct, ranking or shortlist counters still match the collection, and every declared schema or media-format constraint still passes. A parser pass alone is not enough if the wrong object was edited.
Before building a reference set for classification, inspect actual dictionary values and their relationships, not just column names. A field named "brand attribute" can contain generic product descriptions and need not require a named brand. Do not mark such fields missing solely because another field is absent. Do not add properties from a dictionary label that the source does not establish. If several labels remain valid, record ambiguity or explicit acceptable alternatives before model evaluation. Freeze the reference before model calls; record later adjudication separately, and distinguish exact label agreement from factual correctness.
When a large row set is classified through a model, a compact batch response may use short batch-local codes instead of repeating long source phrases and global identifiers. Keep an immutable map from each code to the original stable row key and source text outside the model response. Rejoin only through that map, then verify one verdict per assigned row, no unknown or duplicate codes, original order when required, and explicit preservation of uncertain or abstained results. A shorter response reduces transport size; it does not establish semantic accuracy.
For JavaScript builders in directories with spaces or non-ASCII names, convert import.meta.url or a relative file URL with fileURLToPath from node:url before using filesystem APIs. new URL(...).pathname remains percent-encoded and is not a valid local filesystem path for those directories. Verify the resolved input path exists before authoring.
When transforming TSV, CSV, JSONL, or pasted table output, inspect invisible control characters after writing. This includes carriage returns inside fields, mixed CRLF/LF drift, embedded tabs in TSV fields, null bytes, ANSI escapes, and other non-printing characters that can shift columns without changing visible row counts.
For TSV/CSV, run a parser-level check as well as a text-level scan. If a field append or merge introduces hidden \r characters, extra delimiters, or multiline field drift that was not explicitly allowed, block closeout and regenerate from the structured source rather than hand-editing visible rows only.
For JSONL, read records by actual newline boundaries (for line in file or an explicit split('\n') on a complete string). Do not use Python str.splitlines() to address JSONL rows: it also splits Unicode line-separator characters such as U+2028 that can occur legally inside a JSON string. Before batch writes, parse and count every selected record; if a transport tool truncates a batch, reduce only that batch size and resume from the first unconfirmed row.
Report the human-readable file path, row count, key field used, and whether the key-set comparison passed. Do not dump large table contents to chat.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nebelov/yandex-direct-for-all --plugin yandex-direct-for-all19 skills in this plugin
/amocrm-api-controlБезопасная OAuth-авторизация amoCRM, чтение схемы аккаунта и сверка заявок по источнику, времени, статусу, ответственному и внешней ссылке./analytics-dashboard-integrityUse when designing, reviewing, or fixing dashboards or analytical reports with cohorts, activation, retention, payments, revenue, forecasts, valuation metrics, denominators, privacy-sensitive rows, or source disagreements./bitrix24-bi-reportsОтчёты Директ → лид → сделка → выручка в BI Конструкторе Битрикс24 (Apache Superset): датасеты crm_lead, crm_deal, crm_lead_status_history, telephony_call, tracking_source_expenses, SQL Lab, атрибуция обращений, проверка цифр по REST, безопасная правка датасетов и дашборда с откатом./bitrix24-crm-apiБезопасное подключение к Битрикс24 через входящий вебхук или локальное приложение: чтение лидов, сделок, воронок, стадий, источников, UTM, звонков и истории стадий, сверка с Яндекс Директом и Метрикой, атрибуция обращений, запись только по плану и разрешению владельца. Использовать вместо amoCRM/Roistat, когда CRM клиента — Битрикс24./client-communications-researchUse when turning client calls, chats, CRM notes, call recordings, messenger exports, transcripts, or support/sales conversations into an advertising, positioning, objection, FAQ, or customer-language research package./commercial-demand-researchИсследование коммерческого спроса по нише, географии, товару или услуге через Wordstat до перехода к рекламной семантике.Other plugins' skills for the same job