Start with AGENTS.md
仓库根目录的 AGENTS.md 会根据任务把 agent 路由到最小的相关 skill:
The root AGENTS.md routes an agent to the smallest relevant skill:
这些 skill 位于
skills/,随 MIT 许可一起开源,可以阅读、复制和改进。
These skills live in skills/ and are open source under the repository’s MIT license. You can inspect, copy, and improve them.
Choose Studio, GLB, native code, or framework work
- 使用 Content Studio 完成日常文案、图片、社交链接、卡片、已有物件位置和 GLB 配置。 / Use Content Studio for routine copy, images, social links, cards, existing placement, and GLB configuration.
- 使用 GLB 表达复杂拓扑、UV 纹理或来自 Blender 的资产。 / Use GLB for complex topology, UV textures, or Blender-authored assets.
- 使用原生 Three.js 表达简单、轻量且应立即加载的场景物件。 / Use native Three.js for simple, lightweight objects that should load immediately.
- 只有新能力跨越 schema、editor、runtime、semantic index、routes 和 tests 时,才进入框架开发。 / Enter framework development when a capability spans schema, editor, runtime, semantic index, routes, and tests.
Prompt with product intent / 用产品意图描述任务
告诉 agent 物件的用途,而不只是文件操作: Describe the product intent, not only the file operation:Cross-layer invariants / 跨层约束
任何 agent 改动都应保留: Every agent change should preserve:- 中英文内容的有意对齐。 / Intentional Chinese and English parity.
- 空间交互对应的语义索引与键盘路径。 / A semantic index and keyboard path for every spatial interaction.
- reduced motion、WebGL failure 和
noscript降级。 / Reduced-motion, WebGL-failure, andnoscriptfallbacks. - loopback-only 的保存与上传接口。 / Loopback-only save and upload endpoints.
- JSON、生成场景源码和最终上传资源的一致提交。 / One consistent change set for JSON, generated scene source, and final uploads.
- 第三方资产在
ASSET_CREDITS.md中的来源与许可记录。 / Third-party provenance and licence records inASSET_CREDITS.md.
Source-of-truth map / 事实源
Validate and publish / 验证与发布
main 分支上的 GitHub Actions 负责质量检查和 Cloudflare Worker 部署;普通开发流程不要绕过 CI 直接部署。
Then stage only the exact paths changed, commit, and push. GitHub Actions on main owns validation and Cloudflare Worker deployment. Do not bypass CI with a direct deployment in the normal workflow.