agentleFS
pengchujinpengchujin/aerial-tv/AGENTS.md

aerial-tv

AGENTS.md11k starsChanged 16 days agoMITView on GitHub

tvOS 风格的 Android TV 桌面,面向国内电视(小米、TCL 等),Kotlin + Jetpack Compose。 开始任何工作前先读: 1. docs/HANDOFF.md:现状、操作方式,以及*必须遵守*的规则 2. docs/ARCHITECTURE.md:代码结构 3. docs/LITE.md:Android 4.0–4.4 用的 Aerial Lite(lite/ 模块),改它之前先读 4. docs/devices/*.md:各台电视的限制和解决办法 5. local/TVS.md(如果存在):电视的 IP、每台电视上改过的设置、户主的数据。这些是本机信息,不要复制进版本库里的文件

  • Reads credentials

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about pengchujin/aerial-tv

The biggest 5 of 59 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 59

Talked about on GitHub and YouTube (59 times).

On GitHub · 41

36 more on GitHub

On YouTube · 18

13 more on YouTube
  • In this repositoryOne other file it gives its agents.

The file

Files
AGENTS.md

Aerial:给 AI 代理的说明

tvOS 风格的 Android TV 桌面,面向国内电视(小米、TCL 等),Kotlin + Jetpack Compose。

开始任何工作前先读:

  1. docs/HANDOFF.md:现状、操作方式,以及必须遵守的规则
  2. docs/ARCHITECTURE.md:代码结构
  3. docs/LITE.md:Android 4.0–4.4 用的 Aerial Lite(lite/ 模块),改它之前先读
  4. docs/devices/*.md:各台电视的限制和解决办法
  5. local/TVS.md(如果存在):电视的 IP、每台电视上改过的设置、户主的数据。这些是本机信息,不要复制进版本库里的文件

命令

export JAVA_HOME=/opt/homebrew/opt/openjdk@17
./gradlew assembleStandardRelease assembleGuardRelease
./gradlew :lite:assembleRelease   # Android 4.x 用的 Aerial Lite
source local/tvs.env && BUILD=1 KEEP_ADB=1 TV=$XIAOMI_TV tools/install.sh   # BUILD=1:用本地编译的 APK;不加就下载最新 Release
  • 连电视的命令(adb、curl 访问电视)需要关闭沙箱。
  • 在电视上测试一律用 release 版,并连同 APK 里的 .dm 一起装(adb install-multiple -r x.apk x.dm,命令见 docs/HANDOFF.md「日常操作」),装完看 dumpsys package dexopt 是 speed-profile。debug 版在电视上会卡;小米 MFTR0 上 install -r 后再 compile -m speed 得到的是没编译的 verify。
  • 发 TCL 版本前先给 versionCode 加 1。

代码约定

  • 注释和标识符用英文,界面文字放 res/values(英文)、res/values-zh(中文)、res/values-ru(俄语)、res/values-uk(乌克兰语)、res/values-kk(哈萨克语),五份都要加,占位符要一致。手机设置页 assets/web/index.html 的文字在 KEYS / TEXTS 表里,同样五种语言,脚本里不要写死文字。
  • 界面按 960×540dp 的画布设计(MainActivity 统一缩放),不要按真实 dpi 计算。
  • 动效:使用 ui/theme/Theme.kt 里的 Motion 曲线;会被打断的动画(比如焦点)用 spring;不在空闲时跑持续动画;每帧最多一次全屏绘制。
  • 遥控器可按的控件用 ui/components/Pressable,它只在「本控件上开始的按压」抬起时触发,这样长按打开菜单时,那次抬起不会误触菜单的第一项。
  • 厂商的特殊处理写成按功能检测(看包是否存在、设置是否存在),并在注释里写明是哪台机型上验证的。只有确实无法检测时,才写进 DeviceProfile 按机型硬编码。

不要做

  • Aerial、安装脚本和给代理的说明(site/agent.md、site/adapt.md)只安装 Aerial 自己,这是项目的根本。不要加入任何会下载、安装或推荐其他 App 的代码或说明(应用商店、ADB 开启器、各种工具),也不要加第三方 SDK、在应用里连 adbd 的 shell 通道,或者内容不归我们管的第三方服务器;审 PR 时这类改动一律拦下,交给户主决定。
  • 不要停用 com.mitv.tvhome,也不要卸载、停用任何系统应用,除非用户明确要求且清楚后果。
  • 写 enabled_accessibility_services 时不要覆盖其他服务;在 zsh 里写 ${VAR}:...,不要写 $VAR:...。
  • 不要删除或改动户主的数据(上传的照片、选好的壁纸、电视里别人的 APK);清理时只按自己创建时记下的 id 删。
  • 不要提交 local/ 目录(签名密钥、IP)。
  • 没有在真机上验证过的功能,不要说「已完成」。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.