From c040e215ad4fbd6fd16156e96986262618c16ec6 Mon Sep 17 00:00:00 2001 From: Shinku <17696928+Shinku-Chen@users.noreply.github.com> Date: Wed, 26 Aug 2026 16:30:02 +0800 Subject: [PATCH 1/3] docs(development): add AI Passport community publishing guide Add a reusable guide for AI agents on how to publish firmware (or a demo application) to the AI Passport community using the official publisher skill. The document is bilingual (English default plus a Simplified Chinese peer), registered in docs/INDEX.md, docs/INDEX.zh_CN.md, and the development README pair. It is a general workflow for any fork owner; no fork-specific details are included. --- docs/INDEX.md | 1 + docs/INDEX.zh_CN.md | 1 + docs/development/README.md | 1 + docs/development/README.zh_CN.md | 1 + docs/development/publish-to-community.md | 36 ++++++++++++++++ .../development/publish-to-community.zh_CN.md | 41 +++++++++++++++++++ 6 files changed, 81 insertions(+) create mode 100644 docs/development/publish-to-community.md create mode 100644 docs/development/publish-to-community.zh_CN.md diff --git a/docs/INDEX.md b/docs/INDEX.md index 7c5d501..b5ec3a0 100644 --- a/docs/INDEX.md +++ b/docs/INDEX.md @@ -21,6 +21,7 @@ Use this page to discover repository documentation. `authoritative` documents de | [development/CI-validation.md](development/CI-validation.md) | Pull-request and main-branch validation | authoritative | | [development/CI-build-and-release.md](development/CI-build-and-release.md) | Tagged firmware builds and releases | authoritative | | [development/CI-sync-main.md](development/CI-sync-main.md) | Fork upstream synchronization | authoritative | +| [development/publish-to-community.md](development/publish-to-community.md) | Publish firmware to the AI Passport community market | authoritative | | [fork-guide.md](fork-guide.md) | Fork branch and documentation workflow | authoritative | | [hardware-design/README.md](hardware-design/README.md) | Hardware-document index | reference | | [hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md](hardware-design/AI_HARDWARE_DEVELOPMENT_GUIDE.md) | Board facts, constraints, validation, and troubleshooting | authoritative | diff --git a/docs/INDEX.zh_CN.md b/docs/INDEX.zh_CN.md index 67d033f..d673059 100644 --- a/docs/INDEX.zh_CN.md +++ b/docs/INDEX.zh_CN.md @@ -22,6 +22,7 @@ | [development/CI-build-and-release.zh_CN.md](./development/CI-build-and-release.zh_CN.md) | CI 文档 | authoritative | 自动构建与发布说明(tag 触发自动编译固件并发布 Release) | | [development/CI-validation.zh_CN.md](./development/CI-validation.zh_CN.md) | CI 文档 | authoritative | PR/main 自动仓库检查、host tests 与固件验证 | | [development/CI-sync-main.zh_CN.md](./development/CI-sync-main.zh_CN.md) | CI 文档 | authoritative | 上游同步说明(定期同步上游 main 到 fork) | +| [development/publish-to-community.zh_CN.md](./development/publish-to-community.zh_CN.md) | 工程规范 | authoritative | 发布到 AI Passport 社区市场 | | [fork-guide.zh_CN.md](./fork-guide.zh_CN.md) | fork 工作流 | authoritative | 目录结构、main 保持干净、fork 约定、docs/assets 使用 | | [software-design/README.zh_CN.md](./software-design/README.zh_CN.md) | 软件设计索引 | 参考 | 软件设计文档子目录骨架 | | [hardware-design/README.zh_CN.md](./hardware-design/README.zh_CN.md) | 硬件设计索引 | 参考 | 硬件设计文档子目录骨架 | diff --git a/docs/development/README.md b/docs/development/README.md index 1d102c9..22f4a33 100644 --- a/docs/development/README.md +++ b/docs/development/README.md @@ -14,3 +14,4 @@ This directory contains AI Passport engineering rules and reusable workflows. Ru - [CI-validation.md](CI-validation.md): pull-request and main-branch checks. - [CI-build-and-release.md](CI-build-and-release.md): tagged firmware builds and releases. - [CI-sync-main.md](CI-sync-main.md): upstream synchronization for forks. +- [publish-to-community.md](publish-to-community.md): publishing firmware to the AI Passport community market. diff --git a/docs/development/README.zh_CN.md b/docs/development/README.zh_CN.md index 3ac3063..5dfbd76 100644 --- a/docs/development/README.zh_CN.md +++ b/docs/development/README.zh_CN.md @@ -23,3 +23,4 @@ - [CI-build-and-release.md](CI-build-and-release.md):自动构建与发布说明(tag 触发自动编译固件并发布 Release)。 - [CI-validation.md](CI-validation.md):Pull Request 与 main 的自动仓库检查、host tests 和固件验证。 - [CI-sync-main.md](CI-sync-main.md):上游同步说明(定期把上游 `FoloToy/ai-passport` 的 `main` 同步到本 fork 的 `main`)。 +- [publish-to-community.md](publish-to-community.md):发布到社区说明(把当前固件发布到 AI Passport 社区市场)。 diff --git a/docs/development/publish-to-community.md b/docs/development/publish-to-community.md new file mode 100644 index 0000000..5f45c1c --- /dev/null +++ b/docs/development/publish-to-community.md @@ -0,0 +1,36 @@ +
+ 简体中文 · English +
+ +# Publish to the AI Passport Community + +This document describes how to publish this project's firmware to the [AI Passport Community](https://ai-passport.folotoy.cn). This page is the human-facing entry point; it tells an AI assistant to install the publisher skill from the official bundle and run the workflow. + +## When to use this + +Use this when you want to release the current firmware (or a specific `demo/*` application) to the community market. It is not for ordinary firmware development or flashing. + +The workflow is driven by the official publisher skill. Running the prompt once makes the assistant install the skill from the official bundle; nothing is committed into the repository. + +## Reproduce the bundled prompt + +To run the publishing workflow, copy the prompt to your AI assistant. The paste-ready prompt is reproduced verbatim in the Simplified Chinese peer [`publish-to-community.zh_CN.md`](publish-to-community.zh_CN.md); it requests installing the assistant at `https://ai-passport.folotoy.cn/skills/folotoy-ai-passport-publisher.zip`, then inspecting the project, preparing bilingual title and description, choosing a cover, resolving the HTTPS Git source, authorizing through the official site, and confirming every field before uploading. + +The skill's `SKILL.md` defines the exact workflow: inspect the project, prepare bilingual title and description, resolve the HTTPS Git source, prepare and validate a cover, authorize through the official site, then preview every field and obtain approval before uploading. + +## What the assistant will need from you + +- **Firmware**: a single merged ESP `.bin` (flashed from `0x0`). Build it with `./tools/validate.sh --firmware` or `idf.py build` when needed. +- **Cover**: a representative JPEG / PNG / WebP image (<= 10 MiB). +- **Source**: the public HTTPS Git page for the firmware repository — GitHub, Gitee, GitLab, Codeberg, or another publicly reachable HTTPS Git repository page. A fork owner publishes from their fork's source page, resolved from `git remote -v`. + +## Safety and boundaries + +- Upload only to `https://ai-passport.folotoy.cn`. Publishing and updating are external mutations. +- Validation, drafting, and preview that is not confirmed by the author does **not** authorize upload. +- Authorization credentials are never requested, received, or stored by the assistant. The creator registers or signs in on the official site and approves the displayed code; the assistant never handles their password. +- Never retry a rejected upload automatically. Report the server response and resolve the cause with the creator first. + +## How the assistant installs the skill + +The assistant fetches the official bundle from the URL in the prompt and follows the workflow described in its `SKILL.md`. No skill needs to be kept or committed in this repository; the prompt reproduces the official install source each time. diff --git a/docs/development/publish-to-community.zh_CN.md b/docs/development/publish-to-community.zh_CN.md new file mode 100644 index 0000000..69e5aff --- /dev/null +++ b/docs/development/publish-to-community.zh_CN.md @@ -0,0 +1,41 @@ ++ 简体中文 · English +
+ +# 发布到 AI Passport 社区 + +本文说明如何把本项目的固件发布到 [AI Passport 社区](https://ai-passport.folotoy.cn)。本页是面向人的入口;它告诉 AI 助手从官方包安装发布 skill,并运行该工作流。 + +## 何时使用 + +当你希望把当前固件(或某个 `demo/*` 应用)发布到社区市场时使用。它不用于普通固件开发或烧录。 + +该工作流由官方发布 skill 驱动。运行一次提示词,让助手从官方包安装 skill;仓库无需提交任何东西。 + +## 使用内置提示词 + +要运行发布工作流,把这段提示词交给你的 AI 助手: + +```text +请安装 FoloToy AI Passport 发布助手:https://ai-passport.folotoy.cn/skills/folotoy-ai-passport-publisher.zip +然后分析当前项目并准备发布到 AI Passport 社区。请检查完整固件,从 README、文档和代码中整理中英文标题与简介,准备项目封面,并使用当前 GitHub、Gitee 或其他 HTTPS Git 仓库地址。如果尚未登录,请引导我在官网注册或登录并完成授权;正式上传前,先把全部内容展示给我确认。 +``` + +skill 的 `SKILL.md` 定义了精确流程:检查项目、准备中英文标题与简介、解析 HTTPS Git 源码、准备并校验封面、经官方站点授权,然后在真正上传前展示每个字段并取得批准。 + +## 你需要提供给助手的东西 + +- **固件**:单个合并的 ESP `.bin`(从 `0x0` 烧录)。必要时用 `./tools/validate.sh --firmware` 或 `idf.py build` 构建。 +- **封面**:一张代表产品的 JPEG / PNG / WebP 图(≤ 10 MiB)。 +- **源码**:固件仓库的公开 HTTPS Git 项目页——GitHub、Gitee、GitLab、Codeberg 或其它公开可达的 HTTPS Git 仓库页。fork 所有者从其 fork 的来源页发布,从 `git remote -v` 解析。 + +## 安全与边界 + +- 只上传到 `https://ai-passport.folotoy.cn`。发布与更新是外部变更。 +- 未经作者确认的验证、起草与预览**不授权上传**。 +- 助手绝不索取、接收或存储授权凭证。由创作者在官方站点注册或登录并批准显示的代码;助手不接触其密码。 +- 不自动重试被拒的上传。先把服务端响应展示给创作者,查清原因再处理。 + +## 助手如何安装该 skill + +助手从提示词里的 URL 拉取官方包,并按其中 `SKILL.md` 描述的工作流执行。本仓库无需保留或提交该 skill;提示词每次都会复现官方安装源。 From bad91be5ea7cab37af8e0782319f369c2876a1c7 Mon Sep 17 00:00:00 2001 From: Shinku <17696928+Shinku-Chen@users.noreply.github.com> Date: Wed, 26 Aug 2026 16:49:48 +0800 Subject: [PATCH 2/3] docs(brand): add brand visuals and AI-render asset guide Add AI Passport brand visual references under docs/assets/brand/ and a bilingual index documenting the product front/back shots and three EVA colorway shell renders. Note the brand-and-product pair so these images can be used as the visual baseline for AI image generation. --- docs/assets/brand/README.md | 58 ++++++++++++++++++ docs/assets/brand/README.zh_CN.md | 58 ++++++++++++++++++ docs/assets/brand/ai-passport-back.webp | Bin 0 -> 118180 bytes .../assets/brand/ai-passport-front-eva-00.png | Bin 0 -> 2061120 bytes .../assets/brand/ai-passport-front-eva-01.png | Bin 0 -> 2057713 bytes .../assets/brand/ai-passport-front-eva-02.png | Bin 0 -> 2023072 bytes docs/assets/brand/ai-passport-front.png | Bin 0 -> 467616 bytes docs/brand-and-product.md | 6 ++ docs/brand-and-product.zh_CN.md | 6 ++ 9 files changed, 128 insertions(+) create mode 100644 docs/assets/brand/README.md create mode 100644 docs/assets/brand/README.zh_CN.md create mode 100644 docs/assets/brand/ai-passport-back.webp create mode 100644 docs/assets/brand/ai-passport-front-eva-00.png create mode 100644 docs/assets/brand/ai-passport-front-eva-01.png create mode 100644 docs/assets/brand/ai-passport-front-eva-02.png create mode 100644 docs/assets/brand/ai-passport-front.png diff --git a/docs/assets/brand/README.md b/docs/assets/brand/README.md new file mode 100644 index 0000000..3e25240 --- /dev/null +++ b/docs/assets/brand/README.md @@ -0,0 +1,58 @@ ++ 简体中文 · English +
+ +# AI Passport Brand Visuals + +This directory holds official product and brand visual references for the AI Passport. Use these images as the visual baselines when generating marketing or showcase renders with AI image tools. + +## Overview + +The AI Passport is a wearable device (named **Folotoy** on the device and in the community). The references cover the physical product from the front and back, plus three brand-colored shell renders of the front. Each image keeps the product silhouette, screen layout, and port/button placement identical; the EVA variants only change the shell color. + +## Images + +### Product references + +| File | View | Notes | +| --- | --- | --- | +| [`ai-passport-front.png`](ai-passport-front.png) | Front | Transparent shell; 22:02 / MON / 85% status, Folotoy title, a character avatar, `Token 666 / 40000`, `GAME` and `IMAGE` buttons, and the tagline `The Open Wearable AI Passport`. | +| [`ai-passport-back.webp`](ai-passport-back.webp) | Back | Transparent shell over the PCB; `FOLOTOY` logo, `AI PASS WEARABLE DEVICE`, power/STA/BATT/USB/NFC LEDs, an `NFC` label, the `AI PASSport` title with `Wear it. Flash it. Make it anything.` and a QR code. | + +### Brand-color shell renders (front) + +| File | Color | Model badge | Notes | +| --- | --- | --- | --- | +| [`ai-passport-front-eva-01.png`](ai-passport-front-eva-01.png) | Purple | `01` | Unit-01 (EVA) colorway; `TEST TYPE` badge. | +| [`ai-passport-front-eva-00.png`](ai-passport-front-eva-00.png) | Orange | `00` | Unit-00 (EVA) colorway; `PROTOTYPE MODEL` badge. | +| [`ai-passport-front-eva-02.png`](ai-passport-front-eva-02.png) | Red | `02` | Unit-02 (EVA) colorway; `PRODUCTION MODEL` badge. | + +All three color renders are 1024 × 1536 PNG and share the same layout as the standard front (`ai-passport-front.png`): 22:02 / MON / 85%, `TOKEN 666 / 40000`, a `SYNC LEVEL` meter, and `ENTRY` / `SYNC` side labels. + +## Image dimensions + +| File | Format | Dimensions | Size | +| --- | --- | --- | --- | +| `ai-passport-front.png` | PNG | 605 × 931 | 460 KB | +| `ai-passport-back.webp` | WebP | — | 118 KB | +| `ai-passport-front-eva-01.png` | PNG | 1024 × 1536 | 2.0 MB | +| `ai-passport-front-eva-00.png` | PNG | 1024 × 1536 | 2.0 MB | +| `ai-passport-front-eva-02.png` | PNG | 1024 × 1536 | 2.0 MB | + +## How to generate new renders + +When generating a marketing or showcase render from these references, keep the following consistent: + +- **Silhouette**: rounded-corner wearable card with a top key-ring hole and side buttons. +- **Screen**: a single centered rectangular display showing the time/date, title, `Token` value, and two action buttons. +- **Logo and label text**: keep `Folotoy` / `FOLOTOY`, the model name, and any tagline as shown. +- **Colorways**: use the shell reference as the base and change only the accent/shell palette for a new variant (for example a white, green, or black edition). +- **Aspect**: renders at a 2:3 vertical ratio read best for the front view. + +Unless the reference image is licensed for reuse, use these files as an internal visual baseline rather than recycling them verbatim into published assets. + +## Usage + +- Because these are attached through the session, reference the relevant `cindy-media://` blob or the local file when generating images in an AI tool. +- Document any new render you create here by adding a row to the tables above and linking the generated file in this directory. +- Keep product facts (labels, model names, status text) accurate; do not invent hardware features that are not present in the references. diff --git a/docs/assets/brand/README.zh_CN.md b/docs/assets/brand/README.zh_CN.md new file mode 100644 index 0000000..14ad372 --- /dev/null +++ b/docs/assets/brand/README.zh_CN.md @@ -0,0 +1,58 @@ ++ English · 简体中文 +
+ +# AI Passport 品牌视觉素材 + +本目录存放 AI Passport 的官方产品与品牌视觉参考图。用 AI 图像工具生成市场宣传图或展示效果图时,请以这些图片作为视觉基线。 + +## 概览 + +AI Passport 是一款穿戴设备(设备上与社区中名为 **Folotoy**)。参考图覆盖产品正面与背面,以及三种品牌色的正面外壳渲染图。每张图保持产品轮廓、屏显布局、接口与按键位置完全一致;EVA 变体仅改变外壳配色。 + +## 图片清单 + +### 产品参考图 + +| 文件 | 视角 | 说明 | +| --- | --- | --- | +| [`ai-passport-front.png`](ai-passport-front.png) | 正面 | 透明外壳;顶部 `22:02 / MON / 85%` 状态、`Folotoy` 标题、一个角色头像、`Token值 666 / 40000`、`GAME` 与 `IMAGE` 两个按键,以及标语 `The Open Wearable AI Passport`。 | +| [`ai-passport-back.webp`](ai-passport-back.webp) | 背面 | 透明外壳内可见 PCB;`FOLOTOY` logo、`AI PASS WEARABLE DEVICE`、电源/STA/BATT/USB/NFC 指示灯、`NFC` 标签、`AI PASSport` 标题与 `Wear it. Flash it. Make it anything.` 及二维码。 | + +### 品牌色外壳渲染图(正面) + +| 文件 | 配色 | 型号徽标 | 说明 | +| --- | --- | --- | --- | +| [`ai-passport-front-eva-01.png`](ai-passport-front-eva-01.png) | 紫色 | `01` | 初号机(Unit-01)配色;`TEST TYPE` 徽标。 | +| [`ai-passport-front-eva-00.png`](ai-passport-front-eva-00.png) | 橙色 | `00` | 零号机(Unit-00)配色;`PROTOTYPE MODEL` 徽标。 | +| [`ai-passport-front-eva-02.png`](ai-passport-front-eva-02.png) | 红色 | `02` | 二号机(Unit-02)配色;`PRODUCTION MODEL` 徽标。 | + +三张配色渲染图均为 1024 × 1536 PNG,版式与标准正面图(`ai-passport-front.png`)一致:`22:02 / MON / 85%`、`TOKEN 666 / 40000`、`SYNC LEVEL` 进度条,以及两侧 `ENTRY` / `SYNC` 标签。 + +## 图片尺寸 + +| 文件 | 格式 | 尺寸 | 大小 | +| --- | --- | --- | --- | +| `ai-passport-front.png` | PNG | 605 × 931 | 460 KB | +| `ai-passport-back.webp` | WebP | — | 118 KB | +| `ai-passport-front-eva-01.png` | PNG | 1024 × 1536 | 2.0 MB | +| `ai-passport-front-eva-00.png` | PNG | 1024 × 1536 | 2.0 MB | +| `ai-passport-front-eva-02.png` | PNG | 1024 × 1536 | 2.0 MB | + +## 如何生成新的渲染图 + +当基于这些参考图生成市场宣传或展示图时,请保持一致: + +- **轮廓**:圆角卡片式穿戴设备,顶部有挂绳孔,两侧有侧键。 +- **屏幕**:居中的单个矩形显示屏,显示时间/日期、标题、`Token值` 与两个操作按键。 +- **Logo 与标签文字**:保留 `Folotoy` / `FOLOTOY`、型号名与标语。 +- **配色**:以外壳参考图为基础,仅改变外壳/强调色以生成新变体(如白色、绿色或黑色版)。 +- **比例**:正面视角按 2:3 竖版比例渲染效果最佳。 + +除非参考图本身允许复用,请把这些文件作为内部视觉基线,而不是原样搬运到公开发布的素材中。 + +## 使用方式 + +- 由于这些图通过会话挂载,用 AI 工具生成图片时请引用对应的 `cindy-media://` blob 或本地文件。 +- 如果你生成了新的渲染图,请在上方表格中新增一行,并把生成文件链接进本目录。 +- 保持产品事实(标签、型号名、状态文字)准确;不要虚构参考图中不存在的硬件特性。 diff --git a/docs/assets/brand/ai-passport-back.webp b/docs/assets/brand/ai-passport-back.webp new file mode 100644 index 0000000000000000000000000000000000000000..6db5690e6f6b0e0156c14279f4a115e50747877b GIT binary patch literal 118180 zcmY&fb8sh3w2f`s=Ek;d+sSTh+t}E)lZ|cLwr%tG^1Z6}$D69@n(m(4eeXHv_Eb+* zD@%!sXH5YEX^06csw;A8!T