Logotipo de Kit Custom Sections

Kit Custom Sections

Organización
yandex
kit-custom-sections

Build a custom Яндекс.Кит storefront section (Mystique widget, YandexKit.Mystique) offline from a catalog of 14 verified patterns — hero, advantages, CTA band, text+media, FAQ accordion, product shelves, product card, reviews, before/after, listing: fill a pattern's settings and get a validated html + css + json_schema triple with defaults plus the kit-storefront-constructor commands for upload. Also lints an existing or exported section template offline (ya-kit tags, helpers, JSON Schema $ref pickers, theme CSS variables, settings-to-schema bijection) and answers questions about ya-kit tags, helpers, data controllers and $ref types. Use for «сделай кастомную секцию для Кита», «свёрстай секцию витрины», «нужен FAQ / отзывы / полка товаров на Ките», «поправь мою кастомную секцию», «что принимает ya-kit-carousel». Not for uploading, publishing or native widgets (kit-storefront-constructor), catalog and orders (yandex-kit-cabinet), diagnostics (kit-store-checkup). Fully offline, no network calls, no token.

Descripción general

Editoryandex
Repositoriokit-skills
Nombre de la habilidadkit-custom-sections
Estrellas
30
Forks
1
Archivos incluidos
125
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • 125 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por yandex en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Kit Custom Sections en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/yandex/kit-skills/tree/main/skills/kit-custom-sections
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yandex/kit-skills.git /tmp/kit-skills
mkdir -p .claude/skills
cp -r /tmp/kit-skills/skills/kit-custom-sections .claude/skills/kit-custom-sections
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Kit Custom Sections en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Kit Custom Sections automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Kit Custom Sections no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

When editing this skill or its scripts, first read AGENTS.md, which in turn points at the repository contract.

Яндекс.Кит custom sections (offline)

This skill produces files. It assembles and validates the html + css + json_schema triple of a custom storefront section locally. It makes no network calls, needs no token and uploads nothing — uploading, binding and publishing belong to kit-storefront-constructor, whose exact commands this skill prints for you.

