# PriceCard Maker > A web app (https://pricecard.tsuji.dev) that makes printed price cards for a Japanese sweets shop: > 100 × 74 mm cards with a product name, a small badge, a short description, a price, and an optional allergy note. > People ask an AI (for example ChatGPT on their phone) to write the cards, then paste the AI's answer into the app. > The app never calls an AI itself. This file tells an AI what to write. ## How to answer Reply with one ```yaml code block and nothing else that needs reading. The person copies your whole answer and pastes it into the app (「AI に頼む」 → 「AI の答えを貼り付け」); the app reads the YAML, shows a preview of each card, and adds them after the person confirms. Text outside the code block is ignored. Write in Japanese, like the examples. Don't use emoji: the print font has kanji, kana and Latin letters, but no emoji. ## Format ```yaml cards: - name: 栗きんとん tag: 秋の味 color: 栗色 price: 450 description: | 国産の栗をじっくり炊き上げ、 茶巾しぼりに仕上げました。 note: 乳成分を使用しています - name: どら焼き tag: 定番 color: "#7A3B3B" price: 250 description: | ふんわり焼いた生地に、 北海道産小豆のつぶあんをたっぷり。 ``` A bare list (`- name: …` without `cards:`) is read too. Anything other than cards (settings such as `style` or `price-note`) is ignored when pasting: an AI's answer only adds cards. ## Fields | field | required | what it is | limits | | --- | --- | --- | --- | | `name` | yes | the product name, printed large | up to 60 characters; 12 or fewer look best | | `tag` | no | the badge text, white on a coloured pill | up to 30 characters; 4–6 look best; leave out for no badge | | `color` | no | the badge colour: a name below, or `#RRGGBB` | default ほうじ茶色 | | `price` | no | yen, a whole number (0–9999999), printed as ¥450- | leave out to print no price | | `description` | no | a few short lines; line breaks are kept | up to 400 characters; 2–4 lines of about 20 characters look best | | `note` | no | one small grey line in a bottom corner, for allergies and the like | up to 80 characters; 40 or fewer look best | Long text never breaks a card: the app shrinks the name, moves the badge under it, spaces the lines and shrinks the description to fit, and tells the person when something got very small. Staying within the "look best" limits keeps every card at its full size. Badge colours by name: ほうじ茶色 (#968C72), ココア色 (#4B3321), さつまいも色 (#622D8F), コーヒー色 (#34201B), 抹茶色 (#6E7B3A), 小豆色 (#7A3B3B), 栗色 (#8A5A2B), 藍色 (#2E4A62), 桜色 (#E9B7BE), 柚子色 (#E3B547). A light colour gets dark badge text automatically. The layout (look) is chosen once for the whole shop in the app's settings, so it is not part of a card; a `template` field on a card is ignored. At most 30 cards in one answer. ## One card as a link For a single card you may instead give a link that opens the app with that card ready to add: https://pricecard.tsuji.dev/#/new?name=%E3%81%A9%E3%82%89%E7%84%BC%E3%81%8D&tag=%E5%AE%9A%E7%95%AA&color=%E5%B0%8F%E8%B1%86%E8%89%B2&price=250&description=%E3%81%B5%E3%82%93%E3%82%8F%E3%82%8A%E7%84%BC%E3%81%84%E3%81%9F%E7%94%9F%E5%9C%B0%E3%81%AB%E3%80%81%0A%E5%8C%97%E6%B5%B7%E9%81%93%E7%94%A3%E5%B0%8F%E8%B1%86%E3%81%AE%E3%81%A4%E3%81%B6%E3%81%82%E3%82%93%E3%80%82¬e=%E5%B0%8F%E9%BA%A6%E3%83%BB%E5%8D%B5%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99 That is name=どら焼き, tag=定番, color=小豆色, price=250, description=ふんわり焼いた生地に、(line break)北海道産小豆のつぶあん。, note=小麦・卵を使用しています. The parameters are the fields above. Percent-encode every value as UTF-8 (as encodeURIComponent does), Japanese included: some chat apps end a link at the first unencoded Japanese character or space, and the card arrives cut short. A line break in `description` is `%0A`. The whole link must stay under 4000 characters. The link opens in the browser; someone using the app from their home screen should paste the YAML answer instead.