Reference the development experience notes alongside the plays application archive in the start-development guidance, so a developer checks previously recorded, reusable experience (from other runs) before starting from scratch. Mention the experience index in the repository overview and the plays README.
简体中文 · English
Plays
This directory is the in-repository archive of the applications (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. 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.
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/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/<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
Each application gets its own subdirectory, named after the application 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/<app-name>/
README.md / README.zh_CN.md # AI-generated bilingual functional summary
<app-name>-cover.<webp|png|jpg> # cover image, committed (<= 10 MiB)
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:
- Application name and one-line positioning.
- What the app does and its feature list.
- Interaction and gameplay (buttons, screens, flow).
- The source branch or directory it lives in (for example a
demo/*branch ormain/). - 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/<app-name>/<app-name>-cover.<webp|png|jpg>, committed
to the repository (like docs/assets/brand). Keep it representative and under
10 MiB.
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.
Related
- Repository overview and demo branches:
../docs/README.md - Software design index:
../docs/software-design/README.md