反模式
项目常见的坏做法
Home 当垃圾桶
Home 变成不可搜索的垃圾 Space:半项目半配置,没有值得恢复的 Save。
Skill 资源在仓根
npx skills add 只复制 skills/<name /。仓根脚本/模板到不了,agent 调缺失路径。
一次装一堆用不到的 skill
Noise in /skill: menus, larger blast radius, slower agents, accidental tool use.
只在静态预览测试 App 商业化
已发布 App 之外 context() 为 null,购买和权益 API 会失败,排查结果也会误导。
只有聊天的项目
没有持久真相。重启、新 Chat 和协作者都无法重建工作。
在 App 里自建 Cohub 登录
第二套身份系统会破坏 consent,重复安全边界,也无法正确复用 Cohub 的 Billing 与 viewer grant 模型。
在项目沙箱里改 /configs/user
/configs/user is a read-only mount of published owner config. Edits don’t stick as the account source of truth; the next publish/remount overwrites mental models.
循环无磁盘状态
只靠聊天「记住」的定时/钩子会丢进度、重复劳动、无法审计。
把原始 Sandbox URL 当上线入口
原始 Sandbox 端点会受休眠和重启影响、不适合目标观众,也没有 App 的版本发布语义。
把活数据烤进 dist
Stale snapshots, leaked secrets, impossible multi-viewer freshness.
把静态 App 当 API 后端
directory/静态 App 是类 CDN 文件界面,不托管你的 Node API、WebSocket 或长驻服务器。
误以为 Home 会给其他 Space 配默认
v2.66 之前,Save Home 只生成 Checkpoint:个人 skills 与规则留在 Home 的 /workspace,不会挂载为 /configs/user。本卡最初版本据此说 Home 不能当配置。
静态 App 使用 BrowserRouter
深链接和刷新可能 404,绝对 /assets 路径也会破坏 directory App 托管。
页面加载就授权
Consent fatigue, over-permission, blocked first paint, scary demos.
高自主前不存档
Broad cleanups and refactors become unrecoverable archaeology.