k2f-menu — скилл для Claude Code: меню заведений в PDF
Скилл превращает заметки о заведении и список блюд в читаемое меню с категориями и единым форматом цен. Работает через формат K2F и экспорт в PDF.
npx skills add suzheng/k2f --skill k2f-menu -a claude-codeЧто делает k2f-menu
Скилл учит агента собирать content_and_design.md — чертёж меню, где структура разделов соединена с замыслом оформления. Агент проходит по шагам: фиксирует тип заведения, стиль обслуживания, язык и валюту, строит карту разделов с пометками Open, Featured или Omit, задаёт анатомию позиции (название, описание, цена, теги, модификаторы) и распределяет контент по уровням — от названия заведения до примечаний об аллергенах. Отдельный проход отсекает дубли, разные форматы цен и лишние разделы.
Дальше чертёж уходит в движок K2F: он сам раскладывает вёрстку, типографику и тему, а агент остаётся на смысле — разделы, блюда, цены. Экспорт обычно в PDF. Перед первым запуском нужен базовый скилл: npx skills add suzheng/k2f --skill k2f. Без него k2f-menu не соберёт пакет.
Скилл рассчитан на печатные и цифровые меню, а не на сайты и выгрузки из кассовых систем. Цены и названия внутри раздела должны читаться за ~10 секунд, поэтому длинные описания и рекламные блоки он выносит за пределы каталога.
Какие задачи решает
- собрать меню ресторана из чернового списка блюд
- разложить барную карту на колонки со стеклом и бутылкой
- привести цены к одному формату во всех разделах
- сделать сезонную вставку к основному меню
- подготовить карту рум-сервиса для отеля
Примеры запросов агенту
- Собери меню для кафе из этого списка блюд и заметок о заведении
- Сделай барную карту: коктейли и вино, цены в одном формате
- Собери PDF-меню для гастробара, тон спокойный, разделы по порядку выбора гостя
Как установить k2f-menu
1Через Skills CLI (Vercel)
npx skills add suzheng/k2f --skill k2f-menu -a claude-code2Вручную: положить файлы
~/.claude/skills/k2f-menu/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/k2f-menu/
1Через Skills CLI (Vercel)
npx skills add suzheng/k2f --skill k2f-menu -a codex2Вручную: положить файлы
.agents/skills/k2f-menu/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add suzheng/k2f --skill k2f-menu -a cursor2Вручную: положить файлы
.cursor/skills/k2f-menu/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install suzheng/k2f k2f-menu2Вручную: положить файлы
.github/skills/k2f-menu/SKILL.md1Через Skills CLI (Vercel)
npx skills add suzheng/k2f --skill k2f-menu -a gemini-cli2Командой платформы
gemini skills install https://github.com/suzheng/k2f --path skills/marketing/k2f-menuВручную: положить файлы
.devin/skills/k2f-menu/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add suzheng/k2f --skill k2f-menu -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора16
Похожие
Рядом в теме «Дизайн»
Всё по теме «Дизайн» →Вопросы о k2f-menu
Как установить k2f-menu в Claude?
Выполните npx skills add suzheng/k2f --skill k2f-menu -a claude-code. Скилл появится в ~/.claude/skills/k2f-menu/SKILL.md. Перед работой поставьте базовый скилл k2f.
Что делает k2f-menu?
Пишет чертёж меню content_and_design.md: разделы, анатомию позиций, единый формат цен и замысел оформления. Затем через движок K2F собирает пакет и экспортирует его, обычно в PDF.
Нужен ли отдельный скилл k2f?
Да. k2f-menu только готовит чертёж, а упаковку, проверку и экспорт делает базовый скилл k2f. Без него меню в файл не соберётся.
Исходный текст
SKILL.md · Apache-2.0
--- name: k2f-menu description: Turn venue notes, dish lists, and brand cues into a scannable food or beverage menu with clear categories, consistent item anatomy, and mood-matched visual intent—not a flyer, recipe book, or website sitemap. Use when the user asks for a restaurant menu, café menu, bar or wine list, catering sheet, room-service card, tasting menu, or seasonal insert for hospitality print or PDF. Create menus with AI-native design and the highest aesthetic standards, powered by the K2F format and engine. Purpose-built for AI agents, K2F lets them focus on semantic content and design intent while automatically handling layout, typography, and formatting complexity. --- # K2F Menu — AI-Native Aesthetic Design ## Purpose Teach agents to author `content_and_design.md` for **hospitality menus**: category and item structure, inclusion cuts, and aesthetic intent (tone, hierarchy, density)—not K2F packaging or export. ## Built on K2F This skill produces menus as `.K2F` packages. Follow the **k2f** skill for authoring: unpack or init a workspace, edit the semantic tree, pack/verify, and export. K2F keeps agents on *meaning* (sections, dishes, prices, dietary notes)—not pixel coordinates—while the engine compiles layout, typography, and theme into consistent output across PDF and other formats. Before you build, install the core skill: `npx skills add suzheng/k2f --skill k2f`. ## When to Use - Restaurants, cafés, bars, bakeries, food trucks, hotels, catering, or private dining. - Boards, folded inserts, food/drink splits, wine or cocktail lists, kids or brunch add-ons. - Print or digital PDF—not full websites or POS exports. ## Workflow ### Step 1. Generate the content_and_design.md One blueprint pairing **information architecture** with **design intent**. Long menus: one file per major section slug (e.g. `content_and_design_mains.md`). **Sub-steps** 1. **Menu lock** — Venue type, service style, daypart, language(s), currency, brand constraints. **Guest job**: pick a dish or drink quickly while seated or at a board. 2. **Section map** — Order categories as guests decide (starters → mains → desserts → drinks, or bar-first). Label each **Open**, **Featured** (2–6 heroes), or **Omit** (verbal, QR, other card). Split food/drinks or lunch/dinner when one scan path fails. 3. **Item anatomy** — Consistent fields: **Name**, **Description** (length scales with venue), **Price** (one grammar site-wide), **Tags** (only user-supplied or required), **Modifiers** (sizes, add-ons) nested under one parent—not duplicate dishes. 4. **Content tiers** — **Identity** (name, logo direction), **Navigation** (section titles), **Catalog** (items + prices), **Guidance** (one short chef or pairing note max), **Compliance** (allergens, service charge). Keep essays out of Catalog. 5. **Genre fit** — Fine dining: brevity, seasonal focus. Casual: moderate density, combos. Bar/wine: column-friendly; glass | bottle. Hotel/catering: packages, per-person lines, tray or service notes in Compliance. 6. **Cut pass** — Drop duplicates, unpriced market items without confirmation, mismatched price formats, and naming inconsistency within sections. 7. **Design intent** (no coordinates) — **Tone**: one adjective pair from cuisine/venue cues. **Hierarchy**: sections > item names > descriptions; prices in one scan band (column or dot leaders). **Density**: board vs booklet vs fine dining whitespace; note two-column intent for bar lists. **Brand**: contrast on photos/dark boards (panel intent); 2–3 colors; display vs detail roles. **Channel**: print header scale vs mobile PDF section breaks. **Rules & constraints** - Prices and names scannable within ~10 s per section. - One price grammar; each dish listed once. - No invented dishes, prices, or allergen claims; label placeholders. - Compliance stays short unless the user requires more. **Common failure modes** | Failure | Fix | |--------|-----| | Flyer creep | Promos → separate flyer; menu = Identity + Catalog. | | Adjective walls | One description line; move story to Guidance. | | Price chaos | Unify format; state alignment intent. | | Category soup | Merge small sections; Featured for orphans. | | Website paste | Strip nav/SEO; keep menu tiers only. | **Quality checklist** - [ ] Menu lock and guest job; section map with Open/Featured/Omit. - [ ] Item anatomy + unified prices; tiers assigned. - [ ] Genre density; design intent (tone, hierarchy, density, channel). - [ ] Facts traceable to user input; placeholders marked. ### Step 2. Use the content_and_design.md and k2f skill to generate a K2F file and export to an appropriate file format. Follow **k2f** skill to map the blueprint into the semantic tree, apply theme roles from design intent, verify, and export (typically PDF).
© suzheng · Apache-2.0 · suzheng/k2f