Awesome Cohub
中文

Anti-patterns

Ways projects break

Assuming Home configures other Spaces

Before v2.66, a Home Save only created a Checkpoint: personal skills and rules stayed in Home's /workspace and never mounted as /configs/user. The original version of this card said Home co…

anti-pattern

Auth on page load

Consent fatigue, over-permission, blocked first paint, scary demos.

anti-pattern

Baking live data into dist

Stale snapshots, leaked secrets, impossible multi-viewer freshness.

anti-pattern

BrowserRouter on static Apps

Deep links and refreshes can 404, and absolute /assets paths break directory App hosting.

anti-pattern

Chat-only project

There is no durable truth. Restarts, new Chats, and collaborators cannot reconstruct the work.

anti-pattern

Editing /configs/user inside a project sandbox

/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.

anti-pattern

Home as dumping ground

Home becomes an unsearchable junk Space: half projects, half config, zero Saves worth restoring.

anti-pattern

Loop without disk state

Scheduled prompts and hooks that only “remember” in chat lose progress, duplicate work, and cannot be audited.

anti-pattern

Mega unused skill dump

Noise in /skill: menus, larger blast radius, slower agents, accidental tool use.

anti-pattern

No Save before agent autonomy

Broad cleanups and refactors become unrecoverable archaeology.

anti-pattern

Raw Sandbox URL as launch

Raw Sandbox endpoints are unstable across hibernation and restarts, have the wrong audience, and do not provide App version semantics.

anti-pattern

Rebuilding Cohub auth inside an App

A second identity system breaks consent, duplicates security boundaries, and cannot share Cohub's billing and viewer-grant model correctly.

anti-pattern

Skill assets at repo root

npx skills add copies skills/<name /. Scripts and templates at the repo root never arrive; agents call missing paths.

anti-pattern

Static App as API backend

Directory/static Apps are files on a CDN-like surface. They do not host your Node API, WebSockets, or long-lived servers.

anti-pattern

Testing App commerce on static preview

context() is null outside a published App; purchase and entitlement APIs fail, and the diagnosis becomes misleading.

anti-pattern