/kit-skills:kit-storefront-designfrom kit-skills
Designs Яндекс.Кит storefront pages by niche and page type, selecting recipes, themes, and presets for native sections. Lints plans against live-store principles and delegates execution to kit-storefront-constructor.
Ships in kit-skills. 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.
When editing this skill or its scripts, first read AGENTS.md, which in turn points at the repository contract.
This skill decides what a page should look like; it writes nothing to the store. It ships page recipes, partial settings (presets) for every native widget and for the theme, and a linter for page plans. design.py itself makes no network calls and reads no token; every read and write of the store goes through kit-storefront-constructor, which needs the store's API token. A custom section is kit-custom-sections. This page tells you which of their commands to run and when.
In every kit.py line below, kit.py is scripts/kit.py of kit-storefront-constructor (installed next to this skill) and … stands for the global flags that skill takes before the subcommand: --skill-prompt "<the user's request>" --skill-session-id <one UUID per thread>, plus --skill-model / --skill-harness when you know them, plus --bff-url <b2c_url> (step 2). Follow that skill's own rules for every call you make through it.
references/native-vs-custom.md). The brand's own face is welcome as a custom section from kit-custom-sections: every home carries one signature block chosen by its look (a type band, a running line, a mosaic, real numbers, one review set large, reels), and the story is the text-media-split pattern with a button. 36 of the 43 reference homes are native-only, and that sameness is why stores built from the median look alike: native is the floor, not the ceiling.settings.version, prices, offer terms, delivery and return terms, legal text, FAQ answers or reviews. Take ids from the pulled workspace or, for a category or collection the workspace does not show, from yandex-kit-cabinet's read-only lists; media from kit.py … media upload; texts from the merchant. When a value is missing, say which one and ask; never fill the gap with something plausible. The table of sources is in references/principles.md.global_settings. Apply the recipe's theme presets before touching sections.design.py presets apply, over the pulled section (--work … --section-id) or over the constructor's skeleton for a new section. Never merge by hand, never write settings.version (section add stamps it, section set keeps it), never edit work.json by hand.content push, design.py plan lint --work work.json --page <alias> … must report no errors on every page you changed; use --all-pages when you touched a page variant or a store-wide section. A <fill: …> or bracketed placeholder, visible platform placeholder text, an empty image, a banner slide without an image, an empty RichText spacer, a question asked twice, an empty main menu, or a subscription that promises a discount without a linked promocode is an error. Discounts promised in the bar and in banners are checked by hand (references/checklist.md). Warnings do not block: empty-string paddings and darkening that the cabinet itself writes are reported and tolerated, as the constructor tolerates them.section set on them changes the whole store. The AnnouncementBar is one per store too (stores keep one, copied from home to the pages that show it): change the existing bar, never section add a second, and remember that section remove without --page takes every copy away (with --page it leaves one page, and section status --page hides it on one page). A store without a bar gets one in the cabinet constructor: section add makes an ordinary section of one page, not the copied one. A transparent header belongs only on a home-only header instance; the lint only warns about it on the shared header (transparent-composite) because live stores already run such headers, so never introduce one. section add of an EmailSubscription on a page without one makes an ordinary section, not a copy of the shared one; check it on the proposal preview.content diff → content push --dry-run → show the plan → explicit confirmation. For a new design prefer content push --no-publish --confirm, so the user reviews the proposal version before it goes live. Ask for that confirmation as for a publish: a server without proposal support publishes the edit anyway, and the constructor then exits 4. On exit 4 the design is live: tell the user at once. A blanket «publish right away» is not a per-operation confirmation.modules.additional.menu) is a design choice with a cost on desktop: say so before doing it.typography.fontFamily.plan lint estimates it), give every banner re-composed phone art, keep product shelves 2 per phone row, and keep the product name and price on the first phone screen (a preview check, not a lint rule). See references/mobile.md.1. Brief. Establish, in the user's words: what the store sells, how large the assortment is (a handful, dozens, hundreds), how products are photographed (on models, packshots on one backdrop, cut-outs), brand colours, which pages to design, and which facts the merchant can give (offer, delivery promise, promocode, tagline, FAQ answers). Ask for what is missing; do not assume.
2. Read the store (constructor):
schema fetch, and section add of a native widget (it stamps settings.version through the storefront), need the storefront address: the b2c_url that yandex-kit-cabinet reports (its own store command), taken as it comes, never built from the store name. It is a global flag, so it goes before the subcommand, as part of …: kit.py --skill-prompt … --bff-url <b2c_url> schema fetch. KIT_BFF_BASE_URL does the same where your environment keeps variables between commands.
kit.py … schema fetch
kit.py … content pull --out work.json
kit.py … sections list --page main
scripts/design.py plan lint --work work.json --page main # what is wrong now
3. Pick the recipe and the look. Match the niche and the page type; home-universal when nothing fits, home-other-niche for a niche the sample lacks (it leans to fashion and beauty: food, pets, electronics, auto parts and service businesses are absent or too rare to count). Then pick a look in references/looks.md (journal, gallery, dense catalog, playful, dark drop, premium) and name it in the plan with the 2-3 moves that set this store apart: the recipe is the sample's median, the look is what this store looks like. A recipe or preset marked optional idea rests on fewer than 3 stores of the sample: use it when the user asks for it or the look names it, never as a slot's first option. Product pages: references/product-page.md; category, catalog and search: references/listing.md.
scripts/design.py recipes list --page-type home
scripts/design.py recipes show home-fashion
4. Theme first. Apply the recipe's theme presets over the pulled global_settings, then write the theme through the constructor. The report names the theme font (font); an italic or decorative text face goes to the owner for the cabinet. See references/theme.md.
scripts/design.py presets apply theme layout-editorial --work work.json --out gs.json
scripts/design.py presets apply theme card-lifestyle --base gs.json --out gs.json
kit.py … theme set --work work.json --settings-file gs.json
scripts/design.py theme palettes --work work.json # which palettes the pages use; --prune --out gs.json drops the rest
5. Plan the page. Start from the recipe's plan skeleton, keep the steps that fit the store, and fill what is known: which existing section becomes which step, real data sources, real links. A slot with options comes as a choose list: pick one option per slot by the brief and the look and write its widget and preset (or pattern), keeping slot. Vary at least two content slots from their first option (the bar, header and footer do not count) and keep one signature block on home, an option of the recipe's signature slot; plan lint reports a plan that repeats its recipe (rhythm-monotony). Plan format: references/plans.md.
scripts/design.py recipes show home-fashion --plan > plan.json
6. Lint the plan. Fix every error; read every warning and either fix it or tell the user why the deviation is deliberate.
scripts/design.py plan lint plan.json
7. Execute, section by section. For an existing section, apply the preset over it; for a new one, over the skeleton. Fill the preset's fill items and the report's open items from the store and the merchant, then write through the constructor.
scripts/design.py presets show BannersCarousel hero-bleed-image # settings, fill, module_example
# existing section
scripts/design.py presets apply FeaturedProducts home-shelf-carousel --work work.json --section-id <uuid> --out s.json
kit.py … section set --work work.json --id <uuid> --settings-file s.json
# new section
kit.py … schema widget --name YandexKit.BannersCarousel --skeleton > base.json
scripts/design.py presets apply BannersCarousel hero-bleed-image --base base.json --out s.json
kit.py … media upload --file ./hero-desktop.jpg --confirm > up.json # after the user confirms the upload
scripts/design.py media-object --upload up.json --kind banner # paste into modules[].slideMedia.media
kit.py … section add --work work.json --page main --widget YandexKit.BannersCarousel --settings-file s.json --position <n>
kit.py … section move --work work.json --id <uuid> --position <n> # positions are 1-based and count the header
Positions are 1-based and count the header. kit.py … sections list reads the live store, so its numbers hold only until your first local edit; after that use the position each section add and section move prints. The lint numbers sections in display order, which usually but not always matches the stored layout. If the constructor refuses a preset result with missing required property, the store's schema asks for a key the presets do not know yet: take its value from kit.py … schema widget --name <widget> --skeleton into the settings file.
The header's modules.main is flat in some storefront builds and nested in others. presets apply keeps the shape the pulled header has; a header that shows none (the cabinet often stores it sparse) takes the shape of the live schema, which you pass with --schema. Header presets come in two kinds: an archetype (centered-logo-links, centered-logo-burger, left-logo-inline-links, catalog-two-row) sets modules.main, a phone-row preset (header-touch-one-row) only the secondary row; apply the archetype first, then the phone row over its result:
kit.py … schema widget --name YandexKit.Header --skeleton > header-schema.json
scripts/design.py presets apply Header left-logo-inline-links --work work.json --section-id <uuid> --schema header-schema.json --out h.json
scripts/design.py presets apply Header header-touch-one-row --base h.json --out s.json
The same --schema file of a widget supplies platform copy that a sparse pulled section rendered without storing it, such as the subscription's consent text. Where the store's skeleton shows it empty, ask the merchant for the text (with a link to the privacy page):
kit.py … schema widget --name YandexKit.EmailSubscription --skeleton > es-schema.json
scripts/design.py presets apply EmailSubscription band-two-columns --work work.json --section-id <uuid> --schema es-schema.json --out s.json
A product or category page variant (a product landing, a per-category hero): page add copies only the header and the footer, so the card or the listing, the shelves and the subscription are added one by one, each as an independent copy (the constructor cannot link a section to the default page yet). Once a store has variants, address those pages by --page-id; --page productCard is ambiguous. The sequence is in references/product-page.md.
A video slide: upload the file, wait until it is ready, then build its media object.
kit.py … media video-upload --file ./hero.mp4 --confirm # after the user confirms the upload
kit.py … media video-status --id <video_id> > status.json # repeat until status is ready
scripts/design.py media-object --video-status status.json # paste into slideMedia.media / mediaMobile
When a block needs a custom section (see rule 1), hand over to kit-custom-sections: scripts/section.py patterns match "<need>" there, then the templates create and section add --widget YandexKit.Mystique --template-id … commands it prints. If no pattern fits, say so; do not fake the block with a native widget that cannot carry it. Create the templates first: a new template reaches the workspace only with a fresh content pull, which starts from the store and drops every local edit not pushed yet. So build and templates create every custom section the plan names right after step 3, pull, and only then apply the theme and the sections; a template needed later means redoing the edits so far on the fresh pull (keep them as presets apply and kit.py commands), because a pull reads the live content: a --no-publish proposal is not in it.
8. Review and publish.
scripts/design.py plan lint --work work.json --page main --page 404 --page cart # no errors
kit.py … content diff --work work.json
kit.py … content push --work work.json --commit-message "..." --dry-run
kit.py … content push --work work.json --commit-message "..." --no-publish --confirm # after confirmation
kit.py … content push --work work.json --commit-message "..." --confirm # publishes: only after the user approved the proposal
Walk the user through references/checklist.md on the proposal preview — desktop and phone — before the final push. There is no preview link: the proposal opens in the cabinet, in the storefront constructor's version history, by the number --no-publish prints. The H1, the meta tags and a product page's delivery line show only on the published storefront: check them right after the publish. On a product page preview the delivery line, the advantages and the chips: settings cannot show them.
Every published static page you designed (home, catalog, 404, service pages, blog, custom pages) gets its own SEO title and description from the store's facts: left empty, the storefront fills in a generic title and a description that promises bonuses, instalments and cashback (seo-meta-empty). Write them with kit.py … page set --work work.json --id <page id> --seo-title … --seo-description … before the push. Cart, search, favourites and account pages show the cabinet's store-wide template, and product and category pages their own cabinet fields. The page's H1 is the first titled section, never a banner (plan lint prints it): give the section under the hero a title that says what the store sells rather than relying on --seo-h1, which home and custom pages do not print.
scripts/design.py doctor # counts and consistency of the references
scripts/design.py recipes list [--page-type T] [--json]
scripts/design.py recipes show ID [--plan [--with-optional]] [--json]
scripts/design.py presets list [WIDGET] [--json]
scripts/design.py presets show WIDGET [PRESET] # WIDGET: Header, YandexKit.Faq, theme, ...
scripts/design.py presets apply WIDGET PRESET (--base FILE | --work FILE [--section-id UUID]) [--schema SKELETON [--as-new]] [--restyle-modules] --out FILE
scripts/design.py plan lint PLAN.json [--final] [--strict] [--json]
scripts/design.py plan lint --work work.json (--page ALIAS_OR_ID ... [--page-type T] | --all-pages) [--strict] [--json]
scripts/design.py plan rules
scripts/design.py theme palettes --work work.json [--prune --out gs.json] [--json] # palettes in use; drop the unused
scripts/design.py media-object (--upload up.json [--kind image|banner] | --video-status status.json)
presets apply reads --base as the output of kit.py schema widget --skeleton, of kit.py section show, or as plain settings. Plain settings carry no version, so they are written as for a new section: a listing's filter position in the shape of the --schema skeleton, else their own, else the current filters. Plain listing settings that show the root filtersPosition keep it (they may be an earlier --out of a stored section without a version, which section set keeps unversioned), and open says that a new section needs --as-new instead. For a stored section pass it with its version (--work with --section-id, or section show). A theme preset over a base without a version says so in adapted: apply theme presets over the pulled global_settings only. It keeps the section's layout: header presets land in the flat or nested modules.main layout the section already has, a header that shows neither takes the live schema's (--schema, the output of kit.py … schema widget --name <widget> --skeleton; without it the command stops and asks for it), a banner that stores the older single aspectRatio gets the desktop ratio there, and the keys whose place depends on the settings version land where the stored version reads them: a listing's filter position (filters.position, or the root filtersPosition of an older section) and the theme's card order (order, or elementsOrder of a newer theme). presets show Header <preset> prints both shapes. Widgets marked leave default (gift card, favourites, bundle, reviews, unsubscribe, discount ladder) have no preset: presets show <Widget> says why. Pulled sections are often sparse ({"section": {}}): an object the preset creates in one gets the keys the schema requires, with schema defaults, with the platform copy the --schema skeleton shows (a consent text), or with a <fill: …> marker where the value is the store's or the merchant's (a menu id; a consent text the skeleton shows empty). An empty-string backgroundDark becomes 0, which renders the same. A preset can also take keys away (its unset list, shown by presets show): hero-contained-card removes the "0" side paddings of the edge-to-edge hero it replaces, so the card takes the theme's. --as-new turns a pulled section into settings for a new one on another page (a variant's card or shelf): the pulled settings over the --schema skeleton, without version and the cabinet's empty-string paddings; a shelf without dataSource.id gets the type as its id for relevant and last_seen, and a marker in open for a category or collection. A preset's module_style restyles empty modules; slides and tiles that already carry content keep the style keys they have, and adapted lists every kept value (--restyle-modules overwrites them). The report lists fill (what the preset cannot supply) and open (what is still empty or a placeholder in the result).
| Topic | File |
|---|---|
| The 25 principles, with evidence and the lint rule behind each | references/principles.md |
| Phones: what the platform does, principles, the screen budget, the phone check | references/mobile.md |
| Product page: what renders, recipes, tail rules, checks before publishing, product landings | references/product-page.md |
| Category, catalog and search pages | references/listing.md |
| Theme: platform defaults to change, rhythm, palettes, niche to theme | references/theme.md |
| Looks: six directions taken from the stores that stand out, with theme, header, hero and signature block | references/looks.md |
| Recipes by niche and page type | references/recipes/INDEX.md (bodies: recipes show) |
| Presets per widget | references/presets/INDEX.md (bodies: presets show) |
| Native or custom | references/native-vs-custom.md |
| Plan format and lint rules | references/plans.md |
| Pre-publish review | references/checklist.md |
Read the JSON under references/recipes/ and references/presets/ through design.py, not by loading the files into context.
0 ok (warnings allowed); 2 the plan has errors — or warnings under --strict — or the shipped references are inconsistent (doctor); 3 usage; 5 recipe, preset or page not found.1 and 4 belong to the constructor's scale and never come from design.py, which has no network. From kit.py content push --no-publish, 4 means the edit was published (rule 7).list /v1/categories, list /v1/collections and list /v1/products).KIT_TOKEN, KIT_TOKEN_FILE nor ~/.yandex-kit-skills/kit_api.token.AGENTS.md (opens in a new tab)agents/openai.yaml (opens in a new tab)references/checklist.md (opens in a new tab)references/listing.md (opens in a new tab)references/looks.md (opens in a new tab)references/mobile.md (opens in a new tab)references/native-vs-custom.md (opens in a new tab)references/plans.md (opens in a new tab)references/presets/AnnouncementBar.json (opens in a new tab)references/presets/BannersCarousel.json (opens in a new tab)references/presets/Blog.json (opens in a new tab)references/presets/BlogListing.json (opens in a new tab)references/presets/CollectionsListing.json (opens in a new tab)references/presets/DiscountLadder.json (opens in a new tab)references/presets/EmailSubscription.json (opens in a new tab)references/presets/EmailUnsubscribe.json (opens in a new tab)references/presets/Faq.json (opens in a new tab)references/presets/FavouriteProducts.json (opens in a new tab)references/presets/FeaturedBlogs.json (opens in a new tab)references/presets/FeaturedCollections.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
yandex-kit, storefront-design, ecommerce, page-recipes, section-linting
npx claudepluginhub yandex/kit-skills --plugin kit-skills5 skills in this plugin
/kit-custom-sectionsBuild a custom Яндекс.Кит storefront section (YandexKit.Mystique) offline from a catalog of
lint-checked patterns when no native widget fits: hero, overlay banner, intro, CTA, advantages,
steps, stats, team, services, FAQ, reviews, logos, video reels, newsletter, contacts, product
shelves, product page, listing, dividers. Fill a pattern's settings, get a validated html + css
+ json_schema triple plus kit-storefront-constructor upload commands; slot mode builds a
store-wide header or footer. Also lints an exported template offline (tags, helpers, $ref
pickers, theme variables, schema bijection) and answers questions on tags, controllers, $ref
types. Use for «сделай кастомную секцию для Кита», «свёрстай секцию витрины»,
«нужен FAQ / отзывы / полка товаров на Ките», «своя шапка или подвал магазина», «поправь мою
кастомную секцию». Not for native page design (kit-storefront-design), upload or publishing
(kit-storefront-constructor), catalog and orders (yandex-kit-cabinet). Offline, no token.
/kit-store-checkupРегулярная ревизия магазина Яндекс.Кит (Yandex KIT) через публичный API: что опубликовано, но недоступно к покупке; что скоро закончится; какие заказы ждут подтверждения и какие застряли; у каких товаров нет фото, описания, цены, габаритов; дубли артикулов и штрихкодов; шаблонные статьи блога и засеянная категория; пустые категории и подборки; отдельно — готовность карточек к поиску и ИИ-агентам (SEO, штрихкод, бренд). Use for «проверь магазин», «ревизия магазина», «что не так в магазине», «чек-ап магазина», «что кончается», «каких товаров нет в наличии», «товары без фото», «товары без цены», «дубли артикулов», «застрявшие заказы», «что осталось от шаблона», «пустые полки», «что требует моего внимания», «еженедельная проверка», «store checkup». Read-only: no write verbs, cannot change the store — reports findings and hands each fix to yandex-kit-cabinet, which runs it under its own confirmation gate. Not for making the changes themselves, and not for other Yandex services./kit-storefront-constructorManage a Яндекс.Кит storefront through compact Experimental API projections: read pages, sections, versions, and section-template schemas; inspect native-widget schemas from the storefront BFF and build valid settings skeletons; edit, hide, or remove sections, page layouts, and global settings in a local write workspace; create, retitle, hide, or remove storefront pages with server-mirroring local validation; publish the result through a confirmed full-replace write with local integrity gates — or store it as an unpublished proposal version (no-publish preview); read and replace storefront menus and set the store logo; create validated custom section templates; or explicitly upload local storefront images, videos, and brand fonts. Also sets up the store API token: locally through a one-shot page on 127.0.0.1 instead of pasting it into the chat, and in a hosted session through its environment settings or the token sent in the conversation.
/yandex-kit-cabinetManage a Яндекс.Кит (Yandex KIT) e-com store through the public API (api.kit.yandex.net) — catalog (категории, характеристики, товары, продукты), цены и остатки, заказы, промокоды/скидки/подарки, коллекции, бейджи, блог, SEO товаров, категорий и подборок, вебхуки. Counts and exports read the whole collection and state their coverage («сколько заказов за неделю», «выгрузи заказы в CSV»). Can also put a question to the store's built-in AI assistant (data-analyst and support agents); the server may have them switched off, and then the skill says so and counts from the store's own data instead of relaying a stub. Use for «Яндекс.Кит», «кабинет Кита», «магазин на Ките», «товары в Ките», «заказы Яндекс.Кит», «API Кита», «спроси ассистента Кита». Prefers the public API; never scrapes the UI. Storefront pages and sections are kit-storefront-constructor. Not for unrelated Yandex services.Other plugins' skills for the same job