diff --git a/docs/INDEX.md b/docs/INDEX.md index 33db78b..4a90ea7 100644 --- a/docs/INDEX.md +++ b/docs/INDEX.md @@ -30,5 +30,6 @@ Use this page to discover repository documentation. `authoritative` documents de | [hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md](hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md) | Board facts, constraints, validation, and troubleshooting | authoritative | | [hardware-design/specifications.md](hardware-design/specifications.md) | User-facing product specifications | authoritative | | [software-design/README.md](software-design/README.md) | Software-design document index | reference | +| [../plays/INDEX.md](../plays/INDEX.md) | Index of archived applications in `plays/` | reference | GitHub community documents: [CONTRIBUTING.md](../.github/CONTRIBUTING.md), [CODE_OF_CONDUCT.md](../.github/CODE_OF_CONDUCT.md), [SECURITY.md](../.github/SECURITY.md), and [SUPPORT.md](../.github/SUPPORT.md). diff --git a/docs/INDEX.zh_CN.md b/docs/INDEX.zh_CN.md index 080a496..de2330c 100644 --- a/docs/INDEX.zh_CN.md +++ b/docs/INDEX.zh_CN.md @@ -31,6 +31,7 @@ | [hardware-design/README.zh_CN.md](./hardware-design/README.zh_CN.md) | 硬件设计索引 | 参考 | 硬件设计文档子目录骨架 | | [hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.zh_CN.md](./hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.zh_CN.md) | 硬件指南 | authoritative | 完整硬件开发指南与排障参考(上游) | | [hardware-design/specifications.zh_CN.md](./hardware-design/specifications.zh_CN.md) | 产品规格 | authoritative | 产品规格(尺寸、重量、电池、充电、NFC、按键等对外口径) | +| [../plays/INDEX.zh_CN.md](../plays/INDEX.zh_CN.md) | plays 应用档案索引 | 参考 | `plays/` 下已归档应用的发现表 | ## GitHub 社区治理文档 diff --git a/docs/development/after-release.md b/docs/development/after-release.md index f816634..be7bb71 100644 --- a/docs/development/after-release.md +++ b/docs/development/after-release.md @@ -17,10 +17,11 @@ firmware. After publishing, ask the developer whether to archive this application into the upstream `FoloToy/ai-passport` repository's `plays/` application archive. If -agreed, generate an AI-functional summary under `plays//` (bilingual -`README.md` / `.zh_CN.md`) and add the cover image as -`plays//-cover.`. Commit only the summary and -cover; do not store the firmware `.bin` here. See +agreed, generate an AI-functional summary under +`plays///` (bilingual `README.md` / `.zh_CN.md`) and add the +cover image as +`plays///-cover.`. Commit only the +summary and cover; do not store the firmware `.bin` here. See [`../../plays/README.md`](../../plays/README.md). Before generating the summary, check the root README of the `main` and current @@ -53,8 +54,9 @@ PR to the upstream `FoloToy/ai-passport` project. 3. Collect reusable experience from the fork's `docs/` differences, route it (general, upstream-benefiting experience goes upstream; fork-specific customization stays in the fork per `fork-guide.md`), and store it as a new - entry under `docs/experiences/` (named `_.md`, plus the - `.zh_CN.md` peer), linking it from the + entry under `docs/experiences//` (named + `_.md`, plus the `.zh_CN.md` peer, grouped by the + contributing developer's GitHub username), linking it from the [experience index](experience-notes.md), on a dedicated branch based on the latest upstream `main`, so the current checkout stays untouched. diff --git a/docs/development/after-release.zh_CN.md b/docs/development/after-release.zh_CN.md index e916af1..b370a4b 100644 --- a/docs/development/after-release.zh_CN.md +++ b/docs/development/after-release.zh_CN.md @@ -13,9 +13,9 @@ ## 轨道 1:把应用归档到 plays 发布后,询问开发者是否把该应用归档到上游 `FoloToy/ai-passport` 仓库的 `plays/` 应用档案。若同意, -在 `plays//` 下生成该应用的 AI 功能总结(双语 `README.md` / `.zh_CN.md`),并添加封面图 -`plays//-cover.`。只提交总结与封面;**不要**在这里存固件 -`.bin`。见 [`../../plays/README.md`](../../plays/README.md)。 +在 `plays///` 下生成该应用的 AI 功能总结(双语 `README.md` / `.zh_CN.md`), +并添加封面图 `plays///-cover.`。只提交总结与封面; +**不要**在这里存固件 `.bin`。见 [`../../plays/README.md`](../../plays/README.md)。 生成总结前,先检查 `main` 分支和当前分支**根目录**的 README(`plays-archive` skill):若有 README, 把它合并进总结;若没有,直接总结。归档完成后对每个分支**各自处理**:没有根 README 的分支创建它, @@ -39,9 +39,11 @@ 1. 确认开发者同意开始收尾(涉及项目私有内容)。 2. 确认已有可用的 GitHub 通道(GitHub MCP、GitHub skill 或 `gh`);否则把草案交给开发者手动粘贴。 3. 收集 fork 相对上游 `docs/` 差异里的可复用经验并分流(通用、上游也受益的经验回上游; - 纯 fork 定制按 `fork-guide.md` 留在 fork),保存为 `docs/experiences/` 下的一个新的条目文件(命名为 - `_.md`,并配 `.zh_CN.md`),从 [经验索引](experience-notes.md) - 链接它,放在以最新上游 `main` 为基线的独立分支上,确保当前 checkout 不被改动。 + 纯 fork 定制按 `fork-guide.md` 留在 fork),保存为 + `docs/experiences//` 下的一个新的条目文件(命名为 + `_.md`,并配 `.zh_CN.md`,按贡献开发者的 GitHub 用户名分组), + 从 [经验索引](experience-notes.md) 链接它,放在以最新上游 `main` 为基线的独立分支上, + 确保当前 checkout 不被改动。 4. 把变更交给开发者审查,然后在获得明确批准后再 commit、push 到 fork、并向上游 `FoloToy/ai-passport` 开 PR。 ## 共同的安全与同意门槛 diff --git a/docs/development/coding-conventions.md b/docs/development/coding-conventions.md index 621c016..85b53f3 100644 --- a/docs/development/coding-conventions.md +++ b/docs/development/coding-conventions.md @@ -11,3 +11,4 @@ - Add or update tests with code changes. If automation is not practical, record the test gap and exact manual validation path. - If adding a cache, define expiration and cleanup unless durable retention is explicitly justified. - The ESP32-C3 has no PSRAM. Review internal RAM and largest-contiguous-block impact before increasing LVGL buffers, audio allocations, network state, or task stacks. +- **Watch power consumption.** This is a wearable powered by a small battery; keep it efficient. Avoid keeping the screen lit for long periods: dim or turn off the backlight, and return to a low-power state (light/deep sleep) whenever the screen is idle, so the device is not left displaying a bright screen while doing nothing. See the guidance on sleep in [`../hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md`](../hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md). diff --git a/docs/development/coding-conventions.zh_CN.md b/docs/development/coding-conventions.zh_CN.md index 618ce8b..bcd59c8 100644 --- a/docs/development/coding-conventions.zh_CN.md +++ b/docs/development/coding-conventions.zh_CN.md @@ -14,3 +14,4 @@ - **测试同步**:写代码时同步新增测试用例,或修改受本次改动影响的既有测试;若暂无合适自动化测试落点,在项目规范里写清测试缺口和手工验证路径。 - **缓存组件**:若引入缓存组件(如 NVS 缓存、内存缓存等),默认设置过期时间;长期缓存需说明保留原因、过期风险与清理机制。当前固件不含需要 TTL 约束的缓存,无需特别处理。 - **资源约束**:ESP32-C3 无 PSRAM,不增加 LVGL buffer / 音频分配 / 任务栈前先核对内部 RAM;足够的总空闲堆不保证有足够大连续块。 +- **关注功耗**:本设备是小电池供电的可穿戴产品,编写固件时要留意功耗。避免让屏幕长时间点亮:屏幕空闲时调暗或关闭背光,并及时回到低功耗状态(light/deep sleep),不要让它无事可做地一直亮着。睡眠相关指引见 [`../hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md`](../hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md)。 diff --git a/docs/development/experience-notes.md b/docs/development/experience-notes.md index e49351f..91a6a5d 100644 --- a/docs/development/experience-notes.md +++ b/docs/development/experience-notes.md @@ -7,9 +7,10 @@ This page is the index for reusable development experience captured after each firmware release — focused on the fork's own `docs/` differences from upstream: the documents the developer created or changed on this fork. Individual entries -are stored as separate files under [`../experiences/`](../experiences/), one -file per entry, named `_.md`. The `experience-pr` skill -writes new entries there and links them from the index below. +are stored as separate files under [`../experiences/`](../experiences/), grouped +by the contributing developer's username, one file per entry, named +`_.md`. The `experience-pr` skill writes new entries there +and links them from the index below. Each entry is routed before submission: general, upstream-benefiting experience goes to the upstream `FoloToy/ai-passport` as a PR; fork-specific customization @@ -25,13 +26,16 @@ Each release appends a dated entry with the release (tag or commit) as context. Follow the repository language rule: keep the default `.md` path in English and the paired `.zh_CN.md` in Simplified Chinese, aligned in the same change. -Each capture produces one `.md` entry and its paired `.zh_CN.md`, stored directly -under `docs/experiences/` and named with the Unix timestamp of the capture plus -the relevant commit short SHA. +Each capture produces one `.md` entry and its paired `.zh_CN.md`, stored under +`docs/experiences//` and named with the Unix timestamp of the capture +plus the relevant commit short SHA. `` is the contributing developer's +GitHub username (lowercase-kebab-case), and groups that developer's entries +together instead of flattening them directly under `docs/experiences/`. ## Entries -See [`../experiences/`](../experiences/) for the stored entries. The index below -lists each entry once it is added. +See [`../experiences/`](../experiences/), and its +[`INDEX.md`](../experiences/INDEX.md) for the archived-entry table, for the +stored entries. The index below lists each entry once it is added. - None recorded yet. diff --git a/docs/development/experience-notes.zh_CN.md b/docs/development/experience-notes.zh_CN.md index ab540c1..31faa18 100644 --- a/docs/development/experience-notes.zh_CN.md +++ b/docs/development/experience-notes.zh_CN.md @@ -6,7 +6,7 @@ 本页是每次固件发布后可复用开发经验的索引——聚焦 fork 相对上游 `docs/` 的差异:开发者在 fork 上自行创建或变更的 `docs/` 文档。每次采集生成一个 `.md` 及其配对 `.zh_CN.md`,保存在 -[`../experiences/`](../experiences/) 目录下,命名为 +[`../experiences/`](../experiences/) 目录下,按贡献者的 GitHub 用户名分组,命名为 `_.md`。`experience-pr` skill 生成新条目,并从下面索引链接它。 每条经验在提交前分流:通用、上游也受益的经验作为 PR 提交到上游 `FoloToy/ai-passport`; @@ -20,10 +20,13 @@ fork 上自行创建或变更的 `docs/` 文档。每次采集生成一个 `.md` 每次发布追加一条带日期的记录,以发布版本(tag 或 commit)作为上下文。遵守仓库语言规则: 默认 `.md` 路径用英文、配套 `.zh_CN.md` 用简体中文,并在同一次变更中保持对齐。 -条目直接存放在 `docs/experiences/` 下,命名为本次采集的 Unix 时间戳加相关 commit 短 SHA。 +条目存放在 `docs/experiences//` 下,命名为本次采集的 Unix 时间戳加相关 commit 短 SHA。 +`` 是贡献开发者的 GitHub 用户名(小写连字符),把该开发者的条目聚在一起,而不是在 +`docs/experiences/` 下平铺。 ## 条目 -见 [`../experiences/`](../experiences/) 目录下已保存的条目。下面索引在条目新增后列出。 +见 [`../experiences/`](../experiences/) 目录下已保存的条目,以及它的 +[`INDEX.md`](../experiences/INDEX.md) 档案条目表。下面索引在条目新增后列出。 - 暂无记录。 diff --git a/docs/development/publish-to-community.md b/docs/development/publish-to-community.md index cb6fa76..1e3af25 100644 --- a/docs/development/publish-to-community.md +++ b/docs/development/publish-to-community.md @@ -50,10 +50,11 @@ The assistant fetches the official bundle from the URL in the prompt and follows Once the firmware is published, ask the developer whether to archive this application into the upstream repository's [`plays/`](../../plays/README.md) application archive. If they agree, generate an AI-functional summary for the application under -`plays//` (bilingual `README.md` / `.zh_CN.md`) and add the cover image -as `plays//-cover.`. Only commit the summary and -cover; do not store the firmware `.bin` here. Use the `plays-archive` skill, which -opens the archive PR against the upstream `FoloToy/ai-passport`. +`plays///` (bilingual `README.md` / `.zh_CN.md`) and add the +cover image as `plays///-cover.`. +Only commit the summary and cover; do not store the firmware `.bin` here. Use the +`plays-archive` skill, which opens the archive PR against the upstream +`FoloToy/ai-passport`. This keeps the release's application discoverable in-repository for later querying. diff --git a/docs/development/publish-to-community.zh_CN.md b/docs/development/publish-to-community.zh_CN.md index eb1ae44..0f79c76 100644 --- a/docs/development/publish-to-community.zh_CN.md +++ b/docs/development/publish-to-community.zh_CN.md @@ -52,8 +52,8 @@ skill 的 `SKILL.md` 定义了精确流程:检查项目、准备中英文标 ## 发布之后:归档到 plays 固件发布后,询问开发者是否把该应用归档到上游仓库的 [`plays/`](../../plays/README.md) -应用档案。若同意,在 `plays//` 下生成该应用的 AI 功能总结(双语 -`README.md` / `.zh_CN.md`),并添加封面图 `plays//-cover.`。 +应用档案。若同意,在 `plays///` 下生成该应用的 AI 功能总结(双语 +`README.md` / `.zh_CN.md`),并添加封面图 `plays///-cover.`。 只提交总结与封面;**不要**在这里存固件 `.bin`。用 `plays-archive` skill,它会向上游 `FoloToy/ai-passport` 开归档 PR。 diff --git a/docs/experiences/INDEX.md b/docs/experiences/INDEX.md new file mode 100644 index 0000000..5d12e31 --- /dev/null +++ b/docs/experiences/INDEX.md @@ -0,0 +1,21 @@ +

