Files
ai-passport/plays
T
Shinku d356406881 docs(plays): add What to Eat Today application archive
Archive the 'What to Eat Today' food roulette under plays/shinku-chen/eat-what
with a bilingual functional summary and cover image, and add it to the play
archive index. The firmware is a button-driven spinner that boots straight into
the app, holds UP/DOWN to loop food animations, stops on release, shows live
battery, and auto-poweroffs after 2 minutes idle.
d356406881 · 2026-08-28 16:44:23 +08:00
History
..

简体中文 · English

Plays

This directory, in the upstream FoloToy/ai-passport repository, is the application archive of the plays built for the AI Passport. It is for querying what each application does and how it works, using an AI-generated functional summary per application. Use the INDEX.md to discover the archived plays and jump to a per-application summary. It is linked to the community publishing flow: after publishing a firmware (docs/development/publish-to-community.md), the assistant asks whether to archive the application here, proposing it back to upstream.

Before developing a new play

Before starting a new application, check plays/ for an existing or reference project to build on instead of from scratch:

  • List the archived applications under plays/ (across contributor folders) and read their functional summaries to see whether one already covers the idea.
  • Reuse applicable design ideas, interaction patterns, or state models from an existing play rather than re-inventing them.
  • When none exists, note that a new plays/<username>/<app-name>/ archive will be created later, when the application is published.

Each play subdirectory is an archive of a real, working application; its summary is the starting point for deciding whether to extend or reference it. Alongside the application archive, also check docs/development/experience-notes.md for previously recorded, reusable experience from other developer runs.

Directory convention

Archives are grouped by the contributor who published the application, then by the application itself, so the collection is organized by author rather than flattened. Each application gets its own subdirectory under its contributor's folder, both in lowercase-kebab-case. Add an application archive only when it is published or ready to be recorded; do not pre-create empty scaffolding.

plays/<username>/<app-name>/
  README.md / README.zh_CN.md   # AI-generated bilingual functional summary
  <app-name>-cover.<webp|png|jpg>  # cover image, committed (<= 10 MiB)
  <topic>-guide.md (+ .zh_CN.md)  # optional manual / how-to, not experience

<username> is the contributor's GitHub username (lowercase-kebab-case, e.g. shinku-chen), and <app-name> is the application name (lowercase-kebab-case). A single contributor can have several applications under their own folder; the folder splits by author to keep related submissions together instead of spreading them flat across plays/.

A play archive stores the application's introduction and manual only: the README functional summary, the cover, and optionally a how-to guide for that app. It does not store reusable development experience; post-release experience entries belong under docs/experiences/<username>/.

What the per-application README contains

The per-application README.md (and its Simplified Chinese peer) is an AI-generated functional summary written for later querying, not a publishing artifact. It records:

  • The publish title and description the developer submitted when publishing to the community (bilingual).
  • Application name and one-line positioning.
  • What the app does and its feature list.
  • Interaction and gameplay (buttons, screens, flow).
  • Source of the application, given as the source address the developer submitted when publishing (the HTTPS Git source page), so it can be located precisely.
  • The cover image file name and format.

Write it by summarizing the application's implementation and behavior, in English at the default .md path and Simplified Chinese at the paired .zh_CN.md, aligned in the same change.

Cover image

Place the cover at plays/<username>/<app-name>/<app-name>-cover.<webp|png|jpg>, committed to the repository (like docs/assets/brand). Keep it representative and under 10 MiB.

When generating an effect or mockup image of the play, use the official product references under docs/assets/brand/. Always pass a reference (e.g. ai-passport-front.png or a colorway shell render) as input to the generation call, keep its shell, buttons, ports, and key-ring hole as they are, and redraw only the reference's screen region into the play's actual on-screen content. Keep the screen's size, aspect ratio, corners, and position inside the shell identical to the reference so the play content appears inside the real AI Passport device rather than as a bare or free-floating image.

Firmware

Do not store the merged firmware binary here. The .bin is a build/publish artifact produced by the build flow, not an in-repository asset.