Cross-Store Conventions¶
What's standardized. Full reference: ~/dev/stores/PLATFORM-LAYOUT.md.
Enforced¶
- One repo per store named
platformat<store>-online/platformon GitHub - No cross-store npm dependencies. Shared code is vendored (copied), not imported
- Admin Worker per store. Each store owns its provisioning — no cross-store delegation
- Local layout:
~/dev/stores/<store>/<repo>/with platform/ as the monorepo - Vendor-copy for cross-store learning. Annotate source + date. Bug fixes via manual PR ports
- Visitor analytics: Cloudflare Web Analytics auto-provisioned at publish (cookieless, no PII)
- RBAC: Platform roles (user/creator/admin) + per-app roles (owner/member/moderator/editor/viewer)
- Repo creation gated: Only through admin UI or CLI.
members_can_create_repositories: falseon all orgs
Recommended (not enforced)¶
- Top-level docs: README.md, CLAUDE.md, DEPLOY.md, SECURITY.md, DEVELOPING.md
- Same fonts, sizing, spacing, controls, dark mode (only accent color varies)
- Biome for linting/formatting
- Vitest for testing
NOT standardized (per-store decisions)¶
- Internal monorepo structure (packages/ vs workers/ vs flat)
- Package naming (backend vs worker vs api)
- Storefront placement (separate repo vs inside monorepo)
- Template count and type
- Compliance check count and specifics