+ 简体中文 · English +

+ +# Development Experience Archive Index + +This page lists every recorded development experience entry under +[`docs/experiences/`](../development/experience-notes.md), grouped by the +contributing developer's GitHub username. Each entry is a reusable, +post-release learning, and its records are written and indexed by the +`experience-pr` skill. + +For how to add an entry and what belongs here, see the +[experience notes index](../development/experience-notes.md). + +## Index + +No experience entries recorded yet. Each entry is stored under +`docs/experiences//` and linked from the experience notes index. + +When an entry is added, list it here grouped by ``. diff --git a/docs/experiences/INDEX.zh_CN.md b/docs/experiences/INDEX.zh_CN.md new file mode 100644 index 0000000..4ea6340 --- /dev/null +++ b/docs/experiences/INDEX.zh_CN.md @@ -0,0 +1,16 @@ +

+ 简体中文 · English +

+ +# 开发经验档案索引 + +本页列出 [`docs/experiences/`](../development/experience-notes.md) 下所有已记录的开发经验条目, +按贡献开发者的 GitHub 用户名分组。每条是发布后可复用的经验,由 `experience-pr` skill 写入并索引。 + +如何新增条目、哪些内容归属这里,见[经验索引](../development/experience-notes.md)。 + +## 索引 + +暂无经验条目记录。每条经验保存在 `docs/experiences//` 下,并从经验索引链接。 + +新增条目后,按 `` 在这里列出来。 diff --git a/plays/INDEX.md b/plays/INDEX.md new file mode 100644 index 0000000..d57c56d --- /dev/null +++ b/plays/INDEX.md @@ -0,0 +1,29 @@ +

