ramen-shop-job

Community@u252119f2fa58/ramen-shop-job
Community skill — not reviewed. It was shared by 秋雨微澜 and has not been checked by Neta. Read SKILL.md below before letting an agent use it.
Installation
npx -y @neta-art/neta-search-cli@latest skills add @u252119f2fa58/ramen-shop-job
Summary

Play a seven-day ramen shop job in your phone browser, with your own characters as the boss and the helper.

  • Cook from behind the counter: read orders on a tablet, add broth and seasoning, lift noodles at the right heat, then add toppings and serve.
  • Each noodle basket has a heat bar with firm, perfect and mushy zones, and customers leave if you take too long.
  • Every day ends with a grade from S to C, tips and a shop upgrade store; four regulars each have their own quirk.
  • Your boss guides you, your helper changes expression as you play, and both comment when the day closes.
  • Works best with two characters who have clear looks and voices; the shop, food and regulars are themed to your world.
SKILL.md
# Ramen Shop Job

The user ends up with a web Work: a seven-day part-time job in a ramen shop, played in portrait from behind the counter. Orders arrive on a tablet; the player builds each bowl in order (broth and seasoning, noodles lifted from a basket at the right heat, toppings last) and serves before patience runs out. Each day ends with a grade, two characters' comments and an upgrade shop. The user's own characters play the boss and the helper; everything else (the shop, food, regulars' names) is themed to their world.

Read this file fully before generating images or writing files. Resolve relative paths from this skill's directory.

## Language

Reply in the user's language, whatever language this file is in - every message, the final handover included. Translate what scripts print instead of pasting it. Every text the player sees comes from the content file you write in Step 4, in the user's language; `verify.mjs` fails a non-English build that still holds English lines. Names the user typed stay as written.

## When to use / when not

Use when the user wants a cooking-order game set in a ramen or noodle shop with their characters. Not for a long craft-and-affinity job, a visual novel, or a shop game without timed cooking - say this skill builds a seven-day ramen shift game and stop.

## Inputs

| Item | Required | Counts as given when |
|---|---|---|
| Boss character | yes | Named, with a card or portrait in the world or attached; a description of a non-human mascot also counts |
| Helper character | yes | Named, with a card or portrait; the helper gets four expressions |
| Shop name and look | no - default "<boss name>'s Ramen", a warm wooden shop | The user names the shop or attaches an interior or sign picture |
| Regulars | no - default four regulars themed to the world | The user names regular customers |
| Music | no - default none (the music buttons are hidden) | The user asks for music |

If the boss or the helper is missing, ask once, in one message, then stop. If both are given, do not ask and do not wait: say the defaults you took and how many images this makes (8 images and 5 cutouts; plus one music track when asked) in one line, then build through to delivery.

## Steps

`$RUN` = `_runs/ramen-shop-job/<timestamp>/` under the workspace root. Never move, rename or delete it afterwards.

1. **Read the characters and the world.** `node /mods/neta/neta atom get <path>` for each, plus `world/WORLD.md` for the style. Write `$RUN/brief.json`: names, appearance (every halo, ear, tail and accessory), how each speaks, the shop name, the style line, four regulars (a name and one quirk line each), customer groups that fit the world.
2. **Generate the art** with the prompts in `references/art.md`, one command per image through the fallback script:
   `node scripts/gen.mjs --kind image --state $RUN/gen-<piece>.json --prompt "<prompt>" --work-title "<title> - <piece>" --param aspect_ratio=<ratio> [--image <reference>]`
   Rerun the same command while it prints `generating` or `busy`; never submit by hand. If another model made a piece, say so in the handover.
3. **Cut and slice into `$RUN/art`.** Two sheets with `node scripts/slice-sheet.mjs` (names in `references/art.md`), five portraits with `cohub generate "remove background" -m birefnet-general --image <file> -o $RUN/art/<name>.webp`, background and signboard converted to WebP under their names. Look at both contact sheets and the portraits; one targeted regeneration per broken piece, never a loop.
4. **Write the content file** `$RUN/content.json` in the user's language. Start from the English defaults in `template/content.js` and `template/content-lines.js` and translate or rewrite every text: names, ingredients, recipes, upgrades, citizens and students, the four regulars (keep the ids `noodlefan`, `wildcard`, `sleepy`, `bigtipper`), all interface text, the 7 tutorial lines (keep each `spot`), day intros, helper reactions, regular lines, closing remarks and the ending. Keep every `{n}`, `{c}`, `{name}` placeholder. The boss and helper speak in their own voices from their cards.
5. **Build.**
   ```bash
   node /mods/neta/neta work init web works/games/<slug> --title "<title in the user's language>"
   node scripts/setup.mjs --dir works/games/<slug> --content $RUN/content.json --lang <tag> --assets $RUN/art [--bgm $RUN/bgm.m4a]
   ```
   `<slug>` is new lowercase kebab-case (`ls works/games/` first). Setup validates the content (unknown keys, lost placeholders, tutorial shape) and the 37 pictures before copying anything, and prints what is wrong.
6. **Check it.** `node scripts/verify.mjs works/games/<slug>`. It checks the pictures and content, then plays the page in headless Chrome at 390x844, 390x940 and 1280x800: no console errors, the judging rules give the original verdicts, day 1 opens with the tutorial, 8 condiments and 2 baskets, no broken pictures, no `undefined` or `NaN`, every text translated. It writes `verify-report.json` and screenshots in `.verify/`. Look at `.verify/shot-phone.png`. Fix every FAIL and rerun; do not deliver while one fails.
7. **Play one day** at 390x844: serve one perfect bowl, one with firm noodles, one wrong bowl, let one customer leave, buy an upgrade. Check the helper's face changes and the closing remarks read naturally.
8. **Publish.** See Deliver.

Read `references/rules.md` only when the user asks to change difficulty, the menu, prices or upgrades.

## Deliver

A **web Work**: `node /mods/neta/neta work publish web works/games/<slug> --title "<title in the user's language>"`

Then, as the last step - the run is not delivered until it is done:

9. **Hand over with a card.** One `interaction-components` card on its own line, target `{ "type": "work", "workId": "<id>" }`, the id from the publish output (fallback: `cohubWorkId` in `works/games/<slug>/meta.json`). Never a made-up id, a folder or a `world-file` link to `index.html`. Then two lines in the user's language: how to play (broth, noodles at the green heat, toppings, serve), how many images were generated, and that progress saves in the player's browser.

## Out of scope

- Do not change world settings or delete files that existed before the run.
- Do not modify memory, character cards, installed scripts, existing Works or roleplays.
- Do not edit files in `template/` inside the skill; per-Work text goes through the content file and art through `--assets`.
- Make only the game Work; no leaderboard, mini-tool package, shop or sharing feed.
- Build in this chat, on whatever model it runs; never hand the request to another chat.
- No server: the Work is a static page; never start a backend or publish a `--port` app.

## When to stop

- Boss or helper missing: ask once, then stop.
- A character has no picture and no description: ask for one; do not invent a face.
- The user wants a long craft job, a visual novel or a shop without cooking: say this skill builds a seven-day ramen shift game and stop.

## Gotchas

- **Thin parts vanish.** The original build lost the helper's halo twice, once in generation and once in the cutout. Name every halo, ear and tail in the prompt and check each portrait after the cutout.
- **Expressions come from the normal portrait.** Generating them from the character card gave three different outfits; pass the cut-out normal portrait as the reference.
- **The bowl layers must line up.** Sheet B asks for the same bowl in the same place; a sheet whose bowls differ in size makes the toppings float off the bowl.
- **The slicer drops leaked neighbours.** A ladle handle or steam from the next cell is removed automatically; a "reaches the edge" flag on a whole object (a long basket handle) is safe. Look at the contact sheet before deciding.
- **A partial content file mixes languages.** Translate every text; `verify.mjs` lists the ones left in English.
- **No music means no music buttons.** Setup hides them; never ship a music toggle that plays nothing.
- **Keep the judging rules.** `verify.mjs` replays nine bowls against the original verdicts; when the user asks for different rules, change `references/rules.md` and the expectations in `verify.mjs` together.