Knowledge freshness

  1. First action of any scenario: scripts/section.py doctor — prints the reference build date, age in days, coverage counters and the maximum available check level.
  2. The vendored knowledge (tag registry, helpers, tokens, schemas) is a snapshot. If a tag, helper or $ref is not in the reference — do not invent it; say the knowledge may be stale and suggest rebuilding the reference instead of guessing.
  3. references/generated/* are machine-produced; never edit them by hand and never quote them wholesale into context — query them via scripts/section.py ref.

Hard rules

  1. Не писать html руками — начинать с patterns list / patterns match.
  2. Свободный HTML только через freeform --confirm и только после того, как patterns match вернул пусто.
  3. Кастомная секция — ровно тройка html + css + json_schema. Поля script в контракте нет ни в одном контуре — JS не генерировать.
  4. {{{ }}} не поддерживается; {{!-- --}} печатается как текст; блочный хелпер не работает внутри значения атрибута.
  5. Теги — только из реестра 94 (+ два без префикса ya-kit: yandex-pay-badge-discount, yandex-pay-badge-split). Неизвестный блочный хелпер = падение секции; неизвестный тег = молчаливая пустота.
  6. <script> и <style> внутри html вырезаются молча — CSS только в поле css.
  7. CSS скоупится платформой автоматически (#ya-kit-<templateId>) — руками не префиксовать. :global( запрещён без исключений: это единственный способ переписать стили всей витрины.
  8. Символ < в CSS запрещён (вырезается вместе с хвостом до >); комбинаторы > и + разрешены.
  9. Цвета и отступы — var(--ys-*); хардкод hex/rgb перебивает тему магазина, потому что #id-скоуп даёт высокую специфичность.
  10. Каждое {{settings.X}} обязано быть в properties json_schema и наоборот.
  11. json_schema — без oneOf/allOf/if/then/else/patternProperties, иначе секцию потом нельзя редактировать через kit-storefront-constructor.
  12. $ref — только из белого списка (20 резервных + 5 служебных + #/definitions/partials/* + собственные определения того же документа).
  13. alias шаблона не заполнять; значения YandexKit.Header / YandexKit.Footer запрещены навсегда.
  14. template_id вешать только на секции с виджетом YandexKit.Mystique. Ни бэк, ни push-гейты конструктора это не проверяют.
  15. Ничего не заливать самому — печатать готовые команды соседа; --confirm не подставлять и чужой скрипт не запускать.
  16. Живой шаблон править нельзя: витрина инлайнит его актуальную строку во все версии контента, поэтому правка задним числом меняет и старые версии. Залитая секция правится переездом на новый шаблон: templates export → правки → lint → templates create → content pull заново → section set --template-id новый --settings-file → content push --no-publish на просмотр → публикация. Настройки при переезде обязательны: перед тем как отдать команду, сверьте, что каждое заполненное поле живой секции есть в новой схеме. Поля, которому в новой схеме места нет, — это потеря данных: назовите его пользователю и дождитесь решения, молча не выбрасывайте. Просмотр без публикации здесь обязателен, а не по желанию: отката версии у конструктора нет.

Уровни проверки и деградация

УровеньЧто требуетсяЧто ловитЧего НЕ ловитФраза при недоступности
L0 lintничего (офлайн)структуру, whitelist-ы, биекцию, CSS, схемурендер, данные, красоту— (всегда доступен)
L1 dryrunничего (итерация 2)разрешение путей против синтетического контекстареальные данные контроллеров«dryrun ещё не реализован — проверено только статикой L0»
L2 рендербраузер + стенд (не в скиле)пустую секцию, падениекрасоту«реальный рендер офлайн не проверяется — смотрите превью proposal-версии»
L3 readbackkit-storefront-constructorрасхождение залитого с собранным—«сверку с сервером делает сосед: templates show после create»
L4 публикациячеловекпродуктовую пригодность—«публикацию подтверждает человек в превью»

Команды по сценариям

Новая секция из паттерна:

bash
scripts/section.py doctor
scripts/section.py patterns match "нужен faq на главной"
scripts/section.py patterns show faq-accordion --params
scripts/section.py new --pattern faq-accordion --answers answers.json --out ./out
# печатает точные команды kit-storefront-constructor для заливки

Паттерна нет (честный отказ, затем — свободная сборка только с подтверждения):

bash
scripts/section.py patterns match "hero с таймером"   # exit 5 = паттерна нет
# сказать пользователю прямо; с его подтверждения:
scripts/section.py freeform --html s.html --css s.css --schema s.json \
    [--settings s-settings.json] [--title "…"] --out ./out --confirm
# без --confirm exit 3; гейты те же, что у new (хардкод цвета — WARNING),
# G11 не применяется — паттерна нет; compose/gap-report — ещё заглушки

Проверить чужой или экспортированный шаблон:

bash
scripts/section.py lint ./exported-template --json

Справочник (вместо чтения страниц целиком):

bash
scripts/section.py ref tag ya-kit-carousel
scripts/section.py ref schema-ref ImageModel
scripts/section.py ref helper or

Правка залитой секции — переезд на новый шаблон (командами соседа, см. правило 16):

bash
# kit.py templates export --id <uuid> --out DIR   # текущая вёрстка
# kit.py section show --id <uuid>                 # чем поля заполнены сейчас
scripts/section.py lint DIR                       # работает и над чужим экспортом
# kit.py templates create ... --confirm
# kit.py content pull --out work.json             # заново: новый шаблон должен попасть в снимок
# kit.py section set --work work.json --id <uuid> --template-id <новый> --settings-file s.json
# kit.py content push --work work.json --commit-message "..." --no-publish --confirm

adopt и lint --against-settings (автоматический перенос настроек и сверка новой схемы с живыми) — итерация 2. До них соответствие полей задаёт человек, а страховкой служит просмотр без публикации.

Pattern map

idЧто этоКакие данные нужныСтраницы
heroпервый экран: заголовок + подзаголовок + CTA + фотоtitleText (+subtitle, кнопка)main, landing
advantagesсетка плиток преимуществ 3–4 штmodules (title+description)main, landing
cta-bandакцентная полоса призыва с кнопкойtitleText, buttonTextmain, landing
text-media-splitтекст + изображение в две колонки («о нас»)titleText, contentText (markdown)main, landing
faq-accordionвопросы-ответы с аккордеонамиtitleText, modules (question+answer)main, landing
static-reviewsкарусель карточек отзывовtitleText, modules (отзывы)main, landing
before-afterсравнение до/после с ползункомtitleText (картинки — в форме)main, landing
running-lineбегущая строка-marqueemodules (фразы)main, landing
goods-snippetsсетка товаров из подборкиtitleText (подборка — в форме)main, landing
goods-coverобложка с текстом + карусель товаровcover (title+description)main, landing
goods-filtersполка товаров с вкладкамиtitleText, modules (вкладки)main, landing
selected-custom-snippetsизбранные товары пользователя—main, landing
custom-snippetsлистинг категории с фильтрами—listing
custom-product-cardполная кастомная карточка товара—pdp

Первые четыре — handmade из атомов реестра (в официальной доке секций для главной нет), остальные десять импортированы из doc-примеров с патчами; происхождение и патчи — в references/patterns/INDEX.md. Картинки, ссылки и источники товаров передаются в answers объектами (изображение — из вывода kit.py media upload; ссылка — {link, linkId}; товары — {id, slug, type}) либо задаются мерчантом в форме — new печатает список незаполненных заглушек. Вертикальный ритм страницы — настройки verticalRhythm/verticalRhythmTouch каждого паттерна (spacing-токены). Чего в каталоге нет (подписка на рассылку, карта пунктов выдачи, таймер распродажи, сетка категорий, баннер с текстом поверх) — честный отказ + gap-report (итерация 3).

Reference map

ТемаСтраницаИсточник
Теги и атрибутыreferences/generated/tags.mdgenerated — руками не править
Хелперыreferences/generated/helpers.mdgenerated
Контроллеры и payloadreferences/generated/controllers.mdgenerated
CSS-токены и правилаreferences/generated/tokens.mdgenerated
JSON Schema и $refreferences/generated/schema-keywords.mdgenerated
Контекст данныхreferences/generated/data-context.mdgenerated
Механика движкаreferences/manual/rules.mdmanual
Ловушкиreferences/manual/pitfalls.mdmanual
Сценарии и передача соседуreferences/manual/workflow.mdmanual
Что проверяется гейтамиreferences/gates.mdmanual

references/generated/*.json и тела паттернов в контекст не грузить никогда — их читает только section.py.

Exit codes

  • 0 ok; 2 локальная валидация / гейты / строгая свежесть; 3 требуется явный флаг или команда ещё не реализована; 5 паттерн не найден (мягкий ожидаемый исход).
  • 1 и 4 зарезервированы под шкалу конструктора (HTTP/API, «правка опубликована старым сервером») и здесь не возникают никогда — сети нет. 6 зарезервирован под будущий исход «рендер выполнен, секция пуста».

Scope boundaries

  • Заливка, привязка (section add), публикация, версии, страницы, медиа — kit-storefront-constructor.
  • Схемы нативных виджетов и их настройки — kit-storefront-constructor (storefront BFF).
  • Каталог, товары, заказы, цены — yandex-kit-cabinet.
  • Диагностика магазина — kit-store-checkup.
  • Этот скил не делает ни одного HTTP-запроса и не читает ни KIT_TOKEN, ни KIT_TOKEN_FILE, ни ~/.yandex-kit-skills/kit_api.token.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

y 65 archivos más.

Preguntas frecuentes

¿Qué hace la habilidad de IA Kit Custom Sections?

Build a custom Яндекс.Кит storefront section (Mystique widget, YandexKit.Mystique) offline from a catalog of 14 verified patterns — hero, advantages, CTA band, text+media, FAQ accordion, product shelves, product card, reviews, before/after, listing: fill a pattern's settings and get a validated html + css + json_schema triple with defaults plus the kit-storefront-constructor commands for upload. Also lints an existing or exported section template offline (ya-kit tags, helpers, JSON Schema $ref pickers, theme CSS variables, settings-to-schema bijection) and answers questions about ya-kit tag...

¿Por qué usar Kit Custom Sections en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Kit Custom Sections está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Kit Custom Sections en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/yandex/kit-skills/tree/main/skills/kit-custom-sections. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Kit Custom Sections?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Kit Custom Sections?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Kit Custom Sections con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Kit Custom Sections?

Sí. yandex la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