+ 简体中文 · English +

+ +# Play Archive Index + +This page lists every archived play under [`plays/`](README.md), grouped by the +contributor who published it. It is the discovery table for the application +archive: read a per-application summary to decide whether to extend or reference +an existing play, or to look up what a published application does. + +For the archive convention (naming, structure, and the cover image), see the +[plays README](README.md). + +## Index + +No play archived yet. Each archive is stored under +`plays///` and linked from this table once it is added. + +| Contributor | Application | Summary | Source | +| --- | --- | --- | --- | +| _none recorded yet_ | | | | + +## Adding a record + +When a play is archived, add a row here for the new +`plays///` entry and link the per-application README. Keep +this index in sync with the archive in the same change (see the `plays-archive` +skill). diff --git a/plays/INDEX.zh_CN.md b/plays/INDEX.zh_CN.md new file mode 100644 index 0000000..d60667e --- /dev/null +++ b/plays/INDEX.zh_CN.md @@ -0,0 +1,23 @@ +

+ 简体中文 · English +

+ +# Plays 应用档案索引 + +本页列出 [`plays/`](README.md) 下所有已归档的应用,按发布它们的贡献者分组。它是应用档案的 +发现表:读某个应用的功能说明,以决定是扩展它、参考它,还是查询某个已发布应用的功能。 + +目录约定(命名、结构、封面图)见 [plays README](README.md)。 + +## 索引 + +暂无已归档的应用。每个档案保存在 `plays///` 下,新增后从本表链接。 + +| 贡献者 | 应用 | 功能说明 | 源码 | +| --- | --- | --- | --- | +| _暂无记录_ | | | | + +## 新增记录 + +归档一个新应用时,为新的 `plays///` 条目添加一行,并链接该应用的 +README。保持本索引与档案在同一项变更中同步(见 `plays-archive` skill)。 diff --git a/plays/README.md b/plays/README.md index e03cc32..d680427 100644 --- a/plays/README.md +++ b/plays/README.md @@ -7,8 +7,10 @@ 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. It is linked to the community publishing -flow: after publishing a firmware +functional summary per application. Use the +[`INDEX.md`](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`](../docs/development/publish-to-community.md)), the assistant asks whether to archive the application here, proposing it back to upstream. @@ -18,12 +20,12 @@ upstream. 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. +- 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//` archive will be created - later, when the application is published. +- When none exists, note that a new `plays///` 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 @@ -33,16 +35,24 @@ 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. +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// +plays/// README.md / README.zh_CN.md # AI-generated bilingual functional summary -cover. # cover image, committed (<= 10 MiB) ``` +`` is the contributor's GitHub username (lowercase-kebab-case), and +`` 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/`. + ## What the per-application README contains The per-application `README.md` (and its Simplified Chinese peer) is an @@ -65,10 +75,17 @@ English at the default `.md` path and Simplified Chinese at the paired ## Cover image -Place the cover at `plays//-cover.`, committed +Place the cover at `plays///-cover.`, +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/`](../docs/assets/brand/README.md) to add +the machine shell around the on-screen content: keep the shell, buttons, ports, +and key-ring hole consistent with those references so the rendered screen appears +inside the real AI Passport device rather than as a bare screen. + ## Firmware Do **not** store the merged firmware binary here. The `.bin` is a build/publish @@ -76,5 +93,6 @@ artifact produced by the build flow, not an in-repository asset. ## Related +- Archive index: [`INDEX.md`](INDEX.md) - Repository overview and demo branches: [`../docs/README.md`](../docs/README.md) - Software design index: [`../docs/software-design/README.md`](../docs/software-design/README.md) diff --git a/plays/README.zh_CN.md b/plays/README.zh_CN.md index de89a50..83290a4 100644 --- a/plays/README.zh_CN.md +++ b/plays/README.zh_CN.md @@ -5,7 +5,8 @@ # Plays(应用档案) 本目录位于上游 `FoloToy/ai-passport` 仓库,是 AI Passport 应用(plays)的档案库。它用于 -**查询**每个应用做什么、怎么用,靠的是每个应用一份由 AI 生成的功能说明。它与社区发布流程关联: +**查询**每个应用做什么、怎么用,靠的是每个应用一份由 AI 生成的功能说明。用 +[`INDEX.md`](INDEX.md) 发现已归档的应用并跳到某个应用的功能说明。它与社区发布流程关联: 发布固件后([`docs/development/publish-to-community.md`](../docs/development/publish-to-community.md)), 助手会询问是否把这个应用归档到这里,并把它提案回上游。 @@ -13,9 +14,9 @@ 开发新应用前,先查 `plays/` 里有没有已存在或可参考的项目,站在现有基础上做,而不是从零开始: -- 列出 `plays/` 下已归档的应用,读它们的功能说明,看是否已覆盖你的想法。 +- 列出 `plays/` 下(跨贡献者文件夹)已归档的应用,读它们的功能说明,看是否已覆盖你的想法。 - 复用已有应用里合适的设计思路、交互模式或状态模型,而不是重新发明。 -- 若没有合适的,记到将来该应用发布时再新建 `plays//` 档案。 +- 若没有合适的,记到将来该应用发布时再新建 `plays///` 档案。 每个 plays 子目录都是一个真实、可运行应用的档案;它的功能说明是你决定"扩展它还是参考它" 的起点。除应用档案外,也查一下 @@ -24,15 +25,20 @@ ## 目录约定 -每个应用一个子目录,目录名 = 应用名(小写连字符)。仅在应用发布或准备记录时建档,不要预先 -创建空骨架。 +档案按贡献者(发布该应用的作者)分组,再按应用本身分组,这样整库按作者组织而不是平铺。 +每个应用在其贡献者文件夹下拥有独立子目录,两者都用小写连字符命名。仅在应用发布或准备记录时 +建档,不要预先创建空骨架。 ``` -plays// +plays/// README.md / README.zh_CN.md # AI 生成的双语功能说明 -cover. # 封面图,commit(≤10 MiB) ``` +`` 是贡献者的 GitHub 用户名(小写连字符),`` 是应用名(小写连字符)。 +一个贡献者可以在自己的文件夹下有多个应用;文件夹按作者拆分,把相关提交聚在一起,而不是在 +`plays/` 下平铺散开。 + ## 每个应用 README 包含什么 每个应用目录下的 `README.md`(及其简体中文配对)是**为后续查询**而生成的 AI 功能说明,不是 @@ -50,8 +56,12 @@ plays// ## 封面图 -封面放在 `plays//-cover.`,commit 进仓库(类似 -`docs/assets/brand`)。选有代表性、且小于 10 MiB 的图。 +封面放在 `plays///-cover.`,commit 进仓库 +(类似 `docs/assets/brand`)。选有代表性、且小于 10 MiB 的图。 + +当需要为应用生成效果图或样机图时,参考 [`docs/assets/brand/`](../docs/assets/brand/README.md) +下的官方产品图,为屏幕内容加上机器外壳:保持外壳、按键、接口与钥匙扣孔与这些参考一致, +让渲染出的屏幕画面像出现在真实 AI Passport 设备里,而不是一块裸屏幕。 ## 固件 @@ -59,5 +69,6 @@ plays// ## 相关 +- 档案索引:[`INDEX.md`](INDEX.md) - 仓库总览与 demo 分支:[`../docs/README.md`](../docs/README.md) - 软件设计索引:[`../docs/software-design/README.md`](../docs/software-design/README.md) diff --git a/skills/experience-pr/SKILL.md b/skills/experience-pr/SKILL.md index aa1b0be..c00efb2 100644 --- a/skills/experience-pr/SKILL.md +++ b/skills/experience-pr/SKILL.md @@ -109,10 +109,12 @@ customization to the upstream PR. ## Write the experience entry Each experience capture produces exactly one `.md` file and its paired -`.zh_CN.md` file under `docs/experiences/`, named -`_.md`. This repository requires English at the default -`.md` path and a paired `.zh_CN.md`, with reciprocal language links and no -Chinese prose in the English file. Link the new entry from the index at +`.zh_CN.md` file under `docs/experiences//`, named +`_.md`, where `` is the contributing developer's +GitHub username (lowercase-kebab-case) grouping that developer's entries +together. This repository requires English at the default `.md` path and a +paired `.zh_CN.md`, with reciprocal language links and no Chinese prose in the +English file. Link the new entry from the index at `docs/development/experience-notes.md`. Keep this change on a **dedicated branch or worktree**. Do not commit it on the diff --git a/skills/experience-pr/SKILL.zh_CN.md b/skills/experience-pr/SKILL.zh_CN.md index 5f7d36e..a14be87 100644 --- a/skills/experience-pr/SKILL.zh_CN.md +++ b/skills/experience-pr/SKILL.zh_CN.md @@ -82,10 +82,11 @@ comm -23 \ ## 写入经验条目 -每次经验采集只生成一个 `.md` 文件及其配对的 `.zh_CN.md` 文件,放在 `docs/experiences/` -下,命名为 `_.md`。本仓库要求默认 `.md` 路径用英文、配套 -`.zh_CN.md`,两者互指语言链接,且英文文件中不得混入中文。从 -`docs/development/experience-notes.md` 索引链接它。 +每次经验采集只生成一个 `.md` 文件及其配对的 `.zh_CN.md` 文件,放在 +`docs/experiences//` 下,命名为 `_.md`,其中 +`` 是贡献开发者的 GitHub 用户名(小写连字符),把该开发者的条目聚在一起。 +本仓库要求默认 `.md` 路径用英文、配套 `.zh_CN.md`,两者互指语言链接,且英文文件中不得混入中文。 +从 `docs/development/experience-notes.md` 索引链接它。 让这个变更落在**独立分支或 worktree** 上。**不要**提交到开发者当前分支。 diff --git a/skills/plays-archive/SKILL.md b/skills/plays-archive/SKILL.md index c85571a..b856e44 100644 --- a/skills/plays-archive/SKILL.md +++ b/skills/plays-archive/SKILL.md @@ -33,10 +33,11 @@ Do not create, write, or commit anything until every gate below is satisfied. ## Determine what to archive -Confirm the application name and the source it belongs to (for example a -`demo/*` branch or `main/`). Use the lowercase-kebab-case application name as the -subdirectory name. See [`../../plays/README.md`](../../plays/README.md) for the full -convention. +Confirm the application name, the source it belongs to (for example a `demo/*` +branch or `main/`), and the contributor's GitHub username. Use the +lowercase-kebab-case username and application name as the two-level path: +`plays///`. See +[`../../plays/README.md`](../../plays/README.md) for the full convention. ## Check the project README @@ -68,9 +69,9 @@ actually owns one. First collect the metadata the developer filled in when publishing to the community (bilingual title, bilingual description, and the source address they -submitted), then write `plays//README.md` and its paired `.zh_CN.md` as -an AI-generated functional summary for later querying (not a publishing -artifact). Record: +submitted), then write `plays///README.md` and its paired +`.zh_CN.md` as an AI-generated functional summary for later querying (not a +publishing artifact). Record: - **Publish title and description**: the bilingual title and description the developer submitted when publishing to the community. @@ -90,8 +91,12 @@ aligned in the same change. ## Add the cover image -Place the cover at `plays//-cover.`, committed -to the repository. Keep it representative and under 10 MiB. +Place the cover at +`plays///-cover.`, committed to the +repository. Keep it representative and under 10 MiB. When generating an effect or +mockup image for the play, use the official product references under +[`docs/assets/brand/`](../../docs/assets/brand/README.md) to add the machine shell +around the on-screen content. ## Commit diff --git a/skills/plays-archive/SKILL.zh_CN.md b/skills/plays-archive/SKILL.zh_CN.md index a17814c..634d58c 100644 --- a/skills/plays-archive/SKILL.zh_CN.md +++ b/skills/plays-archive/SKILL.zh_CN.md @@ -27,7 +27,8 @@ description: 固件发布之后,把已发布的应用归档到上游 FoloToy a ## 确定要归档的内容 -确认应用名及其所属源码(例如某个 `demo/*` 分支或 `main/`)。用小写连字符的应用名作为子目录名。 +确认应用名、其所属源码(例如某个 `demo/*` 分支或 `main/`),以及贡献者的 GitHub 用户名。 +用小写连字符的用户名和应用名作为两级路径:`plays///`。 完整约定见 [`../../plays/README.md`](../../plays/README.md)。 ## 检查项目 README @@ -51,7 +52,7 @@ description: 固件发布之后,把已发布的应用归档到上游 FoloToy a ## 生成功能说明 先收集开发者发布到社区时填写的元数据(双语标题、双语描述,以及他们提交的源码地址),然后写 -`plays//README.md` 及其配对 `.zh_CN.md`,作为为后续查询而生成的 AI 功能说明 +`plays///README.md` 及其配对 `.zh_CN.md`,作为为后续查询而生成的 AI 功能说明 (不是发布产物)。记录: - **发布标题与描述**:发布到社区时开发者提交的双语标题、双语描述。 @@ -67,8 +68,9 @@ description: 固件发布之后,把已发布的应用归档到上游 FoloToy a ## 添加封面图 -封面放在 `plays//-cover.`,commit 进仓库。选有代表性且小于 -10 MiB 的图。 +封面放在 `plays///-cover.`,commit 进仓库。 +选有代表性且小于 10 MiB 的图。当需要为应用生成效果图或样机图时,参考 +[`docs/assets/brand/`](../../docs/assets/brand/README.md) 下的官方产品图,为屏幕内容加上机器外壳。 ## 提交