Platform Frontend

Framework-agnostic frontend architecture patterns. Extends core-coding-standards with UI-specific rules. Use when building any web frontend.

majiayu000 Updated 567 repo stars

File contents

Principles

  • Start with local state — lift only when shared
  • Organize code by feature, not by type
  • Use named exports for better refactoring and searchability
  • Never use barrel files (index.ts re-exports) — they break tree-shaking and slow builds
  • Measure before memoizing — don't optimize what isn't slow

Rules

See rules/ for detailed patterns.

majiayu000/claude-skill-registry-data/tree/main/platform/platform-frontend commit f39b4cdfd2

Frequently asked questions

npx skillmds@latest add majiayu000/platform-frontend